Home
last modified time | relevance | path

Searched refs:charKey (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/test/unittest/
H A Dprofile_cache_test.cpp123 std::string charKey = "dp_charKey"; variable
124 charProfile.SetCharacteristicKey(charKey);
145 charKey = "dp_charKey";
146 charProfile.SetCharacteristicKey(charKey);
200 std::string charKey = ""; variable
213 charKey = "dp_charKey";
270 std::string charKey = ""; variable
282 charKey = "dp_charKey";
377 std::string charKey = "dp_charKey"; variable
378 charProfile.SetCharacteristicKey(charKey);
[all …]
H A Ddp_profile_service_test.cpp212 std::string charKey = "charKey_test"; variable
214 CharacteristicProfile charProfile(devid, serName, charKey, characteristicValue);
243 std::string charKey = ""; variable
247 … serName, charKey, charProfile);
263 std::string charKey = ""; variable
265 …ributedDeviceProfileServiceNew::GetInstance().DeleteCharacteristicProfile(devid, serName, charKey);
H A Dprofile_utils_test.cpp265 string charKey = "char111"; variable
266 res = ProfileUtils::GetProfileType(charKey);
353 string charKey = "333"; variable
354 string res = ProfileUtils::GenerateCharProfileKey(deviceId, serviceName, charKey);
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/src/contentsensormanager/
H A Dswitch_status_collector.cpp123 … std::string charKey = ProfileUtils::GenerateCharProfileKey(deviceId, serviceId, SWITCH_STATUS); in GenerateSwitchProfiles() local
164 … std::string charKey = ProfileUtils::GenerateCharProfileKey(localUdid, serviceName, SWITCH_STATUS); in AddSwitchStatusToDB() local
165 oldProfileMap[charKey] = oldSwitchProfile; in AddSwitchStatusToDB()
168 …std::string charKey = ProfileUtils::GenerateCharProfileKey(profile.GetDeviceId(), profile.GetServi… in AddSwitchStatusToDB() local
170 auto iter = oldProfileMap.find(charKey); in AddSwitchStatusToDB()
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/include/utils/
H A Dprofile_cache.h59 const std::string& charKey, CharacteristicProfile& charProfile);
61 const std::string& charKey, CharacteristicProfile& charProfile);
64 …arProfile(const std::string& deviceId, const std::string& serviceName, const std::string& charKey);
88 bool IsCharProfileKeyExist(const std::string& charKey);
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/src/utils/
H A Dprofile_cache.cpp227 const std::string& charKey, CharacteristicProfile& charProfile) in GetCharacteristicProfile() argument
230 !ProfileUtils::IsKeyValid(charKey)) { in GetCharacteristicProfile()
236 … std::string charProfileKey = ProfileUtils::GenerateCharProfileKey(deviceId, serviceName, charKey); in GetCharacteristicProfile()
247 const std::string& charKey, CharacteristicProfile& charProfile) in GetStaticCharacteristicProfile() argument
250 !ProfileUtils::IsKeyValid(charKey)) { in GetStaticCharacteristicProfile()
295 const std::string& charKey) in DeleteCharProfile() argument
298 !ProfileUtils::IsKeyValid(charKey)) { in DeleteCharProfile()
302 … std::string charProfileKey = ProfileUtils::GenerateCharProfileKey(deviceId, serviceName, charKey); in DeleteCharProfile()
772 bool ProfileCache::IsCharProfileKeyExist(const std::string& charKey) in IsCharProfileKeyExist() argument
774 if (charKey.empty()) { in IsCharProfileKeyExist()
[all …]
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/test/fuzztest/profileutils_fuzzer/
H A Dprofileutils_fuzzer.cpp126 std::string charKey(reinterpret_cast<const char*>(data), size); in GenerateCharProfileKeyFuzzTest()
127 ProfileUtils::GenerateCharProfileKey(deviceId, serviceName, charKey); in GenerateCharProfileKeyFuzzTest()
/ohos5.0/foundation/deviceprofile/device_info_manager/common/include/utils/
H A Dprofile_utils.h66 const std::string& charKey);
/ohos5.0/foundation/deviceprofile/device_info_manager/common/src/utils/
H A Dprofile_utils.cpp401 const std::string& charKey) in GenerateCharProfileKey() argument
403 return CHAR_PREFIX + SEPARATOR + deviceId + SEPARATOR + serviceName + SEPARATOR + charKey; in GenerateCharProfileKey()
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/distributedWant/
H A Ddistributed_want_test.cpp1112 std::string charKey = "charKey"; in AddCharParams() local
1117 key = charKey + std::to_string(i); in AddCharParams()
/ohos5.0/foundation/ability/ability_base/test/unittest/want/
H A Dwant_test.cpp821 std::string charKey = "charKey"; in AddCharParams() local
826 key = charKey + std::to_string(i); in AddCharParams()