Home
last modified time | relevance | path

Searched refs:peerName (Results 1 – 25 of 39) sorted by relevance

12

/ohos5.0/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()
68 std::string peerName = info.name; in ServerOnBind() local
69 std::string str = peerName.substr(DBINDER_SOCKET_NAME_PREFIX.length()); in ServerOnBind()
81 …invoker->OnReceiveNewConnection(socket, std::stoi(peerPid), std::stoi(peerUid), peerName, networkI… in ServerOnBind()
182 … DatabusSocketListener::CreateClientSocket(const std::string &ownName, const std::string &peerName, in CreateClientSocket() argument
185 DBinderSocketInfo info(ownName, peerName, networkId); in CreateClientSocket()
203 .peerName = const_cast<char*>(peerName.c_str()), in CreateClientSocket()
217 ret, socketId, ownName.c_str(), peerName.c_str(), in CreateClientSocket()
224 "socketId:%{public}d", ownName.c_str(), peerName.c_str(), in CreateClientSocket()
H A Dmessage_parcel.cpp141 std::string peerName = sessionOfPeer->GetServiceName(); in WriteDBinderProxy() local
150 …fakeStub = new (std::nothrow) DBinderCallbackStub(peerName, peerId, localId, sessionOfPeer->GetStu… in WriteDBinderProxy()
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/fuzztest/socket_fuzzer/
H A Dsocket_fuzzer.cpp53 .peerName = const_cast<char *>(g_defaultSocketPeerName.c_str()), in SocketTestWithName()
84 .peerName = socketPeerName.get(), in SocketTestWithPeerName()
115 .peerName = const_cast<char *>(g_defaultSocketPeerName.c_str()), in SocketTestWithNetworkId()
146 .peerName = const_cast<char *>(g_defaultSocketPeerName.c_str()), in SocketTestWithPkgName()
168 .peerName = const_cast<char *>(g_defaultSocketPeerName.c_str()), in SocketTestWithDataType()
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/session/
H A Dclient_trans_socket_service_test.cpp58 info.peerName = const_cast<char *>(g_socketPeerName.c_str());
102 info.peerName = socketName;
108 info.peerName = socketName;
123 info.peerName = const_cast<char *>(g_socketPeerName.c_str());
152 info.peerName = const_cast<char *>(g_socketPeerName.c_str());
187 info.peerName = nullptr;
/ohos5.0/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()
46 anonySessionName, strlen(info->peerName)); in CheckSocketInfoIsValid()
69 Anonymize(info->peerName, &tmpPeerName); in PrintSocketInfo()
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/moduletest/socket/stream_encrypt_test/
H A Dtmessenger.cpp128 … const std::string &pkgName, const std::string &myName, const std::string &peerName, bool isServer) in Open() argument
131 return isServer_ ? StartListen(pkgName, myName) : StartConnect(pkgName, myName, peerName); in Open()
193 …r::StartConnect(const std::string &pkgName, const std::string &myName, const std::string &peerName) in StartConnect() argument
202 .peerName = const_cast<char *>(peerName.c_str()), in StartConnect()
236 peerName_ = peerName; in StartConnect()
H A Dtmessenger.h84 …int32_t Open(const std::string &pkgName, const std::string &myName, const std::string &peerName, b…
100 …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,
169 .peerName = (char *)TEST_SESSION_NAME_SRV,
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/communicator/src/
H A Dsoftbus_client.cpp103 std::string peerName = pipe_.pipeId; in OpenConnect() local
104 socketInfo.peerName = const_cast<char *>(peerName.c_str()); in OpenConnect()
115 …eate the client Socket:%{public}d failed, peerName:%{public}s", clientSocket, socketInfo.peerName); in OpenConnect()
/ohos5.0/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 &netw…
73 int32_t CreateClientSocket(const std::string &ownName, const std::string &peerName,
/ohos5.0/base/security/access_token/services/tokensyncmanager/src/remote/
H A Dsoft_bus_manager.cpp334 char peerName[SOCKET_NAME_MAX_LEN + 1]; in InitSocketAndListener() local
335 if (!CheckAndCopyStr(peerName, SOCKET_NAME_MAX_LEN, serviceName)) { in InitSocketAndListener()
351 .peerName = peerName, in InitSocketAndListener()
/ohos5.0/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() local
446 FI_HILOGI("Peer name: \'%{public}s\'", peerName); in OpenSessionLocked()
451 .peerName = peerName, in OpenSessionLocked()
/ohos5.0/base/msdp/device_status/intention/adapters/dsoftbus_adapter/src/
H A Ddsoftbus_adapter_impl.cpp440 char peerName[DEVICE_NAME_SIZE_MAX] { SERVER_SESSION_NAME }; in OpenSessionLocked() local
448 FI_HILOGI("Peer name: \'%{public}s\'", peerName); in OpenSessionLocked()
453 .peerName = peerName, in OpenSessionLocked()
/ohos5.0/foundation/multimodalinput/input/intention/adapters/test/unittest/src/
H A Ddsoftbus_adapter_test.cpp317 char peerName[DEVICE_NAME_SIZE_MAX] { SERVER_SESSION_NAME }; variable
322 .peerName = peerName,
/ohos5.0/base/useriam/user_auth_framework/services/remote_connect/src/
H A Dsoft_bus_manager.cpp365 char peerName[SOCKET_NAME_MAX_LEN + 1]; in ClientSocketInit() local
366 if (!CheckAndCopyStr(peerName, SOCKET_NAME_MAX_LEN, serviceName)) { in ClientSocketInit()
385 .peerName = peerName, in ClientSocketInit()
/ohos5.0/foundation/distributedhardware/distributed_camera/services/channel/test/unittest/common/channel/
H A Dtrans_type.h50 char *peerName; /**< Peer socket name */ member
/ohos5.0/base/msdp/device_status/test/unittest/intention/adapters/src/
H A Ddsoftbus_adapter_test.cpp317 char peerName[DEVICE_NAME_SIZE_MAX] { SERVER_SESSION_NAME }; variable
322 .peerName = peerName,
/ohos5.0/foundation/communication/dsoftbus/interfaces/kits/transport/
H A Dtrans_type.h53 char *peerName; /**< Peer socket name, maximum length 255 bytes */ member
/ohos5.0/base/security/access_token/services/tokensyncmanager/test/mock/include/
H A Dsocket.h79 char *peerName; /**< Peer socket name */ member
/ohos5.0/foundation/communication/ipc/ipc/native/src/mock/include/
H A Ddbinder_databus_invoker.h66 std::string peerName, std::string networkId);
/ohos5.0/foundation/communication/ipc/ipc/native/src/mock/source/
H A Ddbinder_databus_invoker.cpp213 std::string peerName, std::string networkId) in OnReceiveNewConnection() argument
224 socketId, peerName.c_str()); in OnReceiveNewConnection()
234 peerName, networkId, 0, nullptr, peerTokenId); in OnReceiveNewConnection()
/ohos5.0/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/network/softbus/
H A Dsoftbus_agent.cpp185 .peerName = const_cast<char*>(sessionName_.c_str()), in OpenSession()
/ohos5.0/foundation/distributedhardware/device_manager/services/implementation/src/dependency/softbus/
H A Dsoftbus_session.cpp231 .peerName = const_cast<char*>(DM_UNBIND_SESSION_NAME), in OpenUnbindSession()
/ohos5.0/foundation/distributedhardware/distributed_camera/services/channel/src/
H A Ddcamera_softbus_adapter.cpp146 .peerName = const_cast<char*>(peerSessionName.c_str()), in CreatSoftBusSinkSocketServer()
180 .peerName = const_cast<char*>(peerSessionName.c_str()), in CreateSoftBusSourceSocketClient()
/ohos5.0/foundation/communication/ipc/services/dbinder/dbinder_service/src/socket/
H A Ddbinder_remote_listener.cpp149 .peerName = const_cast<char*>(PEER_SESSION_NAME.c_str()), in CreateClientSocket()

12