Home
last modified time | relevance | path

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

/ohos5.0/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 = ProfileKey::Parse(entry.key.ToString()); in ConvertEntry() local
[all …]
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/src/utils/
H A Dprofile_control_utils.cpp475 std::string profileKey = ProfileUtils::GetProfileKey(dbKey); in GetAllDeviceProfile() local
476 profileEntries[profileKey].emplace(dbKey, dbValue); in GetAllDeviceProfile()
503 std::string profileKey = ProfileUtils::GetProfileKey(dbKey); in GetAllServiceProfile() local
504 profileEntries[profileKey].emplace(dbKey, dbValue); in GetAllServiceProfile()
531 std::string profileKey = ProfileUtils::GetProfileKey(dbKey); in GetAllCharacteristicProfile() local
532 profileEntries[profileKey].emplace(dbKey, dbValue); in GetAllCharacteristicProfile()
H A Dprofile_cache.cpp402 std::string profileKey = ProfileUtils::GenerateCharProfileKey(charProfile.GetDeviceId(), in RefreshCharProfileCache() local
404 charProfileMap_[profileKey] = charProfile; in RefreshCharProfileCache()
/ohos5.0/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&…
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/src/
H A Ddistributed_device_profile_service_new.cpp672 std::string profileKey = ProfileUtils::GenerateCharProfileKey(item.GetDeviceId(), in AddCharProfilesToCache() local
674 switchProfileMap_[profileKey] = item; in AddCharProfilesToCache()
690 for (const auto& [profileKey, item] : switchProfileMap_) { in SaveSwitchProfilesFromTempCache()
/ohos5.0/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()
/ohos5.0/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…
/ohos5.0/foundation/deviceprofile/device_info_manager/common/src/utils/
H A Dprofile_utils.cpp688 std::string ProfileUtils::GenerateDBKey(const std::string& profileKey, const std::string& profilePr… in GenerateDBKey() argument
690 return profileKey + SEPARATOR + profileProperty; in GenerateDBKey()
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/test/unittest/
H A Dprofile_utils_test.cpp885 string profileKey = "profileKey"; variable
887 string res = ProfileUtils::GenerateDBKey(profileKey, profileProperty);