Searched refs:switchValue (Results 1 - 8 of 8) sorted by relevance
/foundation/resourceschedule/device_standby/plugins/message_listener/src/ |
H A D | input_manager_listener.cpp | 57 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 D | config_reader.cpp | 129 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 D | input_manager_listener.h | 36 void OnCallbackEvent(int32_t switchValue);
|
/foundation/deviceprofile/device_info_manager/services/core/src/deviceprofilemanager/listener/ |
H A D | kv_data_change_listener.cpp | 205 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 D | kv_data_change_listener.h | 42 void HandleSwitchUpdateChange(const std::string netWorkId, uint32_t switchValue);
|
/foundation/deviceprofile/device_info_manager/services/core/src/utils/ |
H A D | profile_control_utils.cpp | 393 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 D | profile_cache.cpp | 623 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 D | profile_cache.h | 80 int32_t SetSwitchProfile(CharacteristicProfile& charProfile, uint32_t switchValue);
|
Completed in 4 milliseconds