Home
last modified time | relevance | path

Searched refs:peerName (Results 1 - 25 of 31) sorted by relevance

12

/foundation/communication/ipc/ipc/native/src/core/source/
H A Ddatabus_socket_listener.cpp28 DBinderSocketInfo::DBinderSocketInfo(const std::string &ownName, const std::string &peerName, in DBinderSocketInfo() argument
29 const std::string &networkId) : ownName_(ownName), peerName_(peerName), networkId_(networkId) in DBinderSocketInfo()
64 ZLOGI(LABEL, "socketId:%{public}d, deviceId:%{public}s, peerName:%{public}s", in ServerOnBind()
68 std::string peerName = info.name; in ServerOnBind() local
69 std::string str = peerName.substr(DBINDER_SOCKET_NAME_PREFIX.length()); in ServerOnBind()
85 invoker->OnReceiveNewConnection(socket, std::stoi(peerPid), std::stoi(peerUid), peerName, networkId); in ServerOnBind()
177 ZLOGE(LOG_LABEL, "failed to create mutex, ownName:%{public}s, peerName:%{public}s, networkId:%{public}s", in QueryOrNewInfoMutex()
186 int32_t DatabusSocketListener::CreateClientSocket(const std::string &ownName, const std::string &peerName, in CreateClientSocket() argument
189 DBinderSocketInfo info(ownName, peerName, networkId); in CreateClientSocket()
207 .peerName in CreateClientSocket()
[all...]
H A Dmessage_parcel.cpp141 std::string peerName = sessionOfPeer->GetServiceName(); in WriteDBinderProxy() local
150 fakeStub = new (std::nothrow) DBinderCallbackStub(peerName, peerId, localId, sessionOfPeer->GetStubIndex(), in WriteDBinderProxy()
/foundation/communication/dsoftbus/tests/sdk/transmission/fuzztest/socket_fuzzer/
H A Dsocket_fuzzer.cpp24 static std::string DEFAULT_SOCKET_PEER_NAME = "com.communication.fuzz.peerName";
47 .peerName = const_cast<char *>(DEFAULT_SOCKET_PEER_NAME.c_str()), in SocketTestWithName()
74 .peerName = socketPeerName.get(), in SocketTestWithPeerName()
101 .peerName = const_cast<char *>(DEFAULT_SOCKET_PEER_NAME.c_str()), in SocketTestWithNetworkId()
128 .peerName = const_cast<char *>(DEFAULT_SOCKET_PEER_NAME.c_str()), in SocketTestWithPkgName()
150 .peerName = const_cast<char *>(DEFAULT_SOCKET_PEER_NAME.c_str()), in SocketTestWithDataType()
/foundation/communication/dsoftbus/tests/sdk/transmission/session/
H A Dclient_trans_socket_service_test.cpp58 info.peerName = const_cast<char *>(g_socketPeerName.c_str()); in HWTEST_F()
86 * @tc.desc: call Socket function with different socket peerName.
99 // the length of socket peerName is zero in HWTEST_F()
102 info.peerName = socketName; in HWTEST_F()
108 info.peerName = socketName; in HWTEST_F()
123 info.peerName = const_cast<char *>(g_socketPeerName.c_str()); in HWTEST_F()
152 info.peerName = const_cast<char *>(g_socketPeerName.c_str()); in HWTEST_F()
187 info.peerName = nullptr; in HWTEST_F()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/communicator/src/
H A Dsoftbus_client.cpp95 std::string peerName = pipe_.pipeId; in OpenConnect() local
96 socketInfo.peerName = const_cast<char *>(peerName.c_str()); in OpenConnect()
107 ZLOGE("Create the client Socket:%{public}d failed, peerName:%{public}s", clientSocket, socketInfo.peerName); in OpenConnect()
/foundation/communication/dsoftbus/sdk/transmission/session/src/
H A Dclient_trans_socket_service.c42 if (info->peerName != NULL && !IsValidString(info->peerName, SESSION_NAME_SIZE_MAX - 1)) { in CheckSocketInfoIsValid()
44 Anonymize(info->peerName, &anonySessionName); in CheckSocketInfoIsValid()
45 TRANS_LOGI(TRANS_SDK, "strcpy peerName failed, peerName=%{public}s, peerNameLen=%{public}zu", in CheckSocketInfoIsValid()
46 AnonymizeWrapper(anonySessionName), strlen(info->peerName)); in CheckSocketInfoIsValid()
69 Anonymize(info->peerName, &tmpPeerName); in PrintSocketInfo()
/foundation/communication/dsoftbus/tests/sdk/transmission/moduletest/socket/stream_encrypt_test/
H A Dtmessenger.cpp127 const std::string &pkgName, const std::string &myName, const std::string &peerName, bool isServer) in Open()
130 return isServer_ ? StartListen(pkgName, myName) : StartConnect(pkgName, myName, peerName); in Open()
192 int32_t TMessenger::StartConnect(const std::string &pkgName, const std::string &myName, const std::string &peerName) in StartConnect() argument
201 .peerName = const_cast<char *>(peerName.c_str()), in StartConnect()
235 peerName_ = peerName; in StartConnect()
126 Open( const std::string &pkgName, const std::string &myName, const std::string &peerName, bool isServer) Open() argument
H A Dtmessenger.h84 int32_t Open(const std::string &pkgName, const std::string &myName, const std::string &peerName, bool isServer);
100 int32_t StartConnect(const std::string &pkgName, const std::string &myName, const std::string &peerName);
H A Dstream_encrypt_client_mt.cpp115 .peerName = (char *)TEST_SESSION_NAME_SRV, in HWTEST_F()
169 .peerName = (char *)TEST_SESSION_NAME_SRV, in HWTEST_F()
/foundation/communication/ipc/ipc/native/src/core/include/
H A Ddatabus_socket_listener.h40 DBinderSocketInfo(const std::string &ownName, const std::string &peerName, const std::string &networkId);
73 int32_t CreateClientSocket(const std::string &ownName, const std::string &peerName,
/foundation/distributedhardware/distributed_camera/services/channel/test/unittest/common/channel/
H A Dtrans_type.h50 char *peerName; /**< Peer socket name */ member
/foundation/multimodalinput/input/intention/adapters/dsoftbus_adapter/src/
H A Ddsoftbus_adapter_impl.cpp438 char peerName[DEVICE_NAME_SIZE_MAX] { SERVER_SESSION_NAME }; in OpenSessionLocked()
446 FI_HILOGI("Peer name: \'%{public}s\'", peerName); in OpenSessionLocked()
451 .peerName = peerName, in OpenSessionLocked()
/foundation/multimodalinput/input/intention/adapters/test/unittest/src/
H A Ddsoftbus_adapter_test.cpp317 char peerName[DEVICE_NAME_SIZE_MAX] { SERVER_SESSION_NAME }; in HWTEST_F()
322 .peerName = peerName, in HWTEST_F()
/foundation/communication/dsoftbus/interfaces/kits/transport/
H A Dtrans_type.h52 char *peerName; /**< Peer socket name, maximum length 255 bytes */ member
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/network/softbus/
H A Dsoftbus_agent.cpp176 .peerName = const_cast<char*>(sessionName_.c_str()), in OpenSession()
227 .peerName = const_cast<char*>(sessionName_.c_str()), in OpenApSession()
H A Dsoftbus_handler.cpp203 .peerName = const_cast<char*>(peerSessionName.c_str()), in CreatSocketId()
/foundation/communication/ipc/ipc/native/src/mock/include/
H A Ddbinder_databus_invoker.h66 std::string peerName, std::string networkId);
/foundation/distributedhardware/distributed_camera/services/channel/src/
H A Ddcamera_softbus_adapter.cpp154 .peerName = const_cast<char*>(peerSessionName.c_str()), in CreatSoftBusSinkSocketServer()
207 .peerName = const_cast<char*>(peerSessionName.c_str()), in CreateSoftBusSourceSocketClient()
217 .peerName = const_cast<char*>(peerSessionName.c_str()), in CreateSoftBusSourceSocketClient()
/foundation/communication/ipc/ipc/native/src/mock/source/
H A Ddbinder_databus_invoker.cpp214 std::string peerName, std::string networkId) in OnReceiveNewConnection()
224 ZLOGE(LOG_LABEL, "remote device is not auth, socket:%{public}d, peerName:%{public}s", in OnReceiveNewConnection()
225 socketId, peerName.c_str()); in OnReceiveNewConnection()
235 peerName, networkId, 0, nullptr, peerTokenId); in OnReceiveNewConnection()
579 ZLOGI(LOG_LABEL, "create socket succ, ownName:%{public}s peerName:%{public}s deviceId:%{public}s " in UpdateClientSession()
213 OnReceiveNewConnection(int32_t socketId, int peerPid, int peerUid, std::string peerName, std::string networkId) OnReceiveNewConnection() argument
/foundation/ability/dmsfwk/services/dtbschedmgr/src/softbus_adapter/transport/
H A Ddsched_transport_softbus_adapter.cpp211 .peerName = const_cast<char*>(SOCKET_DMS_SESSION_NAME.c_str()), in CreateClientSocket()
/foundation/communication/ipc/services/dbinder/dbinder_service/src/socket/
H A Ddbinder_remote_listener.cpp52 DBINDER_LOGI(LOG_LABEL, "socketId:%{public}d, peerNetworkId:%{public}s, peerName:%{public}s", in ServerOnBind()
149 .peerName = const_cast<char*>(PEER_SESSION_NAME.c_str()), in CreateClientSocket()
/foundation/distributedhardware/distributed_screen/services/softbusadapter/src/
H A Dsoftbus_adapter.cpp194 .peerName = const_cast<char*>(peerSessionName.c_str()), in OpenSoftbusSession()
/foundation/distributedhardware/distributed_input/services/transportbase/src/
H A Ddistributed_input_transport_base.cpp215 .peerName = const_cast<char*>(peerSessionName.c_str()), in CreateClientSocket()
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/transport/
H A Ddh_transport.cpp258 .peerName = const_cast<char*>(peerSocketName.c_str()), in CreateClientSocket()
/foundation/filemanagement/dfs_service/services/cloudsyncservice/src/transport/softbus/
H A Dsoftbus_adapter.cpp214 .peerName = sessionName, in OpenSession()

Completed in 17 milliseconds

12