/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/test/unittest/ |
H A D | profile_cache_test.cpp | 123 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 D | dp_profile_service_test.cpp | 212 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 D | profile_utils_test.cpp | 265 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 D | switch_status_collector.cpp | 123 … 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 D | profile_cache.h | 59 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 D | profile_cache.cpp | 227 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 D | profileutils_fuzzer.cpp | 126 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 D | profile_utils.h | 66 const std::string& charKey);
|
/ohos5.0/foundation/deviceprofile/device_info_manager/common/src/utils/ |
H A D | profile_utils.cpp | 401 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 D | distributed_want_test.cpp | 1112 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 D | want_test.cpp | 821 std::string charKey = "charKey"; in AddCharParams() local 826 key = charKey + std::to_string(i); in AddCharParams()
|