Home
last modified time | relevance | path

Searched refs:peerUid (Results 1 – 25 of 45) sorted by relevance

12

/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/fuzztest/sessionimpl_fuzzer/
H A Dsessionimpl_fuzzer.cpp48 uid_t peerUid = *reinterpret_cast<const uid_t *>(data); in SetOpeTest() local
50 session.SetPeerUid(peerUid); in SetOpeTest()
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/session/cpp/src/
H A Dsession_impl.cpp82 void SessionImpl::SetPeerUid(uid_t peerUid) in SetPeerUid() argument
84 peerUid_ = peerUid; in SetPeerUid()
H A Dsession_impl.h63 void SetPeerUid(uid_t peerUid) override;
/ohos5.0/foundation/communication/ipc/ipc/native/src/core/source/
H A Ddbinder_session_object.cpp125 void DBinderSessionObject::SetPeerUid(int peerUid) in SetPeerUid() argument
127 uid_ = peerUid; in SetPeerUid()
H A Ddatabus_socket_listener.cpp71 std::string peerUid = str.substr(0, pos); in ServerOnBind() local
81 …invoker->OnReceiveNewConnection(socket, std::stoi(peerPid), std::stoi(peerUid), peerName, networkI… in ServerOnBind()
H A Dipc_object_proxy.cpp895 dbinderSession->SetPeerUid(data.peerUid); in MakeDBinderTransSession()
942 dbinderData.peerUid = std::stoi(str.substr(0, pos)); in GetDBinderNegotiationData()
976 dbinderData.peerUid = std::stoi(str.substr(0, pos)); in GetDBinderNegotiationData()
/ohos5.0/foundation/communication/ipc/ipc/native/src/mock/source/
H A Ddbinder_databus_invoker.cpp212 bool DBinderDatabusInvoker::OnReceiveNewConnection(int32_t socketId, int peerPid, int peerUid, in OnReceiveNewConnection() argument
221 AppAuthInfo appAuthInfo = { peerPid, peerUid, 0, socketId, 0, nullptr, networkId }; in OnReceiveNewConnection()
237 sessionObject->SetPeerUid(peerUid); in OnReceiveNewConnection()
243 "oldTokenId:%{public}u socketId:%{public}d", peerPid, peerUid, in OnReceiveNewConnection()
567 std::string peerUid = str.substr(0, pos); in UpdateClientSession() local
571 sessionObject->SetPeerUid(std::stoi(peerUid)); in UpdateClientSession()
874 int peerUid = sessionObject->GetPeerUid(); in ConnectRemoteObject2Session() local
878 …"stubIndex:%{public}" PRIu64, peerPid, peerUid, IPCProcessSkeleton::ConvertToSecureString(deviceId… in ConnectRemoteObject2Session()
881 AppAuthInfo appAuthInfo = { peerPid, peerUid, tokenId, 0, stubIndex, stubObject, deviceId }; in ConnectRemoteObject2Session()
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/bus_center/demo/bus_center/
H A Djoin_lnn_demo.c65 … .peerUid = "012345678998765432101234567898765432101234567898765432101234567", // uuid of device B in main()
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/session/cpp/include/
H A DSession.h88 virtual void SetPeerUid(uid_t peerUid) = 0;
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/bus_center/fuzztest/joinlnn_fuzzer/
H A Djoinlnn_fuzzer.cpp41 memcpy_s(addr.peerUid, MAX_ACCOUNT_HASH_LEN, data, size); in GenRandAddr()
/ohos5.0/foundation/communication/ipc/ipc/native/src/core/include/
H A Ddbinder_session_object.h69 void SetPeerUid(int peerUid);
/ohos5.0/foundation/communication/dsoftbus/core/common/include/
H A Dsoftbus_def.h157 int32_t peerUid; member
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/common/src/
H A Dclient_trans_udp_manager.c186 info.peerUid = channel.info.peerUid; in OnUdpChannelOpened()
211 newChannel->info.peerUid = channel->peerUid; in ConvertChannelInfoToUdpChannel()
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/src/
H A Dlnn_net_builder_test.cpp92 memcpy_s(target.peerUid, MAX_ACCOUNT_HASH_LEN, PEERUID, strlen(PEERUID));
186 memcpy_s(target.peerUid, MAX_ACCOUNT_HASH_LEN, PEERUID, strlen(PEERUID));
H A Dlnn_connection_fsm_test.cpp83 memcpy_s(target.peerUid, MAX_ACCOUNT_HASH_LEN, PEERUID, strlen(PEERUID)); in SetUpTestCase()
88 (void)memcpy_s(target3.peerUid, MAX_ACCOUNT_HASH_LEN, PEERUID1, strlen(PEERUID1)); in SetUpTestCase()
93 (void)memcpy_s(target4.peerUid, MAX_ACCOUNT_HASH_LEN, PEERUID2, strlen(PEERUID2)); in SetUpTestCase()
419 EXPECT_EQ(EOK, memcpy_s(targetObj.peerUid, MAX_ACCOUNT_HASH_LEN, PEERUID3, strlen(PEERUID3)));
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/common/include/
H A Dclient_trans_udp_manager.h44 int32_t peerUid; member
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/bus_center/unittest/
H A Dbus_center_server_test.cpp68 .peerUid = "001"
/ohos5.0/foundation/communication/dsoftbus/interfaces/kits/common/
H A Dsoftbus_common.h308 char peerUid[MAX_ACCOUNT_HASH_LEN]; member
/ohos5.0/foundation/communication/ipc/interfaces/innerkits/ipc_core/include/
H A Dipc_object_proxy.h32 pid_t peerUid; member
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/disc_mgr/src/
H A Dlnn_coap_discovery_impl.c72 …if (memcpy_s(addr->peerUid, MAX_ACCOUNT_HASH_LEN, device->accountHash, MAX_ACCOUNT_HASH_LEN) != EO… in GetConnectDeviceInfo()
/ohos5.0/foundation/communication/dsoftbus/tests/core/authentication/unittest/
H A Dauth_test_enhance.cpp46 .peerUid = "002",
51 .peerUid = "002",
/ohos5.0/foundation/communication/dsoftbus/sdk/frame/small/src/
H A Dtrans_client_stub.c35 ReadInt32(data, &(channel.peerUid)); in ClientOnChannelOpened()
/ohos5.0/foundation/communication/ipc/ipc/native/src/mock/include/
H A Ddbinder_databus_invoker.h65 bool OnReceiveNewConnection(int32_t socketId, int peerPid, int peerUid,
/ohos5.0/foundation/communication/dsoftbus/core/authentication/interface/
H A Dauth_interface.h93 char peerUid[MAX_ACCOUNT_HASH_LEN]; member
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/session/include/
H A Dclient_trans_session_manager.h85 int32_t peerUid; member

12