Searched refs:deviceProfileKey (Results 1 – 2 of 2) sorted by relevance
105 …std::string deviceProfileKey = ProfileUtils::GenerateDeviceProfileKey(deviceProfile.GetDeviceId()); in AddDeviceProfile() local112 deviceProfileMap_[deviceProfileKey] = deviceProfile; in AddDeviceProfile()197 std::string deviceProfileKey = ProfileUtils::GenerateDeviceProfileKey(deviceId); in GetDeviceProfile() local198 if (deviceProfileMap_.find(deviceProfileKey) == deviceProfileMap_.end()) { in GetDeviceProfile()202 deviceProfile = deviceProfileMap_[deviceProfileKey]; in GetDeviceProfile()272 std::string deviceProfileKey = ProfileUtils::GenerateDeviceProfileKey(deviceId); in DeleteDeviceProfile() local275 deviceProfileMap_.erase(deviceProfileKey); in DeleteDeviceProfile()316 …std::string deviceProfileKey = ProfileUtils::GenerateDeviceProfileKey(deviceProfile.GetDeviceId()); in IsDeviceProfileExist() local319 if (deviceProfileMap_.find(deviceProfileKey) == deviceProfileMap_.end()) { in IsDeviceProfileExist()323 DeviceProfile deviceProfileCache = deviceProfileMap_[deviceProfileKey]; in IsDeviceProfileExist()
463 std::string deviceProfileKey = GenerateDeviceProfileKey(profile.GetDeviceId()); in DeviceProfileToEntries() local464 values[GenerateDBKey(deviceProfileKey, OS_SYS_CAPACITY)] = profile.GetOsSysCap(); in DeviceProfileToEntries()465 values[GenerateDBKey(deviceProfileKey, OS_VERSION)] = profile.GetOsVersion(); in DeviceProfileToEntries()466 values[GenerateDBKey(deviceProfileKey, OS_TYPE)] = std::to_string(profile.GetOsType()); in DeviceProfileToEntries()467 … values[GenerateDBKey(deviceProfileKey, OS_VERSION + OH_PROFILE_SUFFIX)] = profile.GetOsVersion(); in DeviceProfileToEntries()468 …values[GenerateDBKey(deviceProfileKey, OS_TYPE + OH_PROFILE_SUFFIX)] = std::to_string(profile.GetO… in DeviceProfileToEntries()