Home
last modified time | relevance | path

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

/foundation/resourceschedule/device_standby/plugins/message_listener/src/
H A Dinput_manager_listener.cpp57 void InputManagerListener::OnCallbackEvent(int32_t switchValue) in OnCallbackEvent() argument
61 if (switchValue == MMI::SwitchEvent::SWITCH_OFF) { in OnCallbackEvent()
/foundation/resourceschedule/qos_manager/common/src/
H A Dconfig_reader.cpp129 char* switchValue = reinterpret_cast<char*>(xmlNodeGetContent(currNodePtr)); in ParsePowerMode() local
130 if (!switchValue) { in ParsePowerMode()
134 if (strncmp(switchValue, "1", 1) == 0) { in ParsePowerMode()
136 } else if (strncmp(switchValue, "0", 1) == 0) { in ParsePowerMode()
141 xmlFree(switchValue); in ParsePowerMode()
/foundation/resourceschedule/device_standby/plugins/message_listener/include/
H A Dinput_manager_listener.h36 void OnCallbackEvent(int32_t switchValue);
/foundation/deviceprofile/device_info_manager/services/core/src/deviceprofilemanager/listener/
H A Dkv_data_change_listener.cpp205 void KvDataChangeListener::HandleSwitchUpdateChange(const std::string udid, uint32_t switchValue) in HandleSwitchUpdateChange() argument
207 HILOGI("udid: %{public}s, switch: %{public}u", ProfileUtils::GetAnonyString(udid).c_str(), switchValue); in HandleSwitchUpdateChange()
212 std::string itemSwitchValue = std::to_string((switchValue >> i) & NUM_1); in HandleSwitchUpdateChange()
225 ProfileCache::GetInstance().SetCurSwitch(switchValue); in HandleSwitchUpdateChange()
/foundation/deviceprofile/device_info_manager/services/core/include/deviceprofilemanager/listener/
H A Dkv_data_change_listener.h42 void HandleSwitchUpdateChange(const std::string netWorkId, uint32_t switchValue);
/foundation/deviceprofile/device_info_manager/services/core/src/utils/
H A Dprofile_control_utils.cpp393 uint32_t switchValue; in GetSwitchCharacteristicProfile() local
395 res = SwitchAdapter::GetInstance().GetSwitch(appId, netWorkId, switchValue, switchLength); in GetSwitchCharacteristicProfile()
400 HILOGD("GetSwitchCharacteristicProfile GetSwitch success, switchValue: %{public}d", switchValue); in GetSwitchCharacteristicProfile()
404 res = ProfileCache::GetInstance().SetSwitchProfile(charProfile, switchValue); in GetSwitchCharacteristicProfile()
H A Dprofile_cache.cpp623 int32_t ProfileCache::SetSwitchProfile(CharacteristicProfile& charProfile, uint32_t switchValue) in SetSwitchProfile() argument
632 charProfile.SetCharacteristicValue(std::to_string((((switchValue & mask) >> in SetSwitchProfile()
636 curLocalSwitch_ = switchValue; in SetSwitchProfile()
/foundation/deviceprofile/device_info_manager/services/core/include/utils/
H A Dprofile_cache.h80 int32_t SetSwitchProfile(CharacteristicProfile& charProfile, uint32_t switchValue);

Completed in 4 milliseconds