Home
last modified time | relevance | path

Searched defs:socketId (Results 1 – 25 of 61) sorted by relevance

123

/ohos5.0/foundation/communication/ipc/services/dbinder/test/unittest/
H A Ddbinder_remote_listener_unittest.cpp79 int32_t socketId = 1; variable
97 int32_t socketId = -1; variable
134 int32_t socketId = 1; variable
148 int32_t socketId = 1; variable
162 int32_t socketId = -1; variable
176 int32_t socketId = -1; variable
191 int32_t socketId = 1; variable
206 int32_t socketId = 1; variable
234 int32_t socketId = 1; variable
250 int32_t socketId = 1; variable
[all …]
/ohos5.0/base/useriam/user_auth_framework/services/remote_connect/src/
H A Dsoft_bus_server_socket.cpp24 ServerSocket::ServerSocket(const int32_t socketId) in ServerSocket()
34 int32_t socketId = GetSocketIdByClientConnectionName(connectionName); in SendMessage() local
43 void ServerSocket::OnBind(int32_t socketId, PeerSocketInfo info) in OnBind()
55 void ServerSocket::OnShutdown(int32_t socketId, ShutdownReason reason) in OnShutdown()
66 void ServerSocket::OnBytes(int32_t socketId, const void *data, uint32_t dataLen) in OnBytes()
99 void ServerSocket::AddServerSocket(const int32_t socketId, const std::string &networkId) in AddServerSocket()
113 void ServerSocket::DeleteServerSocket(const int32_t socketId) in DeleteServerSocket()
125 std::string ServerSocket::GetNetworkIdBySocketId(int32_t socketId) in GetNetworkIdBySocketId()
150 void ServerSocket::DeleteClientConnection(const int32_t socketId) in DeleteClientConnection()
164 std::string ServerSocket::GetClientConnectionName(const int32_t socketId) in GetClientConnectionName()
[all …]
H A Dsoft_bus_socket_listener.cpp28 bool SoftBusSocketListener::OnNegotiate(int32_t socketId, PeerSocketInfo info) in OnNegotiate()
43 void SoftBusSocketListener::OnBind(int32_t socketId, PeerSocketInfo info) in OnBind()
59 void SoftBusSocketListener::OnShutdown(int32_t socketId, ShutdownReason reason) in OnShutdown()
70 void SoftBusSocketListener::OnClientBytes(int32_t socketId, const void *data, uint32_t dataLen) in OnClientBytes()
86 void SoftBusSocketListener::OnServerBytes(int32_t socketId, const void *data, uint32_t dataLen) in OnServerBytes()
H A Dsoft_bus_client_socket.cpp31 ClientSocket::ClientSocket(const int32_t socketId) in ClientSocket()
48 int32_t socketId = GetSocketId(); in SendMessage() local
58 void ClientSocket::OnQos(int32_t socketId, QoSEvent eventId, const QosTV *qos, uint32_t qosCount) in OnQos()
63 void ClientSocket::OnShutdown(int32_t socketId, ShutdownReason reason) in OnShutdown()
72 void ClientSocket::OnBytes(int32_t socketId, const void *data, uint32_t dataLen) in OnBytes()
97 void ClientSocket::OnBind(int32_t socketId, PeerSocketInfo info) in OnBind()
H A Dsocket_factory.cpp29 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 Dsoft_bus_manager.cpp238 ResultCode SoftBusManager::ServiceSocketListen(const int32_t socketId) in ServiceSocketListen()
304 int32_t socketId = Socket(info); in DoServiceSocketInit() local
346 for (int32_t socketId : socketIds) { in ServiceSocketUnInit() local
394 ResultCode SoftBusManager::ClientSocketBind(const int32_t socketId) in ClientSocketBind()
434 int32_t socketId = ClientSocketInit(connectionName, networkId); in DoOpenConnectionInner() local
500 int32_t socketId = clientSocket->GetSocketId(); in DoCloseConnection() local
559 void SoftBusManager::OnBind(int32_t socketId, PeerSocketInfo info) in OnBind()
576 void SoftBusManager::OnShutdown(int32_t socketId, ShutdownReason reason) in OnShutdown()
600 void SoftBusManager::OnClientBytes(int32_t socketId, const void *data, uint32_t dataLen) in OnClientBytes()
618 void SoftBusManager::OnServerBytes(int32_t socketId, const void *data, uint32_t dataLen) in OnServerBytes()
[all …]
/ohos5.0/base/startup/appspawn/test/unittest/app_spawn_standard_test/
H A Dnweb_spawn_service_test.cpp215 int socketId = -1; variable
243 static int RecvMsg(int socketId, uint8_t *buffer, uint32_t buffSize) in RecvMsg()
256 int socketId = -1; variable
287 int socketId = -1; variable
320 int socketId = -1; variable
373 int socketId = -1; variable
413 int socketId = -1; variable
453 int socketId = -1; variable
482 int socketId = -1; variable
H A Dapp_spawn_service_test.cpp263 int socketId = -1; variable
291 static int RecvMsg(int socketId, uint8_t *buffer, uint32_t buffSize) in RecvMsg()
304 int socketId = -1; variable
335 int socketId = -1; variable
368 int socketId = -1; variable
421 int socketId = -1; variable
463 int socketId = -1; variable
503 int socketId = -1; variable
532 int socketId = -1; variable
/ohos5.0/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/network/softbus/
H A Dsoftbus_handler_asset.cpp99 int32_t socketId = Socket(serverInfo); in CreateAssetLocalSessionServer() local
134 int32_t socketId = it->second; in DeleteAssetLocalSessionServer() local
142 int32_t SoftBusHandlerAsset::AssetBind(const std::string &dstNetworkId, int32_t &socketId) in AssetBind()
215 void SoftBusHandlerAsset::closeAssetBind(int32_t socketId) in closeAssetBind()
222 void SoftBusHandlerAsset::OnAssetRecvBind(int32_t socketId, const std::string &srcNetWorkId) in OnAssetRecvBind()
233 std::string SoftBusHandlerAsset::GetClientInfo(int32_t socketId) in GetClientInfo()
244 void SoftBusHandlerAsset::RemoveClientInfo(int32_t socketId) in RemoveClientInfo()
253 void SoftBusHandlerAsset::AddAssetObj(int32_t socketId, const sptr<AssetObj> &assetObj) in AddAssetObj()
264 sptr<AssetObj> SoftBusHandlerAsset::GetAssetObj(int32_t socketId) in GetAssetObj()
276 void SoftBusHandlerAsset::RemoveAssetObj(int32_t socketId) in RemoveAssetObj()
[all …]
H A Dsoftbus_asset_send_listener.cpp46 void SoftBusAssetSendListener::OnSendAssetFinished(int32_t socketId, const char **fileList, int32_t… in OnSendAssetFinished()
65 void SoftBusAssetSendListener::OnSendAssetError(int32_t socketId, in OnSendAssetError()
H A Dsoftbus_asset_recv_listener.cpp79 void SoftbusAssetRecvListener::OnRecvAssetStart(int32_t socketId, const char **fileList, int32_t fi… in OnRecvAssetStart()
104 void SoftbusAssetRecvListener::OnRecvAssetFinished(int32_t socketId, const char **fileList, int32_t… in OnRecvAssetFinished()
144 void SoftbusAssetRecvListener::OnRecvAssetError(int32_t socketId, int32_t errorCode) in OnRecvAssetError()
239 int32_t SoftbusAssetRecvListener::HandleSingleFile(int32_t socketId, in HandleSingleFile()
261 int32_t SoftbusAssetRecvListener::HandleZipFile(int32_t socketId, in HandleZipFile()
H A Dsoftbus_handler.cpp152 int32_t socketId = Socket(serverInfo); in CreateSessionServer() local
183 const std::string &peerDevId, int32_t &socketId) in OpenSession()
223 const std::string &peerDevId, int32_t &socketId) in CreatSocketId()
243 int32_t SoftBusHandler::CopySendFile(int32_t socketId, in CopySendFile()
357 void SoftBusHandler::RemoveNetworkId(int32_t socketId) in RemoveNetworkId()
408 for (auto socketId : socketIdList) { in CopyOnStop() local
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/session/
H A Dclient_trans_socket_service_test.cpp63 int32_t socketId = -1; variable
97 int32_t socketId = -1; variable
126 int32_t socketId = -1; variable
156 int32_t socketId = -1; variable
193 int32_t socketId = Socket(info); variable
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/transport/
H A Ddh_transport.cpp56 int32_t DHTransport::OnSocketOpened(int32_t socketId, const PeerSocketInfo &info) in OnSocketOpened()
65 void DHTransport::OnSocketClosed(int32_t socketId, ShutdownReason reason) in OnSocketClosed()
77 void DHTransport::OnBytesReceived(int32_t socketId, const void *data, uint32_t dataLen) in OnBytesReceived()
316 bool DHTransport::IsDeviceSessionOpened(const std::string &remoteNetworkId, int32_t &socketId) in IsDeviceSessionOpened()
331 std::string DHTransport::GetRemoteNetworkIdBySocketId(int32_t socketId) in GetRemoteNetworkIdBySocketId()
358 int32_t socketId = -1; in StartSocket() local
396 int32_t socketId = -1; in StopSocket() local
414 int32_t socketId = -1; in Send() local
/ohos5.0/foundation/communication/ipc/ipc/native/src/core/source/
H A Dcomm_auth_info.cpp20 const std::string &deviceId, int32_t socketId) in CommAuthInfo()
60 void CommAuthInfo::SetRemoteSocketId(int32_t socketId) in SetRemoteSocketId()
/ohos5.0/foundation/communication/ipc/ipc/native/src/mock/include/
H A Ddbinder_base_invoker_object.h113 MessageParcel &data, uint32_t socketId, std::shared_ptr<T> sessionObject) in IRemoteObjectTranslateWhenSend()
163 MessageParcel &data, uint32_t socketId, std::shared_ptr<T> sessionObject) in IRemoteObjectTranslateWhenRcv()
217 …s T> std::shared_ptr<T> DBinderBaseInvoker<T>::GetSessionObject(uint32_t handle, uint32_t socketId) in GetSessionObject()
264 …l DBinderBaseInvoker<T>::TranslateRawData(char *dataBuffer, MessageParcel &data, uint32_t socketId) in TranslateRawData()
444 template <class T> void DBinderBaseInvoker<T>::StartProcessLoop(int32_t socketId, const char *buffe… in StartProcessLoop()
476 …> std::shared_ptr<ThreadMessageInfo> DBinderBaseInvoker<T>::MakeThreadMessageInfo(int32_t socketId) in MakeThreadMessageInfo()
/ohos5.0/foundation/communication/ipc/services/dbinder/dbinder_service/src/socket/
H A Ddbinder_remote_listener.cpp154 int32_t socketId = DBinderSoftbusClient::GetInstance().Socket(socketInfo); in CreateClientSocket() local
207 int32_t socketId = DBinderSoftbusClient::GetInstance().Socket(serverSocketInfo); in StartListener() local
278 int32_t socketId = CreateClientSocket(networkId); in SendDataToRemote() local
304 int32_t socketId = GetPeerSocketId(networkId); in SendDataReply() local
/ohos5.0/base/useriam/user_auth_framework/test/fuzztest/services/softbus_fuzzer/
H A Dsoft_bus_fuzzer.cpp58 int32_t socketId = parcel.ReadInt32(); in FuzzSoftBusBaseSocketSecond() local
89 int32_t socketId = parcel.ReadInt32(); in FuzzSoftBusBaseSocketFisrst() local
123 int32_t socketId = parcel.ReadInt32(); in FuzzSoftBusServerSocketFisrst() local
155 int32_t socketId = parcel.ReadInt32(); in FuzzSoftBusManagerFisrst() local
/ohos5.0/base/useriam/user_auth_framework/services/remote_connect/inc/
H A Dsoft_bus_socket_listener.h37 static void OnQos(int32_t socketId, QoSEvent eventId, const QosTV *qos, uint32_t qosCount) {}; in OnQos()
/ohos5.0/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/ipc/
H A Ddaemon_execute.cpp86 int32_t socketId; in ExecutePushAsset() local
166 int32_t socketId; in RequestSendFileInner() local
218 …auto socketId = SoftBusHandler::GetInstance().CreateSessionServer(IDaemon::SERVICE_NAME, sessionNa… in PrepareSessionInner() local
301 void DaemonExecute::HandlePushAssetFail(int32_t socketId, const sptr<AssetObj> &assetObj) in HandlePushAssetFail()
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/fuzztest/dhtransport_fuzzer/
H A Ddhtransport_fuzzer.cpp40 int32_t socketId = *(reinterpret_cast<const int32_t*>(data)); in DhTransportOnBytesReceivedFuzzTest() local
79 int32_t socketId = *(reinterpret_cast<const int32_t*>(data)); in DhTransportIsDeviceSessionOpenedFuzzTest() local
171 int32_t socketId = *(reinterpret_cast<const int32_t*>(data)); in DhTransportOnSocketOpenedFuzzTest() local
190 int32_t socketId = *(reinterpret_cast<const int32_t*>(data)); in DhTransportOnSocketClosedFuzzTest() local
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/fuzztest/shutdown_fuzzer/
H A Dshutdown_fuzzer.cpp27 int32_t socketId = -1; in ShutdownTest() local
/ohos5.0/foundation/communication/ipc/services/dbinder/test/fuzztest/onbytesreceived_fuzzer/
H A Donbytesreceived_fuzzer.cpp31 int32_t socketId = *(reinterpret_cast<const int32_t*>(data)); in DoSomethingInterestingWithMyAPI() local
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/statistics/src/
H A Dclient_trans_statistics.c107 void UpdateChannelStatistics(int32_t socketId, int64_t len) in UpdateChannelStatistics()
196 int32_t socketId; in DeleteSocketResourceByChannelId() local
/ohos5.0/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/
H A Dtransport.cpp66 void Transport::InitRecvBuffer(int socketId) in InitRecvBuffer()
90 … auto socketId = TEMP_FAILURE_RETRY(socket(AF_UNIX, SOCK_DGRAM | SOCK_NONBLOCK | SOCK_CLOEXEC, 0)); in SendToHiSysEventDataSource() local

123