Home
last modified time | relevance | path

Searched refs:GetUuidByNetworkId (Results 1 - 25 of 59) sorted by relevance

123

/foundation/bundlemanager/distributed_bundle_framework/services/dbms/src/
H A Ddbms_device_manager.cpp71 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 Ddtbschedmgr_device_info_storage.cpp152 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 Ddbms_device_manager.h32 int32_t GetUuidByNetworkId(const std::string &netWorkId, std::string &uuid);
H A Ddistributed_bms.h129 int32_t GetUuidByNetworkId(const std::string &netWorkId, std::string &uuid);
H A Ddistributed_data_storage.h73 int32_t GetUuidByNetworkId(const std::string &netWorkId, std::string &uuid);
/foundation/distributedhardware/device_manager/test/servicesfuzztest/gettrusteddevicelistservice_fuzzer/
H A Dget_trusted_devicelist_service_fuzzer.cpp35 DeviceManagerService::GetInstance().GetUuidByNetworkId(pkgName, pkgName, pkgName); in GetTrustedDeviceListFuzzTest()
/foundation/distributedhardware/device_manager/test/servicesfuzztest/getuuidbynetworkid_fuzzer/
H A Dget_uuid_by_network_id_fuzzer.cpp37 DeviceManager::GetInstance().GetUuidByNetworkId(packName, netWorkId, uuid); in GetUuidByNetworkIdFuzzTest()
/foundation/distributedhardware/device_manager/test/softbusfuzztest/softbusconnectorstatic_fuzzer/
H A Dsoftbus_connector_static_fuzzer.cpp41 SoftbusConnector::GetUuidByNetworkId(networkId, uuid); in SoftBusConnectorStaticFuzzTest()
/foundation/deviceprofile/device_info_manager/old/services/core/test/unittest/
H A Dprofile_dm_test.cpp96 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 Ddm_softbus_cache.cpp109 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 Dsoftbus_adapter_standard.cpp82 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 Ddevice_manager_adapter.cpp376 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 Ddnetwork_adapter.cpp239 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 Ddnetwork_adapter.h62 std::string GetUuidByNetworkId(const std::string& networkId);
/foundation/ability/dmsfwk/services/dtbschedmgr/include/
H A Ddtbschedmgr_device_info_storage.h67 std::string GetUuidByNetworkId(const std::string& networkId);
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/test/
H A Ddevice_manager_mock.h56 virtual int32_t GetUuidByNetworkId(const std::string &pkgName, const std::string &netWorkId, std::string &uuid);
H A Ddevice_manager_mock.cpp93 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 Ddm_softbus_cache.h54 int32_t GetUuidByNetworkId(const char *networkId, std::string &uuid);
/foundation/ability/dmsfwk/services/dtbschedmgr/src/mission/
H A Ddistributed_sched_mission_manager.cpp215 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 Ddistributed_data_storage.cpp243 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 Ddtbschedmgr_device_info_storage_test.cpp289 * @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 Ddms_network_adapter_test.cpp122 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 Ddp_device_manager.cpp343 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 Ddevice_manager_adapter_test.cpp200 * @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 Ddp_device_manager.h46 bool GetUuidByNetworkId(const std::string& networkId, std::string& uuid);

Completed in 15 milliseconds

123