/foundation/bundlemanager/distributed_bundle_framework/services/dbms/src/ |
H A D | dbms_device_manager.cpp | 71 int32_t DbmsDeviceManager::GetUuidByNetworkId(const std::string &netWorkId, std::string &uuid) in GetUuidByNetworkId() function in OHOS::AppExecFwk::DbmsDeviceManager 73 APP_LOGI("GetUuidByNetworkId"); in GetUuidByNetworkId() 78 .GetUuidByNetworkId(DISTRIBUTED_BUNDLE_NAME, netWorkId, uuid); in GetUuidByNetworkId() 80 APP_LOGE("GetUuidByNetworkId failed"); in GetUuidByNetworkId()
|
/foundation/ability/dmsfwk/services/dtbschedmgr/src/ |
H A D | dtbschedmgr_device_info_storage.cpp | 152 std::string uuid = DnetworkAdapter::GetInstance()->GetUuidByNetworkId(networkId); in RegisterUuidNetworkIdMap() 154 HILOGE("GetUuidByNetworkId return an empty uuid!"); in RegisterUuidNetworkIdMap() 165 std::string uuid = DnetworkAdapter::GetInstance()->GetUuidByNetworkId(networkId); in UnregisterUuidNetworkIdMap() 167 HILOGE("GetUuidByNetworkId return an empty uuid"); in UnregisterUuidNetworkIdMap() 259 uuid = GetUuidByNetworkId(dmDeviceInfo.networkId); in GetLocalUuid() 301 std::string DtbschedmgrDeviceInfoStorage::GetUuidByNetworkId(const std::string& networkId) in GetUuidByNetworkId() function in OHOS::DistributedSchedule::DtbschedmgrDeviceInfoStorage 304 HILOGW("GetUuidByNetworkId networkId empty!"); in GetUuidByNetworkId() 318 std::string uuid = DnetworkAdapter::GetInstance()->GetUuidByNetworkId(networkId); in GetUuidByNetworkId() 362 std::string uuid = GetUuidByNetworkId(networkId); in DeviceOnlineNotify() 389 std::string uuid = GetUuidByNetworkId(networkI in DeviceOfflineNotify() [all...] |
/foundation/bundlemanager/distributed_bundle_framework/services/dbms/include/ |
H A D | dbms_device_manager.h | 32 int32_t GetUuidByNetworkId(const std::string &netWorkId, std::string &uuid);
|
H A D | distributed_bms.h | 129 int32_t GetUuidByNetworkId(const std::string &netWorkId, std::string &uuid);
|
H A D | distributed_data_storage.h | 73 int32_t GetUuidByNetworkId(const std::string &netWorkId, std::string &uuid);
|
/foundation/distributedhardware/device_manager/test/servicesfuzztest/gettrusteddevicelistservice_fuzzer/ |
H A D | get_trusted_devicelist_service_fuzzer.cpp | 35 DeviceManagerService::GetInstance().GetUuidByNetworkId(pkgName, pkgName, pkgName); in GetTrustedDeviceListFuzzTest()
|
/foundation/distributedhardware/device_manager/test/servicesfuzztest/getuuidbynetworkid_fuzzer/ |
H A D | get_uuid_by_network_id_fuzzer.cpp | 37 DeviceManager::GetInstance().GetUuidByNetworkId(packName, netWorkId, uuid); in GetUuidByNetworkIdFuzzTest()
|
/foundation/distributedhardware/device_manager/test/softbusfuzztest/softbusconnectorstatic_fuzzer/ |
H A D | softbus_connector_static_fuzzer.cpp | 41 SoftbusConnector::GetUuidByNetworkId(networkId, uuid); in SoftBusConnectorStaticFuzzTest()
|
/foundation/deviceprofile/device_info_manager/old/services/core/test/unittest/ |
H A D | profile_dm_test.cpp | 96 bool res = DpDeviceManager::GetInstance().GetUuidByNetworkId("", uuid); in HWTEST_F() 186 bool res = DpDeviceManager::GetInstance().GetUuidByNetworkId("", uuid); in HWTEST_F()
|
/foundation/distributedhardware/device_manager/services/softbuscache/src/ |
H A D | dm_softbus_cache.cpp | 109 int32_t SoftbusCache::GetUuidByNetworkId(const char *networkId, std::string &uuid) in GetUuidByNetworkId() function in OHOS::DistributedHardware::SoftbusCache 127 GetUuidByNetworkId(deviceInfo.networkId, uuid); in SaveDeviceInfo() 175 GetUuidByNetworkId(deviceInfo.networkId, uuid); in ChangeDeviceInfo() 247 int32_t ret = GetUuidByNetworkId(networkId, uuid); in GetUuidFromCache()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/communicator/src/ |
H A D | softbus_adapter_standard.cpp | 82 auto uuid = DmAdapter::GetInstance().GetUuidByNetworkId(networkId); in OnDataLevelChanged() 117 auto uuid = DmAdapter::GetInstance().GetUuidByNetworkId(networkId); in SoftBusAdapter() 506 std::string peerDevUuid = DmAdapter::GetInstance().GetUuidByNetworkId(std::string(info.networkId)); in OnServerBind() 525 std::string peerDevUuid = DmAdapter::GetInstance().GetUuidByNetworkId(std::string(info.networkId)); in OnServerBytesReceived() 597 auto uuid = DmAdapter::GetInstance().GetUuidByNetworkId(networkId); in CloseSession()
|
H A D | device_manager_adapter.cpp | 376 auto uuid = GetUuidByNetworkId(networkId); 446 auto uuid = GetUuidByNetworkId(networkId); 558 auto uuid = GetUuidByNetworkId(networkId); 574 std::string DeviceManagerAdapter::GetUuidByNetworkId(const std::string &networkId) 587 auto ret = DeviceManager::GetInstance().GetUuidByNetworkId(PKG_NAME, networkId, uuid);
|
/foundation/ability/dmsfwk/services/dtbschedmgr/src/adapter/ |
H A D | dnetwork_adapter.cpp | 239 std::string DnetworkAdapter::GetUuidByNetworkId(const std::string& networkId)
in GetUuidByNetworkId() function in OHOS::DistributedSchedule::DnetworkAdapter 246 int32_t errCode = DeviceManager::GetInstance().GetUuidByNetworkId(PKG_NAME, networkId, uuid);
in GetUuidByNetworkId() 248 HILOGE("GetUuidByNetworkId errCode = %{public}d", errCode);
in GetUuidByNetworkId()
|
/foundation/ability/dmsfwk/services/dtbschedmgr/include/adapter/ |
H A D | dnetwork_adapter.h | 62 std::string GetUuidByNetworkId(const std::string& networkId);
|
/foundation/ability/dmsfwk/services/dtbschedmgr/include/ |
H A D | dtbschedmgr_device_info_storage.h | 67 std::string GetUuidByNetworkId(const std::string& networkId);
|
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/test/ |
H A D | device_manager_mock.h | 56 virtual int32_t GetUuidByNetworkId(const std::string &pkgName, const std::string &netWorkId, std::string &uuid);
|
H A D | device_manager_mock.cpp | 93 int32_t DeviceManager::GetUuidByNetworkId(const std::string &pkgName, const std::string &netWorkId,
in GetUuidByNetworkId() function in OHOS::DistributedHardware::DeviceManager
|
/foundation/distributedhardware/device_manager/services/softbuscache/include/ |
H A D | dm_softbus_cache.h | 54 int32_t GetUuidByNetworkId(const char *networkId, std::string &uuid);
|
/foundation/ability/dmsfwk/services/dtbschedmgr/src/mission/ |
H A D | distributed_sched_mission_manager.cpp | 215 std::string uuid = DtbschedmgrDeviceInfoStorage::GetInstance().GetUuidByNetworkId(networkId); in GetRemoteMissionSnapshotInfo() 255 std::string uuid = DtbschedmgrDeviceInfoStorage::GetInstance().GetUuidByNetworkId(networkId); in DeviceOnlineNotify() 287 std::string uuid = DtbschedmgrDeviceInfoStorage::GetInstance().GetUuidByNetworkId(deviceId); in DeleteDataStorage() 312 std::string uuid = DtbschedmgrDeviceInfoStorage::GetInstance().GetUuidByNetworkId(Str16ToStr8(devId)); in RegisterMissionListener() 683 std::string uuid = DtbschedmgrDeviceInfoStorage::GetInstance().GetUuidByNetworkId(networkId); in DeleteCachedSnapshotInfo() 702 std::string uuid = DtbschedmgrDeviceInfoStorage::GetInstance().GetUuidByNetworkId(srcId); in FetchCachedRemoteMissions() 729 std::string uuid = DtbschedmgrDeviceInfoStorage::GetInstance().GetUuidByNetworkId(deviceId); in RebornMissionCache() 744 std::string uuid = DtbschedmgrDeviceInfoStorage::GetInstance().GetUuidByNetworkId(deviceId); in CleanMissionCache() 923 std::string uuid = DtbschedmgrDeviceInfoStorage::GetInstance().GetUuidByNetworkId(deviceId); in FetchDeviceHandler()
|
H A D | distributed_data_storage.cpp | 243 string uuid = DtbschedmgrDeviceInfoStorage::GetInstance().GetUuidByNetworkId(networkId); in Insert() 292 string uuid = DtbschedmgrDeviceInfoStorage::GetInstance().GetUuidByNetworkId(networkId); in Delete() 394 string uuid = DtbschedmgrDeviceInfoStorage::GetInstance().GetUuidByNetworkId(networkId); in QueryInnerLocked()
|
/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/ |
H A D | dtbschedmgr_device_info_storage_test.cpp | 289 * @tc.desc: test GetUuidByNetworkId 296 * @tc.steps: step1. test GetUuidByNetworkId when networkId is empty; in HWTEST_F() 299 std::string result = DtbschedmgrDeviceInfoStorage::GetInstance().GetUuidByNetworkId(networkId); in HWTEST_F() 302 * @tc.steps: step2. test GetUuidByNetworkId when networkId is not in map; in HWTEST_F() 304 networkId = "invalid networkId for GetUuidByNetworkId"; in HWTEST_F() 305 result = DtbschedmgrDeviceInfoStorage::GetInstance().GetUuidByNetworkId(networkId); in HWTEST_F() 308 * @tc.steps: step3. test GetUuidByNetworkId when networkId is in map; in HWTEST_F() 310 std::string uuid = "invalid uuid for GetUuidByNetworkId"; in HWTEST_F() 315 result = DtbschedmgrDeviceInfoStorage::GetInstance().GetUuidByNetworkId(networkId); in HWTEST_F()
|
H A D | dms_network_adapter_test.cpp | 122 std::string res = DnetworkAdapter::GetInstance()->GetUuidByNetworkId(""); in HWTEST_F() 133 std::string res = DnetworkAdapter::GetInstance()->GetUuidByNetworkId(NETWORKID); in HWTEST_F() 168 std::string res = DnetworkAdapter::GetInstance()->GetUuidByNetworkId(NETWORKID); in HWTEST_F()
|
/foundation/deviceprofile/device_info_manager/old/services/core/src/devicemanager/ |
H A D | dp_device_manager.cpp | 343 if (GetUuidByNetworkId(networkId, uuid)) { in AddDeviceIds() 414 bool DpDeviceManager::GetUuidByNetworkId(const std::string& networkId, std::string& uuid) in GetUuidByNetworkId() function in OHOS::DeviceProfile::DpDeviceManager 416 return ((DeviceManager::GetInstance().GetUuidByNetworkId( in GetUuidByNetworkId()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/communicator/test/unittest/ |
H A D | device_manager_adapter_test.cpp | 200 * @tc.name: GetUuidByNetworkId 208 auto uuid = DeviceManagerAdapter::GetInstance().GetUuidByNetworkId(EMPTY_DEVICE_ID); in HWTEST_F() 210 uuid = DeviceManagerAdapter::GetInstance().GetUuidByNetworkId(INVALID_DEVICE_ID); in HWTEST_F() 215 * @tc.name: GetUuidByNetworkId 224 auto uuid = DeviceManagerAdapter::GetInstance().GetUuidByNetworkId(dvInfo.networkId); in HWTEST_F()
|
/foundation/deviceprofile/device_info_manager/old/services/core/include/devicemanager/ |
H A D | dp_device_manager.h | 46 bool GetUuidByNetworkId(const std::string& networkId, std::string& uuid);
|