Home
last modified time | relevance | path

Searched refs:serviceProfileKey (Results 1 - 3 of 3) sorted by relevance

/foundation/deviceprofile/device_info_manager/services/core/src/utils/
H A Dprofile_cache.cpp124 std::string serviceProfileKey = ProfileUtils::GenerateServiceProfileKey(serviceProfile.GetDeviceId(), in AddServiceProfile() local
132 serviceProfileMap_[serviceProfileKey] = serviceProfile; in AddServiceProfile()
220 std::string serviceProfileKey = ProfileUtils::GenerateServiceProfileKey(deviceId, serviceName); in GetServiceProfile() local
221 if (serviceProfileMap_.find(serviceProfileKey) == serviceProfileMap_.end()) { in GetServiceProfile()
225 serviceProfile = serviceProfileMap_[serviceProfileKey]; in GetServiceProfile()
290 std::string serviceProfileKey = ProfileUtils::GenerateServiceProfileKey(deviceId, serviceName); in DeleteServiceProfile() local
293 serviceProfileMap_.erase(serviceProfileKey); in DeleteServiceProfile()
343 std::string serviceProfileKey = ProfileUtils::GenerateServiceProfileKey(serviceProfile.GetDeviceId(), in IsServiceProfileExist() local
347 if (serviceProfileMap_.find(serviceProfileKey) == serviceProfileMap_.end()) { in IsServiceProfileExist()
351 ServiceProfile serviceProfileCache = serviceProfileMap_[serviceProfileKey]; in IsServiceProfileExist()
[all...]
/foundation/deviceprofile/device_info_manager/common/src/utils/
H A Dprofile_utils.cpp475 std::string serviceProfileKey = GenerateServiceProfileKey(profile.GetDeviceId(), serviceName); in ServiceProfileToEntries() local
477 values[GenerateDBKey(serviceProfileKey, SERVICE_NAME)] = profile.GetServiceName(); in ServiceProfileToEntries()
478 values[GenerateDBKey(serviceProfileKey, SERVICE_TYPE)] = profile.GetServiceType(); in ServiceProfileToEntries()
/foundation/deviceprofile/device_info_manager/services/core/test/unittest/
H A Dprofile_control_utils_test.cpp939 std::string serviceProfileKey = SVR_PREFIX + SEPARATOR + deviceId + SEPARATOR + serviceName; in HWTEST_F() local
940 ProfileCache::GetInstance().serviceProfileMap_[serviceProfileKey] = serviceProfile; in HWTEST_F()

Completed in 6 milliseconds