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 D | profile_change_handler.cpp | 60 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 D | profile_control_utils.cpp | 475 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 D | profile_cache.cpp | 402 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 D | subscribe_profile_manager.h | 60 …using Func = int32_t(SubscribeProfileManager::*)(const std::string& profileKey, const std::string&…
|
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/src/ |
H A D | distributed_device_profile_service_new.cpp | 672 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 D | profileutils_fuzzer.cpp | 259 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 D | profile_utils.h | 82 …static std::string GenerateDBKey(const std::string& profileKey, const std::string& profileProperty…
|
/ohos5.0/foundation/deviceprofile/device_info_manager/common/src/utils/ |
H A D | profile_utils.cpp | 688 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 D | profile_utils_test.cpp | 885 string profileKey = "profileKey"; variable 887 string res = ProfileUtils::GenerateDBKey(profileKey, profileProperty);
|