Home
last modified time | relevance | path

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

/base/security/device_security_level/baselib/msglib/src/standard/
Dmessenger_device_socket_manager.c67 int32_t socket; member
160 static void RemoveSocketNode(int32_t socket, ShutdownReason reason, bool isServer) in RemoveSocketNode()
179 static void ServerOnShutdown(int32_t socket, ShutdownReason reason) in ServerOnShutdown()
187 static void ClientOnShutdown(int32_t socket, ShutdownReason reason) in ClientOnShutdown()
205 uint32_t socket = (uint32_t)input; in TimerProcessWaitingTimeOut() local
213 static void CreateOrRestartSocketCloseTimer(int32_t socket) in CreateOrRestartSocketCloseTimer()
239 static void CreateOrRestartSocketCloseTimerWithLock(int32_t socket) in CreateOrRestartSocketCloseTimerWithLock()
248 static bool GetIdentityBySocketId(int32_t socket, bool isServer, DeviceIdentify *identity) in GetIdentityBySocketId()
275 static bool GetIdentityByServerSocket(int32_t socket, DeviceIdentify *identity) in GetIdentityByServerSocket()
280 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()
55 void SoftBusSocketListener::OnShutdown(int32_t socket, ShutdownReason reason) in OnShutdown()
72 bool SoftBusSocketListener::GetNetworkIdBySocket(const int32_t socket, std::string& networkId) in GetNetworkIdBySocket()
88 void SoftBusSocketListener::OnClientBytes(int32_t socket, const void *data, uint32_t dataLen) in OnClientBytes()
113 void SoftBusSocketListener::OnServiceBytes(int32_t socket, const void *data, uint32_t dataLen) in OnServiceBytes()
Dsoft_bus_channel.cpp72 int socket = SoftBusManager::GetInstance().BindService(deviceId_); in BuildConnection() local
207 void SoftBusChannel::HandleDataReceived(int socket, const unsigned char *bytes, int length) in HandleDataReceived()
341 int socket = SoftBusManager::GetInstance().BindService(deviceId_); in CheckSessionMayReopenLocked() local
366 void SoftBusChannel::HandleRequest(int socket, const std::string &id, const std::string &commandNam… in HandleRequest()
434 int SoftBusChannel::SendResponseBytes(int socket, const unsigned char *bytes, const int bytesLength) in SendResponseBytes()
Dsoft_bus_manager.cpp395 bool SoftBusManager::GetNetworkIdBySocket(const int32_t socket, std::string& networkId) in GetNetworkIdBySocket()
/base/security/device_security_level/test/dslm_fuzz_test/mock/
Dmock.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()
/base/msdp/device_status/intention/adapters/dsoftbus_adpater/src/
Ddsoftbus_adapter_impl.cpp116 int32_t socket = FindConnection(networkId); in SendPacket() local
135 static void OnBindLink(int32_t socket, PeerSocketInfo info) in OnBindLink()
140 static void OnShutdownLink(int32_t socket, ShutdownReason reason) in OnShutdownLink()
145 static void OnBytesAvailable(int32_t socket, const void *data, uint32_t dataLen) in OnBytesAvailable()
150 void DSoftbusAdapterImpl::OnBind(int32_t socket, PeerSocketInfo info) in OnBind()
169 void DSoftbusAdapterImpl::OnShutdown(int32_t socket, ShutdownReason reason) in OnShutdown()
190 void DSoftbusAdapterImpl::OnBytes(int32_t socket, const void *data, uint32_t dataLen) in OnBytes()
210 int32_t DSoftbusAdapterImpl::InitSocket(SocketInfo info, int32_t socketType, int32_t &socket) in InitSocket()
327 int32_t socket { -1 }; in OpenSessionLocked() local
340 void DSoftbusAdapterImpl::ConfigTcpAlive(int32_t socket) in ConfigTcpAlive()
/base/msdp/device_status/services/interaction/coordination/src/
Dcoordination_softbus_adapter.cpp122 static void BindLink(int32_t socket, PeerSocketInfo info) in BindLink()
127 static void ShutdownLink(int32_t socket, ShutdownReason reason) in ShutdownLink()
132 static void BytesReceived(int32_t socket, const void *data, uint32_t dataLen) in BytesReceived()
137 int32_t CoordinationSoftbusAdapter::InitSocket(SocketInfo info, int32_t socketType, int32_t &socket) in InitSocket()
271 int32_t socket = -1; in OpenInputSoftbus() local
532 void CoordinationSoftbusAdapter::HandleSessionData(int32_t socket, const std::string &message) in HandleSessionData()
549 void CoordinationSoftbusAdapter::OnBytes(int32_t socket, const void *data, uint32_t dataLen) in OnBytes()
560 int32_t CoordinationSoftbusAdapter::SendMsg(int32_t socket, const std::string &message) in SendMsg()
570 std::string CoordinationSoftbusAdapter::FindDevice(int32_t socket) in FindDevice()
584 int32_t CoordinationSoftbusAdapter::OnBind(int32_t socket, PeerSocketInfo info) in OnBind()
[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()
Dsocket_client.cpp62 auto socket = SocketConnection::Connect( in Connect() local
/base/startup/init/services/modules/init_context/
Dinit_context.h59 int socket[2]; member