/foundation/deviceprofile/device_info_manager/services/core/test/unittest/ |
H A D | profile_cache_test.cpp | 123 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 D | dp_profile_service_test.cpp | 212 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 D | profile_utils_test.cpp | 265 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 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.GetServiceName(), in AddSwitchStatusToDB() local 170 auto iter = oldProfileMap.find(charKey); in AddSwitchStatusToDB()
|
/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 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 D | profile_cache.cpp | 231 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 D | profileutils_fuzzer.cpp | 126 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 D | profile_utils.h | 66 const std::string& charKey);
|
/foundation/deviceprofile/device_info_manager/common/src/utils/ |
H A D | profile_utils.cpp | 401 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 D | distributed_want_test.cpp | 1098 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 D | want_test.cpp | 821 std::string charKey = "charKey"; in AddCharParams() local 826 key = charKey + std::to_string(i); in AddCharParams()
|