Home
last modified time | relevance | path

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

/foundation/deviceprofile/device_info_manager/services/core/test/unittest/
H A Dprofile_cache_test.cpp123 std::string charKey = "dp_charKey"; in HWTEST_F() local
124 charProfile.SetCharacteristicKey(charKey); in HWTEST_F()
145 charKey = "dp_charKey"; in HWTEST_F()
146 charProfile.SetCharacteristicKey(charKey); in HWTEST_F()
200 std::string charKey = ""; in HWTEST_F() local
202 int32_t ret = ProfileCache::GetInstance().GetCharacteristicProfile(devId, serName, charKey, charProfile); in HWTEST_F()
206 ret = ProfileCache::GetInstance().GetCharacteristicProfile(devId, serName, charKey, charProfile); in HWTEST_F()
210 ret = ProfileCache::GetInstance().GetCharacteristicProfile(devId, serName, charKey, charProfile); in HWTEST_F()
213 charKey = "dp_charKey"; in HWTEST_F()
214 ret = ProfileCache::GetInstance().GetCharacteristicProfile(devId, serName, charKey, charProfil in HWTEST_F()
270 std::string charKey = ""; HWTEST_F() local
377 std::string charKey = "dp_charKey"; HWTEST_F() local
411 std::string charKey = "dp_charKey"; HWTEST_F() local
[all...]
H A Ddp_profile_service_test.cpp212 std::string charKey = "charKey_test"; in HWTEST_F() local
214 CharacteristicProfile charProfile(devid, serName, charKey, characteristicValue); in HWTEST_F()
243 std::string charKey = ""; in HWTEST_F() local
247 serName, charKey, charProfile); in HWTEST_F()
263 std::string charKey = ""; in HWTEST_F() local
265 DistributedDeviceProfileServiceNew::GetInstance().DeleteCharacteristicProfile(devid, serName, charKey); in HWTEST_F()
H A Dprofile_utils_test.cpp265 string charKey = "char111"; in HWTEST_F() local
266 res = ProfileUtils::GetProfileType(charKey); in HWTEST_F()
353 string charKey = "333"; in HWTEST_F() local
354 string res = ProfileUtils::GenerateCharProfileKey(deviceId, serviceName, charKey); in HWTEST_F()
/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.GetServiceName(), in AddSwitchStatusToDB() local
170 auto iter = oldProfileMap.find(charKey); in AddSwitchStatusToDB()
/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 int32_t DeleteCharProfile(const std::string& deviceId, const std::string& serviceName, const std::string& charKey);
88 bool IsCharProfileKeyExist(const std::string& charKey);
/foundation/deviceprofile/device_info_manager/services/core/src/utils/
H A Dprofile_cache.cpp231 const std::string& charKey, CharacteristicProfile& charProfile) in GetCharacteristicProfile()
234 !ProfileUtils::IsKeyValid(charKey)) { in GetCharacteristicProfile()
240 std::string charProfileKey = ProfileUtils::GenerateCharProfileKey(deviceId, serviceName, charKey); in GetCharacteristicProfile()
251 const std::string& charKey, CharacteristicProfile& charProfile) in GetStaticCharacteristicProfile()
254 !ProfileUtils::IsKeyValid(charKey)) { in GetStaticCharacteristicProfile()
260 std::string charProfileKey = ProfileUtils::GenerateCharProfileKey(deviceId, serviceName, charKey); in GetStaticCharacteristicProfile()
299 const std::string& charKey) in DeleteCharProfile()
302 !ProfileUtils::IsKeyValid(charKey)) { in DeleteCharProfile()
306 std::string charProfileKey = ProfileUtils::GenerateCharProfileKey(deviceId, serviceName, charKey); in DeleteCharProfile()
784 bool ProfileCache::IsCharProfileKeyExist(const std::string& charKey) in IsCharProfileKeyExist() argument
230 GetCharacteristicProfile(const std::string& deviceId, const std::string& serviceName, const std::string& charKey, CharacteristicProfile& charProfile) GetCharacteristicProfile() argument
250 GetStaticCharacteristicProfile(const std::string& deviceId, const std::string& serviceName, const std::string& charKey, CharacteristicProfile& charProfile) GetStaticCharacteristicProfile() argument
298 DeleteCharProfile(const std::string& deviceId, const std::string& serviceName, const std::string& charKey) DeleteCharProfile() argument
[all...]
/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()
/foundation/deviceprofile/device_info_manager/common/include/utils/
H A Dprofile_utils.h66 const std::string& charKey);
/foundation/deviceprofile/device_info_manager/common/src/utils/
H A Dprofile_utils.cpp401 const std::string& charKey) in GenerateCharProfileKey()
403 return CHAR_PREFIX + SEPARATOR + deviceId + SEPARATOR + serviceName + SEPARATOR + charKey; in GenerateCharProfileKey()
400 GenerateCharProfileKey(const std::string& deviceId, const std::string& serviceName, const std::string& charKey) GenerateCharProfileKey() argument
/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/distributedWant/
H A Ddistributed_want_test.cpp1098 std::string charKey = "charKey"; in AddCharParams() local
1103 key = charKey + std::to_string(i); in AddCharParams()
/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()

Completed in 21 milliseconds