Home
last modified time | relevance | path

Searched refs:STATE_CHANGE_REASON_SENSOR (Results 1 – 4 of 4) sorted by relevance

/base/powermgr/power_manager/services/native/src/actions/default/display/
Ddevice_state_action.cpp106 …entState == DisplayState::DISPLAY_OFF && reason != StateChangeReason::STATE_CHANGE_REASON_SENSOR) { in SetDisplayState()
119 reason != StateChangeReason::STATE_CHANGE_REASON_SENSOR) { in SetDisplayState()
161 if (StateChangeReason(reason) != StateChangeReason::STATE_CHANGE_REASON_SENSOR) { in OnDisplayStateChanged()
170 if (StateChangeReason(reason) != StateChangeReason::STATE_CHANGE_REASON_SENSOR) { in OnDisplayStateChanged()
/base/powermgr/power_manager/interfaces/inner_api/native/include/
Dpower_state_machine_info.h178 STATE_CHANGE_REASON_SENSOR = 15, enumerator
/base/powermgr/power_manager/services/native/src/
Drunning_lock_mgr.cpp873 … stateMachine->SetState(PowerState::INACTIVE, StateChangeReason::STATE_CHANGE_REASON_SENSOR, true); in OnClose()
899 … stateMachine->SetState(PowerState::AWAKE, StateChangeReason::STATE_CHANGE_REASON_SENSOR, true); in OnAway()
Dpower_state_machine.cpp420 case StateChangeReason::STATE_CHANGE_REASON_SENSOR: in GetReasonTypeString()
902 ret = StateChangeReason::STATE_CHANGE_REASON_SENSOR; in GetReasonByWakeType()