Home
last modified time | relevance | path

Searched refs:profileKey (Results 1 - 9 of 9) sorted by relevance

/foundation/deviceprofile/device_info_manager/old/services/core/src/subscribemanager/
H A Dprofile_change_handler.cpp60 auto profileKey = std::make_unique<ProfileKey>(); in Parse() local
61 profileKey->udid = std::move(vec[index++]); in Parse()
62 if (profileKey->udid.size() != DEVICE_ID_SIZE) { in Parse()
71 profileKey->type = static_cast<KeyType>(type); in Parse()
72 profileKey->serviceId = std::move(vec[index]); in Parse()
73 return profileKey; in Parse()
104 auto profileKey = ProfileKey::Parse(entry.key.ToString()); in OnChange() local
105 if (profileKey == nullptr) { in OnChange()
109 udid = std::move(profileKey->udid); in OnChange()
137 auto profileKey in ConvertEntry() local
[all...]
/foundation/deviceprofile/device_info_manager/services/core/src/utils/
H A Dprofile_control_utils.cpp488 std::string profileKey = ProfileUtils::GetProfileKey(dbKey); in GetAllDeviceProfile() local
489 profileEntries[profileKey].emplace(dbKey, dbValue); in GetAllDeviceProfile()
516 std::string profileKey = ProfileUtils::GetProfileKey(dbKey); in GetAllServiceProfile() local
517 profileEntries[profileKey].emplace(dbKey, dbValue); in GetAllServiceProfile()
544 std::string profileKey = ProfileUtils::GetProfileKey(dbKey); in GetAllCharacteristicProfile() local
545 profileEntries[profileKey].emplace(dbKey, dbValue); in GetAllCharacteristicProfile()
H A Dprofile_cache.cpp406 std::string profileKey = ProfileUtils::GenerateCharProfileKey(charProfile.GetDeviceId(), in RefreshCharProfileCache() local
408 charProfileMap_[profileKey] = charProfile; in RefreshCharProfileCache()
/foundation/deviceprofile/device_info_manager/services/core/include/subscribeprofilemanager/
H A Dsubscribe_profile_manager.h60 using Func = int32_t(SubscribeProfileManager::*)(const std::string& profileKey, const std::string& profileValue);
/foundation/deviceprofile/device_info_manager/services/core/test/fuzztest/profileutils_fuzzer/
H A Dprofileutils_fuzzer.cpp259 std::string profileKey(reinterpret_cast<const char*>(data), size); in GenerateDBKeyFuzzTest()
261 ProfileUtils::GenerateDBKey(profileKey, profileProperty); in GenerateDBKeyFuzzTest()
269 std::string dbKey = "profileKey#profileProperty"; in GetProfilePropertyFuzzTest()
/foundation/deviceprofile/device_info_manager/common/include/utils/
H A Dprofile_utils.h82 static std::string GenerateDBKey(const std::string& profileKey, const std::string& profileProperty);
/foundation/deviceprofile/device_info_manager/services/core/src/
H A Ddistributed_device_profile_service_new.cpp680 std::string profileKey = ProfileUtils::GenerateCharProfileKey(item.GetDeviceId(), in AddCharProfilesToCache() local
682 switchProfileMap_[profileKey] = item; in AddCharProfilesToCache()
698 for (const auto& [profileKey, item] : switchProfileMap_) { in SaveSwitchProfilesFromTempCache()
/foundation/deviceprofile/device_info_manager/common/src/utils/
H A Dprofile_utils.cpp688 std::string ProfileUtils::GenerateDBKey(const std::string& profileKey, const std::string& profileProperty) in GenerateDBKey() argument
690 return profileKey + SEPARATOR + profileProperty; in GenerateDBKey()
/foundation/deviceprofile/device_info_manager/services/core/test/unittest/
H A Dprofile_utils_test.cpp885 string profileKey = "profileKey"; in HWTEST_F() local
887 string res = ProfileUtils::GenerateDBKey(profileKey, profileProperty); in HWTEST_F()
888 EXPECT_EQ("profileKey#profileProperty", res); in HWTEST_F()
899 string dbKey = "profileKey#profileProperty"; in HWTEST_F()
901 EXPECT_EQ("profileKey", res); in HWTEST_F()
941 string dbKey = "profileKey#profileProperty"; in HWTEST_F()

Completed in 10 milliseconds