/foundation/communication/dsoftbus/tests/sdk/transmission/fuzztest/getpeerdeviceid_fuzzer/ |
H A D | getpeerdeviceid_fuzzer.cpp | 28 GetPeerDeviceId(size, (char *)data, len); in GetPeerDeviceIdTest()
|
/foundation/ability/dmsfwk/services/dtbschedmgr/src/softbus_adapter/transport/ |
H A D | dsched_transport_softbus_adapter.cpp | 121 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 D | softbus_session.h | 78 * @tc.name: SoftbusSession::GetPeerDeviceId 82 int32_t GetPeerDeviceId(int32_t sessionId, std::string &peerDevId);
|
/foundation/communication/dsoftbus/tests/sdk/transmission/session/ |
H A D | client_trans_session_service_test.cpp | 386 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 D | client_trans_session_impl_test.cpp | 156 EXPECT_EQ(sessionImpl_.GetPeerDeviceId(), name); in HWTEST_F() 169 EXPECT_EQ(sessionImpl_.GetPeerDeviceId(), name); in HWTEST_F()
|
H A D | client_trans_session_test.cpp | 693 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 D | session_manager.cpp | 108 if ((session->GetDataType() == type) && (session->GetPeerDeviceId() == peerDeviceId)) { in CreateSession() 182 if ((session->GetDataType() == type) && (session->GetPeerDeviceId() == peerDeviceId)) { in GetSendSession()
|
H A D | softbus_session.cpp | 100 std::string SoftbusSession::GetPeerDeviceId() in GetPeerDeviceId() function in OHOS::FileManagement::CloudSync::SoftbusSession
|
/foundation/communication/dsoftbus/sdk/transmission/session/cpp/include/ |
H A D | Session.h | 62 virtual const std::string &GetPeerDeviceId() const = 0;
|
/foundation/communication/dsoftbus/sdk/transmission/session/cpp/src/ |
H A D | session_impl.cpp | 67 const std::string &SessionImpl::GetPeerDeviceId() const in GetPeerDeviceId() function in Communication::SoftBus::SessionImpl
|
H A D | session_impl.h | 55 const std::string &GetPeerDeviceId() const override;
|
/foundation/filemanagement/dfs_service/services/cloudsyncservice/include/transport/softbus/ |
H A D | softbus_session.h | 39 std::string GetPeerDeviceId();
|
/foundation/distributedhardware/device_manager/services/implementation/src/dependency/softbus/ |
H A D | softbus_session.cpp | 119 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 D | dschedsoftbussession_fuzzer.cpp | 74 dschedSoftbusSession.GetPeerDeviceId(); in FuzzOnBytesReceived()
|
/foundation/communication/dsoftbus/tests/sdk/transmission/demo/transport/ |
H A D | getsessioninfo_demo.c | 113 ret = GetPeerDeviceId(sessionId, deviceId, DEVICE_ID_SIZE_MAX); in main()
|
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/test/unittest/mock/src/ |
H A D | mock_soft_bus.cpp | 58 int GetPeerDeviceId(int sessionId, char *devId, unsigned int len)
in GetPeerDeviceId() function
|
/foundation/distributedhardware/device_manager/test/softbusfuzztest/softbussession_fuzzer/ |
H A D | softbus_session_fuzzer.cpp | 73 softbusSession->GetPeerDeviceId(sessionId, str); in SoftBusSessionFuzzTest()
|
/foundation/ability/dmsfwk/services/dtbschedmgr/include/softbus_adapter/transport/ |
H A D | dsched_softbus_session.h | 44 std::string GetPeerDeviceId();
|
/foundation/distributedhardware/device_manager/services/service/include/pinholder/ |
H A D | pin_holder.h | 71 void GetPeerDeviceId(int32_t sessionId, std::string &udidHash);
|
/foundation/distributedhardware/device_manager/test/unittest/mock/ |
H A D | session.h | 166 int GetPeerDeviceId(int sessionId, char *devId, unsigned int len);
|
/foundation/communication/dsoftbus/interfaces/kits/transport/ |
H A D | session.h | 644 int GetPeerDeviceId(int sessionId, char *networkId, unsigned int len);
|
/foundation/distributedhardware/device_manager/services/service/src/pinholder/ |
H A D | pin_holder.cpp | 450 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 D | softbus_wrapper.cpp | 120 int ret = GetPeerDeviceId(sessionId, cDeviceId, sizeof(cDeviceId)); in GetSoftBusPeerDeviceId()
|
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/channel/src/softbus/ |
H A D | softbus_wrapper.cpp | 120 int ret = GetPeerDeviceId(sessionId, cDeviceId, sizeof(cDeviceId)); in GetSoftBusPeerDeviceId()
|
/foundation/distributedhardware/device_manager/test/softbusunittest/ |
H A D | UTTest_softbus_session.cpp | 195 int ret = softbusSession->GetPeerDeviceId(sessionId, peerDevId); in HWTEST_F()
|