Home
last modified time | relevance | path

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

/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.cpp37 void SoftBusSocketListener::OnBind(int32_t socket, PeerSocketInfo info) in OnBind()
56 void SoftBusSocketListener::OnShutdown(int32_t socket, ShutdownReason reason) in OnShutdown()
73 bool SoftBusSocketListener::GetNetworkIdBySocket(const int32_t socket, std::string& networkId) in GetNetworkIdBySocket()
89 void SoftBusSocketListener::OnClientBytes(int32_t socket, const void *data, uint32_t dataLen) in OnClientBytes()
114 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
212 void SoftBusChannel::HandleDataReceived(int socket, const unsigned char *bytes, int length) in HandleDataReceived()
351 int socket = SoftBusManager::GetInstance().BindService(deviceId_); in CheckSessionMayReopenLocked() local
376 void SoftBusChannel::HandleRequest(int socket, const std::string &id, const std::string &commandNam… in HandleRequest()
444 int SoftBusChannel::SendResponseBytes(int socket, const unsigned char *bytes, const int bytesLength) in SendResponseBytes()
Dsoft_bus_manager.cpp444 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_adapter/src/
Ddsoftbus_adapter_impl.cpp183 int32_t socket = FindConnection(networkId); in SendPacket() local
209 int32_t socket = FindConnection(networkId); in SendParcel() local
240 int32_t socket = elem.second.socket_; in BroadcastPacket() local
261 static void OnBindLink(int32_t socket, PeerSocketInfo info) in OnBindLink()
266 static void OnShutdownLink(int32_t socket, ShutdownReason reason) in OnShutdownLink()
271 static void OnBytesAvailable(int32_t socket, const void *data, uint32_t dataLen) in OnBytesAvailable()
276 void DSoftbusAdapterImpl::OnBind(int32_t socket, PeerSocketInfo info) in OnBind()
303 void DSoftbusAdapterImpl::OnShutdown(int32_t socket, ShutdownReason reason) in OnShutdown()
329 void DSoftbusAdapterImpl::OnBytes(int32_t socket, const void *data, uint32_t dataLen) in OnBytes()
355 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()
Dsocket_client.cpp64 auto socket = SocketConnection::Connect( in Connect() local
/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.cpp636 void SoftBusManager::AddSocket(const int32_t socketId, std::shared_ptr<BaseSocket> &socket) in AddSocket()
666 std::shared_ptr<BaseSocket> socket = nullptr; in FindSocketBySocketId() local
687 void SoftBusManager::SetServerSocket(std::shared_ptr<BaseSocket> &socket) in SetServerSocket()
702 …ftBusManager::AddConnection(const std::string &connectionName, std::shared_ptr<BaseSocket> &socket) in AddConnection()
/base/startup/init/services/modules/init_context/
Dinit_context.h59 int socket[2]; member
/base/msdp/device_status/test/fuzztest/ipcsocket_fuzzer/
Dipcsocket_fuzzer.cpp79 auto socket = []() { in SocketConnectionFuzzTest() local
/base/msdp/device_status/test/unittest/intention/adapters/src/
Ddsoftbus_adapter_test.cpp327 int32_t socket = 1; variable
509 int32_t socket = 1; variable
/base/msdp/device_status/test/fuzztest/dsoftbusadapter_fuzzer/
Ddsoftbusadapter_fuzzer.cpp181 int32_t socket = GetData<int32_t>(); in InitSocketFuzzTest() local