Home
last modified time | relevance | path

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

/base/security/device_security_level/test/dslm_fuzz_test/mock/
H A Dmock.cpp29 int32_t Listen(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listener) in Listen() argument
34 void Shutdown(int32_t socket) in Shutdown() argument
/base/security/access_token/services/tokensyncmanager/include/remote/
H A Dsoft_bus_socket_listener.h35 static void OnQos(int32_t socket, QoSEvent eventId, const QosTV *qos, uint32_t qosCount) {}; in OnQos() argument
/base/telephony/call_manager/services/distributed_call/src/transmission/
H A Dclient_session.cpp35 int32_t socket = CreateSocket(peerDevId, localName, peerName); in Connect() local
57 void ClientSession::OnSessionBind(int32_t socket) in OnSessionBind() argument
69 OnSessionShutdown(int32_t socket) OnSessionShutdown() argument
91 int32_t socket = Socket(socketInfo); CreateSocket() local
[all...]
H A Dserver_session.cpp47 int32_t socket = Socket(socketInfo); in Create() local
78 OnSessionBind(int32_t socket) OnSessionBind() argument
93 OnSessionShutdown(int32_t socket) OnSessionShutdown() argument
[all...]
H A Dtransmission_manager.cpp57 void TransmissionManager::OnBind(int32_t socket) in OnBind() argument
69 void TransmissionManager::OnShutdown(int32_t socket) in OnShutdown() argument
81 void TransmissionManager::OnReceiveMsg(int32_t socket, const char* data, uint32_t dataLen) in OnReceiveMsg() argument
H A Dsession_adapter.cpp43 int32_t socket = INVALID_SOCKET_ID; in SendMsg() local
58 void SessionAdapter::OnReceiveMsg(int32_t socket, const char* data, uint32_t dataLen) in OnReceiveMsg() argument
72 OnBind(int32_t socket, PeerSocketInfo info) OnBind() argument
81 OnShutdown(int32_t socket, ShutdownReason reason) OnShutdown() argument
90 OnBytes(int32_t socket, const void *data, uint32_t dataLen) OnBytes() argument
98 OnError(int32_t socket, int32_t errCode) OnError() argument
[all...]
/base/hiviewdfx/hilog/frameworks/libhilog/ioctl/include/
H A Dlog_ioctl.h43 SeqPacketSocketClient socket; member in OHOS::HiviewDFX::LogIoctl
/base/msdp/device_status/intention/ipc/socket/src/
H A Dsocket_connection.cpp44 std::shared_ptr<SocketConnection> SocketConnection::Connect(std::function<int32_t()> socket, in Connect() argument
H A Dsocket_client.cpp64 auto socket = SocketConnection::Connect( in Connect() local
/base/security/access_token/services/tokensyncmanager/src/remote/
H A Dsoft_bus_socket_listener.cpp37 void SoftBusSocketListener::OnBind(int32_t socket, PeerSocketInfo info) in OnBind() argument
56 void SoftBusSocketListener::OnShutdown(int32_t socket, ShutdownReason reason) in OnShutdown() argument
73 GetNetworkIdBySocket(const int32_t socket, std::string& networkId) GetNetworkIdBySocket() argument
89 OnClientBytes(int32_t socket, const void *data, uint32_t dataLen) OnClientBytes() argument
114 OnServiceBytes(int32_t socket, const void *data, uint32_t dataLen) OnServiceBytes() argument
[all...]
H A 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() argument
351 int socket = SoftBusManager::GetInstance().BindService(deviceId_); CheckSessionMayReopenLocked() local
376 HandleRequest(int socket, const std::string &id, const std::string &commandName, const std::string &jsonPayload) HandleRequest() argument
444 SendResponseBytes(int socket, const unsigned char *bytes, const int bytesLength) SendResponseBytes() argument
[all...]
H A Dsoft_bus_manager.cpp449 bool SoftBusManager::GetNetworkIdBySocket(const int32_t socket, std::string& networkId) in GetNetworkIdBySocket() argument
[all...]
/base/startup/init/services/modules/init_context/
H A Dinit_context.h59 int socket[2]; member
H A Dinit_context.c156 CreateSocketPair(int socket[2]) CreateSocketPair() argument
[all...]
/base/tee/tee_client/services/teecd/src/
H A Dtee_ca_auth.c83 int RecvCaMsg(int socket, CaRevMsg *caInfo) in RecvCaMsg() argument
H A Dtee_ca_daemon.c60 static int SendFileDescriptor(int cmd, int socket, int fd) in SendFileDescriptor() argument
114 static int ProcessCaMsg(const struct ucred *cr, const CaRevMsg *caInfo, int socket) in ProcessCaMsg() argument
[all...]
/base/msdp/device_status/test/fuzztest/ipcsocket_fuzzer/
H A Dipcsocket_fuzzer.cpp102 auto socket = []() { in SocketConnectionFuzzTest() local
/base/security/security_guard/test/unittest/data_collect/sa/
H A Dkernel_interface_adapter.h36 virtual ssize_t Recv(int socket, void* const buf, size_t len, int flags) { return 0; }; in Recv() argument
/base/msdp/device_status/test/unittest/intention/adapters/src/
H A Ddsoftbus_adapter_test.cpp327 int32_t socket = 1; in HWTEST_F() local
509 int32_t socket = 1; in HWTEST_F() local
/base/msdp/device_status/test/fuzztest/dsoftbusadapter_fuzzer/
H A Ddsoftbusadapter_fuzzer.cpp181 int32_t socket = GetData<int32_t>(); in InitSocketFuzzTest() local
/base/security/device_security_level/test/dslm_unit_test/
H A Ddslm_test_link.c29 void UtRemoveSocketNode(int32_t socket, ShutdownReason reason, bool isServer) in UtRemoveSocketNode() argument
39 bool UtGetIdentityBySocketId(int32_t socket, bool isServer, DeviceIdentify *identity) in UtGetIdentityBySocketId() argument
44 void UtServerOnBind(int32_t socket, PeerSocketInfo info) in UtServerOnBind() argument
49 void UtClientOnBind(int socket, const DeviceIdentify *devId) in UtClientOnBind() argument
54 void UtServerOnShutdown(int32_t socket, ShutdownReaso argument
59 UtClientOnShutdown(int32_t socket, ShutdownReason reason) UtClientOnShutdown() argument
69 UtCreateOrRestartSocketCloseTimerWithLock(int32_t socket) UtCreateOrRestartSocketCloseTimerWithLock() argument
74 UtGetIdentityByServerSocket(int32_t socket, DeviceIdentify *identity) UtGetIdentityByServerSocket() argument
79 UtGetIdentityByClientSocket(int32_t socket, DeviceIdentify *identity) UtGetIdentityByClientSocket() argument
84 UtCreateSocketNodeInfo(int32_t socket, const DeviceIdentify *identity) UtCreateSocketNodeInfo() argument
89 UtServerOnBytes(int32_t socket, const void *data, unsigned int dataLen) UtServerOnBytes() argument
94 UtClientOnBytes(int32_t socket, const void *data, unsigned int dataLen) UtClientOnBytes() argument
104 UtBindSync(int32_t socket, const DeviceIdentify *devId) UtBindSync() argument
114 UtGetSocketBySocketList(const DeviceIdentify *devId, bool isServer, int32_t *socket) UtGetSocketBySocketList() argument
[all...]
H A Ddslm_msg_interface_mock.cpp147 int32_t SendBytes(int32_t socket, const void *data, uint32_t len) in SendBytes() argument
155 int32_t Bind(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listener) in Bind() argument
163 void Shutdown(int32_t socket) in Shutdown() argument
170 int32_t Listen(int32_t socket, const QosTV qos[], uint32_t qosCount, const ISocketListener *listener) in Listen() argument
/base/msdp/device_status/intention/adapters/dsoftbus_adapter/src/
H A Ddsoftbus_adapter_impl.cpp194 int32_t socket = FindConnection(networkId); in SendPacket() local
220 int32_t socket = FindConnection(networkId); in SendParcel() local
251 int32_t socket = elem.second.socket_; in BroadcastPacket() local
272 static void OnBindLink(int32_t socket, PeerSocketInf argument
277 OnShutdownLink(int32_t socket, ShutdownReason reason) OnShutdownLink() argument
282 OnBytesAvailable(int32_t socket, const void *data, uint32_t dataLen) OnBytesAvailable() argument
287 OnBind(int32_t socket, PeerSocketInfo info) OnBind() argument
314 OnShutdown(int32_t socket, ShutdownReason reason) OnShutdown() argument
340 OnBytes(int32_t socket, const void *data, uint32_t dataLen) OnBytes() argument
366 InitSocket(SocketInfo info, int32_t socketType, int32_t &socket) InitSocket() argument
504 ConfigTcpAlive(int32_t socket) ConfigTcpAlive() argument
[all...]
/base/security/device_security_level/baselib/msglib/src/standard/
H A Dmessenger_device_socket_manager.c61 int32_t socket; member
140 static void RemoveSocketNode(int32_t socket, ShutdownReason reason, bool isServer) in RemoveSocketNode() argument
159 static void ServerOnShutdown(int32_t socket, ShutdownReason reason) in ServerOnShutdown() argument
167 static void ClientOnShutdown(int32_t socket, ShutdownReason reason) in ClientOnShutdown() argument
185 uint32_t socket = (uint32_t)input; TimerProcessWaitingTimeOut() local
193 CreateOrRestartSocketCloseTimer(int32_t socket) CreateOrRestartSocketCloseTimer() argument
219 CreateOrRestartSocketCloseTimerWithLock(int32_t socket) CreateOrRestartSocketCloseTimerWithLock() argument
228 GetIdentityBySocketId(int32_t socket, bool isServer, DeviceIdentify *identity) GetIdentityBySocketId() argument
255 GetIdentityByServerSocket(int32_t socket, DeviceIdentify *identity) GetIdentityByServerSocket() argument
260 GetIdentityByClientSocket(int32_t socket, DeviceIdentify *identity) GetIdentityByClientSocket() argument
265 CreateSocketNodeInfo(int32_t socket, const DeviceIdentify *identity) CreateSocketNodeInfo() argument
288 ProcessBindDevice(int socket, const DeviceIdentify *devId, bool isServer) ProcessBindDevice() argument
329 ServerOnBind(int32_t socket, PeerSocketInfo info) ServerOnBind() argument
339 ClientOnBind(int socket, const DeviceIdentify *devId) ClientOnBind() argument
344 ServerOnBytes(int32_t socket, const void *data, unsigned int dataLen) ServerOnBytes() argument
361 ClientOnBytes(int32_t socket, const void *data, unsigned int dataLen) ClientOnBytes() argument
414 int32_t socket = Socket(socketInfo); ProcessCreateServer() local
437 int32_t socket = 0; CreateServer() local
516 GetSocketBySocketList(const DeviceIdentify *devId, bool isServer, int32_t *socket) GetSocketBySocketList() argument
541 GetSocketByClientSocketList(const DeviceIdentify *devId, int32_t *socket) GetSocketByClientSocketList() argument
579 ClientOnFakeBind(int32_t socket, PeerSocketInfo info) ClientOnFakeBind() argument
584 BindSync(int32_t socket, const DeviceIdentify *devId) BindSync() argument
676 int32_t socket = Socket(socketInfo); PrepareBindSocket() local
698 int32_t socket = 0; BindSyncWithPthread() local
748 int32_t socket = 0; MessengerSendMsgTo() local
[all...]
/base/useriam/user_auth_framework/services/remote_connect/src/
H A Dsoft_bus_manager.cpp650 AddSocket(const int32_t socketId, std::shared_ptr<BaseSocket> &socket) AddSocket() argument
680 std::shared_ptr<BaseSocket> socket = nullptr; FindSocketBySocketId() local
701 SetServerSocket(std::shared_ptr<BaseSocket> &socket) SetServerSocket() argument
716 AddConnection(const std::string &connectionName, std::shared_ptr<BaseSocket> &socket) AddConnection() argument
[all...]

Completed in 11 milliseconds