/foundation/communication/ipc/ipc/native/src/core/source/ |
H A D | databus_socket_listener.cpp | 28 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 D | message_parcel.cpp | 141 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 D | socket_fuzzer.cpp | 24 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 D | client_trans_socket_service_test.cpp | 58 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 D | softbus_client.cpp | 95 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 D | client_trans_socket_service.c | 42 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 D | tmessenger.cpp | 127 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 D | tmessenger.h | 84 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 D | stream_encrypt_client_mt.cpp | 115 .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 D | databus_socket_listener.h | 40 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 D | trans_type.h | 50 char *peerName; /**< Peer socket name */ member
|
/foundation/multimodalinput/input/intention/adapters/dsoftbus_adapter/src/ |
H A D | dsoftbus_adapter_impl.cpp | 438 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 D | dsoftbus_adapter_test.cpp | 317 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 D | trans_type.h | 52 char *peerName; /**< Peer socket name, maximum length 255 bytes */ member
|
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/network/softbus/ |
H A D | softbus_agent.cpp | 176 .peerName = const_cast<char*>(sessionName_.c_str()), in OpenSession() 227 .peerName = const_cast<char*>(sessionName_.c_str()), in OpenApSession()
|
H A D | softbus_handler.cpp | 203 .peerName = const_cast<char*>(peerSessionName.c_str()), in CreatSocketId()
|
/foundation/communication/ipc/ipc/native/src/mock/include/ |
H A D | dbinder_databus_invoker.h | 66 std::string peerName, std::string networkId);
|
/foundation/distributedhardware/distributed_camera/services/channel/src/ |
H A D | dcamera_softbus_adapter.cpp | 154 .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 D | dbinder_databus_invoker.cpp | 214 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 D | dsched_transport_softbus_adapter.cpp | 211 .peerName = const_cast<char*>(SOCKET_DMS_SESSION_NAME.c_str()), in CreateClientSocket()
|
/foundation/communication/ipc/services/dbinder/dbinder_service/src/socket/ |
H A D | dbinder_remote_listener.cpp | 52 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 D | softbus_adapter.cpp | 194 .peerName = const_cast<char*>(peerSessionName.c_str()), in OpenSoftbusSession()
|
/foundation/distributedhardware/distributed_input/services/transportbase/src/ |
H A D | distributed_input_transport_base.cpp | 215 .peerName = const_cast<char*>(peerSessionName.c_str()), in CreateClientSocket()
|
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/transport/ |
H A D | dh_transport.cpp | 258 .peerName = const_cast<char*>(peerSocketName.c_str()), in CreateClientSocket()
|
/foundation/filemanagement/dfs_service/services/cloudsyncservice/src/transport/softbus/ |
H A D | softbus_adapter.cpp | 214 .peerName = sessionName, in OpenSession()
|