Home
last modified time | relevance | path

Searched refs:SWITCH_STATUS (Results 1 - 8 of 8) sorted by relevance

/foundation/deviceprofile/device_info_manager/services/core/src/contentsensormanager/
H A Dswitch_status_collector.cpp116 cJSON* abilityValueItem = cJSON_GetObjectItemCaseSensitive(abilityItem, SWITCH_STATUS.c_str()); in GenerateSwitchProfiles()
123 std::string charKey = ProfileUtils::GenerateCharProfileKey(deviceId, serviceId, SWITCH_STATUS); in GenerateSwitchProfiles()
129 CharacteristicProfile characteristicProfile(deviceId, serviceId, SWITCH_STATUS, charValue); in GenerateSwitchProfiles()
163 const CharacteristicProfile oldSwitchProfile = {localUdid, serviceName, SWITCH_STATUS, itemSwitchValue}; in AddSwitchStatusToDB()
164 std::string charKey = ProfileUtils::GenerateCharProfileKey(localUdid, serviceName, SWITCH_STATUS); in AddSwitchStatusToDB()
/foundation/deviceprofile/device_info_manager/common/src/interfaces/
H A Dcharacteristic_profile.cpp107 if (characteristicKey_ == SWITCH_STATUS) { in dump()
/foundation/deviceprofile/device_info_manager/services/core/src/
H A Ddistributed_device_profile_service_new.cpp327 if (charProfile.GetCharacteristicKey() == SWITCH_STATUS) { in PutCharacteristicProfile()
359 if (profile.GetCharacteristicKey() == SWITCH_STATUS) { in PutCharacteristicProfileBatch()
420 if (characteristicKey == SWITCH_STATUS) { in GetCharacteristicProfile()
663 if (item.GetCharacteristicKey() == SWITCH_STATUS) { in AddCharProfilesToCache()
/foundation/deviceprofile/device_info_manager/services/core/test/unittest/
H A Dprofile_control_utils_test.cpp512 charProfile.SetCharacteristicKey(SWITCH_STATUS); in HWTEST_F()
534 charProfile.SetCharacteristicKey(SWITCH_STATUS); in HWTEST_F()
570 charProfile.SetCharacteristicKey(SWITCH_STATUS); in HWTEST_F()
634 charProfile.SetCharacteristicKey(SWITCH_STATUS); in HWTEST_F()
684 charProfile.SetCharacteristicKey(SWITCH_STATUS); in HWTEST_F()
708 charProfile.SetCharacteristicKey(SWITCH_STATUS); in HWTEST_F()
/foundation/deviceprofile/device_info_manager/services/core/src/deviceprofilemanager/listener/
H A Dkv_data_change_listener.cpp218 res = GenerateSwitchNotify(udid, serviceName, SWITCH_STATUS, in HandleSwitchUpdateChange()
/foundation/deviceprofile/device_info_manager/common/include/constants/
H A Ddistributed_device_profile_constants.h355 const std::string SWITCH_STATUS = "SwitchStatus"; member
/foundation/deviceprofile/device_info_manager/services/core/src/utils/
H A Dprofile_control_utils.cpp359 const CharacteristicProfile newSwitchProfile = {localUdid, serviceName, SWITCH_STATUS, itemSwitchValue}; in RefreshLocalSwitchProfile()
H A Dprofile_cache.cpp603 if (charProfile.GetCharacteristicKey() != SWITCH_STATUS || switchServiceMap.empty()) { in IsSwitchValid()

Completed in 9 milliseconds