Home
last modified time | relevance | path

Searched defs:socket (Results 1 – 25 of 30) sorted by relevance

12

/base/security/device_security_level/test/dslm_unit_test/
Ddslm_test_link.c29 void UtRemoveSocketNode(int32_t socket, ShutdownReason reason, bool isServer) in UtRemoveSocketNode()
39 bool UtGetIdentityBySocketId(int32_t socket, bool isServer, DeviceIdentify *identity) in UtGetIdentityBySocketId()
44 void UtServerOnBind(int32_t socket, PeerSocketInfo info) in UtServerOnBind()
49 void UtClientOnBind(int socket, const DeviceIdentify *devId) in UtClientOnBind()
54 void UtServerOnShutdown(int32_t socket, ShutdownReason reason) in UtServerOnShutdown()
59 void UtClientOnShutdown(int32_t socket, ShutdownReason reason) in UtClientOnShutdown()
69 void UtCreateOrRestartSocketCloseTimerWithLock(int32_t socket) in UtCreateOrRestartSocketCloseTimerWithLock()
74 bool UtGetIdentityByServerSocket(int32_t socket, DeviceIdentify *identity) in UtGetIdentityByServerSocket()
79 bool UtGetIdentityByClientSocket(int32_t socket, DeviceIdentify *identity) in UtGetIdentityByClientSocket()
84 SocketNodeInfo *UtCreateSocketNodeInfo(int32_t socket, const DeviceIdentify *identity) in UtCreateSocketNodeInfo()
[all …]
Ddslm_msg_interface_mock.cpp147 int32_t SendBytes(int32_t socket, const void *data, uint32_t len) in SendBytes()
155 int32_t Bind(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listener) in Bind()
163 void Shutdown(int32_t socket) in Shutdown()
170 int32_t Listen(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listene… in Listen()
/base/notification/distributed_notification_service/services/distributed/test/unittest/mock/
Dmock_softbus_socket.cpp23 int32_t Listen(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listene… in Listen()
28 int32_t Bind(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listener) in Bind()
33 int32_t BindAsync(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *list… in BindAsync()
38 int32_t SendBytes(int32_t socket, const void *data, uint32_t len) in SendBytes()
43 int32_t SendBytesAsync(int32_t socket, uint32_t dataSeq, const void *data, uint32_t len) in SendBytesAsync()
48 int32_t SendMessage(int32_t socket, const void *data, uint32_t len) in SendMessage()
53 int32_t SendStream(int32_t socket, const StreamData *data, const StreamData *ext, in SendStream()
59 int32_t SendFile(int32_t socket, const char *sFileList[], const char *dFileList[], uint32_t fileCnt) in SendFile()
64 void Shutdown(int32_t socket) in Shutdown()
73 int32_t SetAccessInfo(int32_t socket, SocketAccessInfo accessInfo) in SetAccessInfo()
/base/telephony/call_manager/services/distributed_call/src/transmission/
Dsession_adapter.cpp43 int32_t socket = INVALID_SOCKET_ID; in SendMsg() local
56 void SessionAdapter::OnReceiveMsg(int32_t socket, const char* data, uint32_t dataLen) in OnReceiveMsg()
70 void SessionAdapter::OnBind(int32_t socket, PeerSocketInfo info) in OnBind()
79 void SessionAdapter::OnShutdown(int32_t socket, ShutdownReason reason) in OnShutdown()
88 void SessionAdapter::OnBytes(int32_t socket, const void *data, uint32_t dataLen) in OnBytes()
96 void SessionAdapter::OnError(int32_t socket, int32_t errCode) in OnError()
Dclient_session.cpp36 int32_t socket = CreateSocket(peerDevId, localName, peerName); in Connect() local
53 int32_t socket = INVALID_SOCKET_ID; in Disconnect() local
69 void ClientSession::OnSessionBind(int32_t socket) in OnSessionBind()
81 void ClientSession::OnSessionShutdown(int32_t socket) in OnSessionShutdown()
107 int32_t socket = Socket(socketInfo); in CreateSocket() local
Dserver_session.cpp47 int32_t socket = Socket(socketInfo); in Create() local
69 int32_t socket = INVALID_SOCKET_ID; in Destroy() local
85 void ServerSession::OnSessionBind(int32_t socket) in OnSessionBind()
100 void ServerSession::OnSessionShutdown(int32_t socket) in OnSessionShutdown()
Dtransmission_manager.cpp57 void TransmissionManager::OnBind(int32_t socket) in OnBind()
69 void TransmissionManager::OnShutdown(int32_t socket) in OnShutdown()
81 void TransmissionManager::OnReceiveMsg(int32_t socket, const char* data, uint32_t dataLen) in OnReceiveMsg()
/base/useriam/user_auth_framework/test/fuzztest/dummy/
Dmock_socket.cpp29 int32_t Listen(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listene… in Listen()
34 void Shutdown(int32_t socket) in Shutdown()
38 int32_t Bind(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listener) in Bind()
43 int32_t SendBytes(int32_t socket, const void *data, uint32_t len) in SendBytes()
/base/security/device_security_level/test/dslm_fuzz_test/mock/
Dmock.c29 int32_t Listen(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listene… in Listen()
34 void Shutdown(int32_t socket) in Shutdown()
38 int32_t Bind(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listener) in Bind()
43 int32_t SendBytes(int32_t socket, const void *data, uint32_t len) in SendBytes()
/base/useriam/user_auth_framework/test/unittest/services/mocks/
Dmock_socket.cpp29 int32_t Listen(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listene… in Listen()
34 void Shutdown(int32_t socket) in Shutdown()
38 int32_t Bind(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listener) in Bind()
43 int32_t SendBytes(int32_t socket, const void *data, uint32_t len) in SendBytes()
/base/security/device_security_level/baselib/msglib/src/standard/
Dmessenger_device_socket_manager.c61 int32_t socket; member
140 static void RemoveSocketNode(int32_t socket, ShutdownReason reason, bool isServer) in RemoveSocketNode()
159 static void ServerOnShutdown(int32_t socket, ShutdownReason reason) in ServerOnShutdown()
167 static void ClientOnShutdown(int32_t socket, ShutdownReason reason) in ClientOnShutdown()
185 uint32_t socket = (uint32_t)input; in TimerProcessWaitingTimeOut() local
193 static void CreateOrRestartSocketCloseTimer(int32_t socket) in CreateOrRestartSocketCloseTimer()
219 static void CreateOrRestartSocketCloseTimerWithLock(int32_t socket) in CreateOrRestartSocketCloseTimerWithLock()
228 static bool GetIdentityBySocketId(int32_t socket, bool isServer, DeviceIdentify *identity) in GetIdentityBySocketId()
255 static bool GetIdentityByServerSocket(int32_t socket, DeviceIdentify *identity) in GetIdentityByServerSocket()
260 static bool GetIdentityByClientSocket(int32_t socket, DeviceIdentify *identity) in GetIdentityByClientSocket()
[all …]
/base/security/access_token/services/tokensyncmanager/src/remote/
Dsoft_bus_socket_listener.cpp36 void SoftBusSocketListener::OnBind(int32_t socket, PeerSocketInfo info) in OnBind()
65 void SoftBusSocketListener::OnShutdown(int32_t socket, ShutdownReason reason) in OnShutdown()
82 bool SoftBusSocketListener::GetNetworkIdBySocket(const int32_t socket, std::string& networkId) in GetNetworkIdBySocket()
98 void SoftBusSocketListener::OnClientBytes(int32_t socket, const void* data, uint32_t dataLen) in OnClientBytes()
123 void SoftBusSocketListener::OnServiceBytes(int32_t socket, const void* data, uint32_t dataLen) in OnServiceBytes()
Dsoft_bus_channel.cpp69 int socket = SoftBusManager::GetInstance().BindService(deviceId_); in BuildConnection() local
225 void SoftBusChannel::HandleDataReceived(int socket, const unsigned char* bytes, int length) in HandleDataReceived()
363 int socket = SoftBusManager::GetInstance().BindService(deviceId_); in CheckSessionMayReopenLocked() local
388 void SoftBusChannel::HandleRequest(int socket, const std::string &id, const std::string &commandNam… in HandleRequest()
456 int SoftBusChannel::SendResponseBytes(int socket, const unsigned char* bytes, const int bytesLength) in SendResponseBytes()
/base/notification/distributed_notification_service/services/distributed/src/base/
Ddistributed_socket.cpp32 static void OnServerBind(int32_t socket, PeerSocketInfo info) in OnServerBind()
42 static void OnServerShutdown(int32_t socket, ShutdownReason reason) in OnServerShutdown()
52 static void OnServerBytes(int32_t socket, const void *data, uint32_t dataLen) in OnServerBytes()
62 static void OnServerMessage(int32_t socket, const void *data, uint32_t dataLen) in OnServerMessage()
72 static void OnClientBytes(int32_t socket, const void *data, uint32_t dataLen) in OnClientBytes()
81 static void OnClientShutdown(int32_t socket, ShutdownReason reason) in OnClientShutdown()
91 static void OnQos(int32_t socket, QoSEvent eventId, const QosTV *qos, uint32_t qosCount) in OnQos()
Ddistributed_server.cpp88 void DistributedServer::OnBind(int32_t socket, PeerSocketInfo info) in OnBind()
100 void DistributedServer::OnShutdown(int32_t socket, ShutdownReason reason) in OnShutdown()
112 void DistributedServer::OnBytes(int32_t socket, const void *data, uint32_t dataLen) in OnBytes()
118 void DistributedServer::OnMessage(int32_t socket, const void *data, uint32_t dataLen) in OnMessage()
Ddistributed_client.cpp42 void DistributedClient::OnShutdown(int32_t socket, ShutdownReason reason) in OnShutdown()
73 auto socket = socketsId_.find(messageKey); in ReleaseDevice() local
/base/msdp/device_status/intention/adapters/dsoftbus_adapter/src/
Ddsoftbus_adapter_impl.cpp186 int32_t socket = FindConnection(networkId); in SendPacket() local
212 int32_t socket = FindConnection(networkId); in SendParcel() local
243 int32_t socket = elem.second.socket_; in BroadcastPacket() local
264 static void OnBindLink(int32_t socket, PeerSocketInfo info) in OnBindLink()
269 static void OnShutdownLink(int32_t socket, ShutdownReason reason) in OnShutdownLink()
274 static void OnBytesAvailable(int32_t socket, const void *data, uint32_t dataLen) in OnBytesAvailable()
279 void DSoftbusAdapterImpl::OnBind(int32_t socket, PeerSocketInfo info) in OnBind()
310 void DSoftbusAdapterImpl::OnShutdown(int32_t socket, ShutdownReason reason) in OnShutdown()
336 void DSoftbusAdapterImpl::OnBytes(int32_t socket, const void *data, uint32_t dataLen) in OnBytes()
362 int32_t DSoftbusAdapterImpl::InitSocket(SocketInfo info, int32_t socketType, int32_t &socket) in InitSocket()
[all …]
/base/security/access_token/services/tokensyncmanager/include/remote/
Dsoft_bus_socket_listener.h35 static void OnQos(int32_t socket, QoSEvent eventId, const QosTV* qos, uint32_t qosCount) {}; in OnQos()
/base/tee/tee_client/services/teecd/src/
Dtee_ca_daemon.c60 static int SendFileDescriptor(int cmd, int socket, int fd) in SendFileDescriptor()
114 static int ProcessCaMsg(const struct ucred *cr, const CaRevMsg *caInfo, int socket) in ProcessCaMsg()
Dtee_ca_auth.c83 int RecvCaMsg(int socket, CaRevMsg *caInfo) in RecvCaMsg()
/base/msdp/device_status/intention/ipc/socket/src/
Dsocket_connection.cpp44 std::shared_ptr<SocketConnection> SocketConnection::Connect(std::function<int32_t()> socket, in Connect()
/base/security/security_guard/test/unittest/data_collect/sa/
Dkernel_interface_adapter.h36 virtual ssize_t Recv(int socket, void* const buf, size_t len, int flags) { return 0; }; in Recv()
/base/useriam/user_auth_framework/services/remote_connect/src/
Dsoft_bus_manager.cpp651 void SoftBusManager::AddSocket(const int32_t socketId, std::shared_ptr<BaseSocket> &socket) in AddSocket()
681 std::shared_ptr<BaseSocket> socket = nullptr; in FindSocketBySocketId() local
702 void SoftBusManager::SetServerSocket(std::shared_ptr<BaseSocket> &socket) in SetServerSocket()
717 …ftBusManager::AddConnection(const std::string &connectionName, std::shared_ptr<BaseSocket> &socket) in AddConnection()
/base/msdp/device_status/test/fuzztest/ipcsocket_fuzzer/
Dipcsocket_fuzzer.cpp75 auto socket = []() { in SocketConnectionFuzzTest() local
/base/startup/init/services/modules/init_context/
Dinit_context.h59 int socket[2]; member

12