Searched refs:BaseSocket (Results 1 – 11 of 11) sorted by relevance
/ohos5.0/base/useriam/user_auth_framework/services/remote_connect/src/ |
H A D | soft_bus_base_socket.cpp | 33 BaseSocket::BaseSocket(const int32_t socketId) in BaseSocket() function in OHOS::UserIam::UserAuth::BaseSocket 39 BaseSocket::~BaseSocket() in ~BaseSocket() 45 int32_t BaseSocket::GetSocketId() in GetSocketId() 66 void BaseSocket::RemoveMsgCallback(uint32_t messageSeq) in RemoveMsgCallback() 85 MsgCallback BaseSocket::GetMsgCallback(uint32_t messageSeq) in GetMsgCallback() 97 void BaseSocket::PrintTransferDuration(uint32_t messageSeq) in PrintTransferDuration() 112 uint32_t BaseSocket::GetReplyTimer(uint32_t messageSeq) in GetReplyTimer() 124 uint32_t BaseSocket::StartReplyTimer(uint32_t messageSeq) in StartReplyTimer() 147 void BaseSocket::StopReplyTimer(uint32_t messageSeq) in StopReplyTimer() 159 void BaseSocket::ReplyTimerTimeOut(uint32_t messageSeq) in ReplyTimerTimeOut() [all …]
|
H A D | soft_bus_manager.cpp | 494 std::shared_ptr<BaseSocket> clientSocket = FindClientSocket(connectionName); in DoCloseConnection() 543 std::shared_ptr<BaseSocket> clientSocket = FindClientSocket(connectionName); in SendMessage() 636 void SoftBusManager::AddSocket(const int32_t socketId, std::shared_ptr<BaseSocket> &socket) in AddSocket() 643 socketMap_.insert(std::pair<int32_t, std::shared_ptr<BaseSocket>>(socketId, socket)); in AddSocket() 660 std::shared_ptr<BaseSocket> SoftBusManager::FindSocketBySocketId(const int32_t socketId) in FindSocketBySocketId() 666 std::shared_ptr<BaseSocket> socket = nullptr; in FindSocketBySocketId() 687 void SoftBusManager::SetServerSocket(std::shared_ptr<BaseSocket> &socket) in SetServerSocket() 708 …clientSocketMap_.insert(std::pair<std::string, std::shared_ptr<BaseSocket>>(connectionName, socket… in AddConnection() 723 std::shared_ptr<BaseSocket> SoftBusManager::FindClientSocket(const std::string &connectionName) in FindClientSocket() 727 std::shared_ptr<BaseSocket> clientSocket = nullptr; in FindClientSocket() [all …]
|
H A D | socket_factory.cpp | 29 std::shared_ptr<BaseSocket> SocketFactory::CreateClientSocket(const int32_t socketId, const std::st… in CreateClientSocket() 43 std::shared_ptr<BaseSocket> SocketFactory::CreateServerSocket(const int32_t socketId) in CreateServerSocket()
|
H A D | soft_bus_client_socket.cpp | 32 : BaseSocket(socketId) in ClientSocket()
|
H A D | soft_bus_server_socket.cpp | 25 : BaseSocket(socketId) in ServerSocket()
|
/ohos5.0/base/useriam/user_auth_framework/services/remote_connect/inc/ |
H A D | soft_bus_manager.h | 50 std::shared_ptr<BaseSocket> FindClientSocket(const std::string &connectionName); 51 std::shared_ptr<BaseSocket> GetServerSocket(); 52 std::shared_ptr<BaseSocket> FindSocketBySocketId(const int32_t socketId); 80 void AddConnection(const std::string &connectionName, std::shared_ptr<BaseSocket> &socket); 82 void AddSocket(const int32_t socketId, std::shared_ptr<BaseSocket> &socket); 84 void SetServerSocket(std::shared_ptr<BaseSocket> &socket); 93 std::shared_ptr<BaseSocket> serverSocket_ {nullptr}; 96 std::map<int32_t, std::shared_ptr<BaseSocket>> socketMap_; 100 std::map<std::string, std::shared_ptr<BaseSocket>> clientSocketMap_;
|
H A D | soft_bus_base_socket.h | 43 class BaseSocket : public std::enable_shared_from_this<BaseSocket> { 45 BaseSocket(const int32_t socketId); 46 virtual ~BaseSocket();
|
H A D | socket_factory.h | 32 static std::shared_ptr<BaseSocket> CreateClientSocket(const int32_t socketId, 34 static std::shared_ptr<BaseSocket> CreateServerSocket(const int32_t socketId);
|
H A D | soft_bus_client_socket.h | 27 class ClientSocket : public BaseSocket {
|
H A D | soft_bus_server_socket.h | 25 class ServerSocket : public BaseSocket {
|
/ohos5.0/base/useriam/user_auth_framework/test/fuzztest/services/softbus_fuzzer/ |
H A D | soft_bus_fuzzer.cpp | 156 std::shared_ptr<BaseSocket> clientSocket1 = Common::MakeShared<ClientSocket>(socketId); in FuzzSoftBusManagerFisrst()
|