Home
last modified time | relevance | path

Searched refs:GetDeviceIdByDBKey (Results 1 - 5 of 5) sorted by relevance

/foundation/deviceprofile/device_info_manager/services/core/src/subscribeprofilemanager/
H A Dsubscribe_profile_manager.cpp212 deviceProfile.SetDeviceId(ProfileUtils::GetDeviceIdByDBKey(dbKey)); in NotifyDeviceProfileAdd()
237 newDeviceProfile.SetDeviceId(ProfileUtils::GetDeviceIdByDBKey(dbKey)); in NotifyDeviceProfileUpdate()
240 ProfileCache::GetInstance().GetDeviceProfile(ProfileUtils::GetDeviceIdByDBKey(dbKey), oldDeviceProfile); in NotifyDeviceProfileUpdate()
264 deviceProfile.SetDeviceId(ProfileUtils::GetDeviceIdByDBKey(dbKey)); in NotifyDeviceProfileDelete()
289 serviceProfile.SetDeviceId(ProfileUtils::GetDeviceIdByDBKey(dbKey)); in NotifyServiceProfileAdd()
315 newServiceProfile.SetDeviceId(ProfileUtils::GetDeviceIdByDBKey(dbKey)); in NotifyServiceProfileUpdate()
324 ProfileCache::GetInstance().GetServiceProfile(ProfileUtils::GetDeviceIdByDBKey(dbKey), in NotifyServiceProfileUpdate()
344 serviceProfile.SetDeviceId(ProfileUtils::GetDeviceIdByDBKey(dbKey)); in NotifyServiceProfileDelete()
370 charProfile.SetDeviceId(ProfileUtils::GetDeviceIdByDBKey(dbKey)); in NotifyCharProfileAdd()
397 newCharProfile.SetDeviceId(ProfileUtils::GetDeviceIdByDBKey(dbKe in NotifyCharProfileUpdate()
[all...]
/foundation/deviceprofile/device_info_manager/common/include/utils/
H A Dprofile_utils.h84 static std::string GetDeviceIdByDBKey(const std::string& dbKey);
/foundation/deviceprofile/device_info_manager/common/src/utils/
H A Dprofile_utils.cpp209 std::string ProfileUtils::GetDeviceIdByDBKey(const std::string& dbKey) in GetDeviceIdByDBKey() function in OHOS::DistributedDeviceProfile::ProfileUtils
654 profile.SetDeviceId(GetDeviceIdByDBKey(iter->first)); in EntriesToServiceProfile()
674 profile.SetDeviceId(GetDeviceIdByDBKey(iter->first)); in EntriesToCharProfile()
/foundation/deviceprofile/device_info_manager/services/core/test/unittest/
H A Dprofile_utils_test.cpp977 * @tc.desc: GetDeviceIdByDBKey succeed.
984 string res = ProfileUtils::GetDeviceIdByDBKey(dbKey); in HWTEST_F()
990 * @tc.desc: GetDeviceIdByDBKey failed , dbKey.length() == 0.
997 string res = ProfileUtils::GetDeviceIdByDBKey(dbKey); in HWTEST_F()
1003 * @tc.desc: GetDeviceIdByDBKey failed , res.size() < 1.
1010 string res = ProfileUtils::GetDeviceIdByDBKey(dbKey); in HWTEST_F()
1016 * @tc.desc: GetDeviceIdByDBKey failed , dbKey.length() > 4096.
1026 string res = ProfileUtils::GetDeviceIdByDBKey(dbKey); in HWTEST_F()
1074 * @tc.desc: GetDeviceIdByDBKey failed , res.size() < 2.
/foundation/deviceprofile/device_info_manager/services/core/test/fuzztest/profileutils_fuzzer/
H A Dprofileutils_fuzzer.cpp66 ProfileUtils::GetDeviceIdByDBKey(dbKey); in GetDeviceIdByDBKeyFuzzTest()

Completed in 6 milliseconds