Home
last modified time | relevance | path

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

12

/foundation/communication/dsoftbus/tests/sdk/transmission/fuzztest/getpeerdeviceid_fuzzer/
H A Dgetpeerdeviceid_fuzzer.cpp28 GetPeerDeviceId(size, (char *)data, len); in GetPeerDeviceIdTest()
/foundation/ability/dmsfwk/services/dtbschedmgr/src/softbus_adapter/transport/
H A Ddsched_transport_softbus_adapter.cpp121 if (iter->second != nullptr && peerDeviceId == iter->second->GetPeerDeviceId()) { in ConnectDevice()
254 if (iter->second != nullptr && peerDeviceId == iter->second->GetPeerDeviceId()) { in DisconnectDevice()
261 GetAnonymStr(sessions_[sessionId]->GetPeerDeviceId()).c_str(), sessionId); in DisconnectDevice()
286 if (iter->second != nullptr && peerDeviceId == iter->second->GetPeerDeviceId()) { in GetSessionIdByDeviceId()
311 std::string peerDeviceId = sessions_[sessionId]->GetPeerDeviceId(); in OnShutdown()
342 std::string peerDeviceId = (iter->second != nullptr) ? iter->second->GetPeerDeviceId() : ""; in ReleaseChannel()
/foundation/distributedhardware/device_manager/services/implementation/include/dependency/softbus/
H A Dsoftbus_session.h78 * @tc.name: SoftbusSession::GetPeerDeviceId
82 int32_t GetPeerDeviceId(int32_t sessionId, std::string &peerDevId);
/foundation/communication/dsoftbus/tests/sdk/transmission/session/
H A Dclient_trans_session_service_test.cpp386 int32_t ret = GetPeerDeviceId(TRANS_TEST_INVALID_SESSION_ID, networkId, DEVICE_ID_SIZE_MAX); in HWTEST_F()
388 ret = GetPeerDeviceId(TRANS_TEST_SESSION_ID, NULL, DEVICE_ID_SIZE_MAX); in HWTEST_F()
390 ret = GetPeerDeviceId(TRANS_TEST_SESSION_ID, networkId, SESSION_NAME_SIZE_MAX + 1); in HWTEST_F()
392 ret = GetPeerDeviceId(TRANS_TEST_SESSION_ID, networkId, DEVICE_ID_SIZE_MAX); in HWTEST_F()
396 ret = GetPeerDeviceId(sessionId, networkId, DEVICE_ID_SIZE_MAX); in HWTEST_F()
H A Dclient_trans_session_impl_test.cpp156 EXPECT_EQ(sessionImpl_.GetPeerDeviceId(), name); in HWTEST_F()
169 EXPECT_EQ(sessionImpl_.GetPeerDeviceId(), name); in HWTEST_F()
H A Dclient_trans_session_test.cpp693 int32_t ret = GetPeerDeviceId(TRANS_TEST_INVALID_SESSION_ID, networkId, DEVICE_ID_SIZE_MAX); in HWTEST_F()
695 ret = GetPeerDeviceId(TRANS_TEST_SESSION_ID, NULL, DEVICE_ID_SIZE_MAX); in HWTEST_F()
697 ret = GetPeerDeviceId(TRANS_TEST_SESSION_ID, networkId, SESSION_NAME_SIZE_MAX + 1); in HWTEST_F()
699 ret = GetPeerDeviceId(TRANS_TEST_SESSION_ID, networkId, DEVICE_ID_SIZE_MAX); in HWTEST_F()
703 ret = GetPeerDeviceId(sessionId, networkId, DEVICE_ID_SIZE_MAX); in HWTEST_F()
/foundation/filemanagement/dfs_service/services/cloudsyncservice/src/transport/softbus/
H A Dsession_manager.cpp108 if ((session->GetDataType() == type) && (session->GetPeerDeviceId() == peerDeviceId)) { in CreateSession()
182 if ((session->GetDataType() == type) && (session->GetPeerDeviceId() == peerDeviceId)) { in GetSendSession()
H A Dsoftbus_session.cpp100 std::string SoftbusSession::GetPeerDeviceId() in GetPeerDeviceId() function in OHOS::FileManagement::CloudSync::SoftbusSession
/foundation/communication/dsoftbus/sdk/transmission/session/cpp/include/
H A DSession.h62 virtual const std::string &GetPeerDeviceId() const = 0;
/foundation/communication/dsoftbus/sdk/transmission/session/cpp/src/
H A Dsession_impl.cpp67 const std::string &SessionImpl::GetPeerDeviceId() const in GetPeerDeviceId() function in Communication::SoftBus::SessionImpl
H A Dsession_impl.h55 const std::string &GetPeerDeviceId() const override;
/foundation/filemanagement/dfs_service/services/cloudsyncservice/include/transport/softbus/
H A Dsoftbus_session.h39 std::string GetPeerDeviceId();
/foundation/distributedhardware/device_manager/services/implementation/src/dependency/softbus/
H A Dsoftbus_session.cpp119 int32_t SoftbusSession::GetPeerDeviceId(int32_t sessionId, std::string &peerDevId) in GetPeerDeviceId() function in OHOS::DistributedHardware::SoftbusSession
122 int32_t ret = ::GetPeerDeviceId(sessionId, &peerDeviceId[0], DEVICE_UUID_LENGTH); in GetPeerDeviceId()
125 LOGI("[SOFTBUS]GetPeerDeviceId success for session: %{public}d, peerDeviceId: %{public}s.", sessionId, in GetPeerDeviceId()
129 LOGE("[SOFTBUS]GetPeerDeviceId failed for session: %{public}d, ret: %{public}d.", sessionId, ret); in GetPeerDeviceId()
/foundation/ability/dmsfwk/test/fuzztest/dschedsoftbussession_fuzzer/
H A Ddschedsoftbussession_fuzzer.cpp74 dschedSoftbusSession.GetPeerDeviceId(); in FuzzOnBytesReceived()
/foundation/communication/dsoftbus/tests/sdk/transmission/demo/transport/
H A Dgetsessioninfo_demo.c113 ret = GetPeerDeviceId(sessionId, deviceId, DEVICE_ID_SIZE_MAX); in main()
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/test/unittest/mock/src/
H A Dmock_soft_bus.cpp58 int GetPeerDeviceId(int sessionId, char *devId, unsigned int len) in GetPeerDeviceId() function
/foundation/distributedhardware/device_manager/test/softbusfuzztest/softbussession_fuzzer/
H A Dsoftbus_session_fuzzer.cpp73 softbusSession->GetPeerDeviceId(sessionId, str); in SoftBusSessionFuzzTest()
/foundation/ability/dmsfwk/services/dtbschedmgr/include/softbus_adapter/transport/
H A Ddsched_softbus_session.h44 std::string GetPeerDeviceId();
/foundation/distributedhardware/device_manager/services/service/include/pinholder/
H A Dpin_holder.h71 void GetPeerDeviceId(int32_t sessionId, std::string &udidHash);
/foundation/distributedhardware/device_manager/test/unittest/mock/
H A Dsession.h166 int GetPeerDeviceId(int sessionId, char *devId, unsigned int len);
/foundation/communication/dsoftbus/interfaces/kits/transport/
H A Dsession.h644 int GetPeerDeviceId(int sessionId, char *networkId, unsigned int len);
/foundation/distributedhardware/device_manager/services/service/src/pinholder/
H A Dpin_holder.cpp450 void PinHolder::GetPeerDeviceId(int32_t sessionId, std::string &udidHash) in GetPeerDeviceId() function in OHOS::DistributedHardware::PinHolder
453 int32_t ret = ::GetPeerDeviceId(sessionId, &peerDeviceId[0], DEVICE_UUID_LENGTH); in GetPeerDeviceId()
455 LOGE("[SOFTBUS]GetPeerDeviceId failed for session: %{public}d.", sessionId); in GetPeerDeviceId()
467 LOGI("GetPeerDeviceId udid hash: %{public}s success.", GetAnonyString(udidHash).c_str()); in GetPeerDeviceId()
475 int32_t ret = ::GetPeerDeviceId(sessionId, &peerDeviceId[0], DEVICE_UUID_LENGTH); in OnSessionOpened()
477 LOGE("[SOFTBUS]GetPeerDeviceId failed for session: %{public}d.", sessionId); in OnSessionOpened()
485 GetPeerDeviceId(sessionId, remoteDeviceId_); in OnSessionOpened()
/foundation/CastEngine/castengine_cast_plus_stream/src/channel/src/softbus/
H A Dsoftbus_wrapper.cpp120 int ret = GetPeerDeviceId(sessionId, cDeviceId, sizeof(cDeviceId)); in GetSoftBusPeerDeviceId()
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/channel/src/softbus/
H A Dsoftbus_wrapper.cpp120 int ret = GetPeerDeviceId(sessionId, cDeviceId, sizeof(cDeviceId)); in GetSoftBusPeerDeviceId()
/foundation/distributedhardware/device_manager/test/softbusunittest/
H A DUTTest_softbus_session.cpp195 int ret = softbusSession->GetPeerDeviceId(sessionId, peerDevId); in HWTEST_F()

Completed in 14 milliseconds

12