Home
last modified time | relevance | path

Searched refs:STATE_CHANGE_REASON_BATTERY (Results 1 – 3 of 3) sorted by relevance

/base/powermgr/power_manager/test/unittest/src/
Dnative_power_state_machine_test.cpp64 …E(stateMachine->SetState(PowerState::AWAKE, StateChangeReason::STATE_CHANGE_REASON_BATTERY, true));
74 … stateMachine->SetState(PowerState::UNKNOWN, StateChangeReason::STATE_CHANGE_REASON_BATTERY, true);
226 StateChangeReason trigger = StateChangeReason::STATE_CHANGE_REASON_BATTERY;
264 StateChangeReason trigger = StateChangeReason::STATE_CHANGE_REASON_BATTERY;
289 … = stateMachine->SetState(PowerState::AWAKE, StateChangeReason::STATE_CHANGE_REASON_BATTERY, true);
293 …stateMachine->SetState(PowerState::INACTIVE, StateChangeReason::STATE_CHANGE_REASON_BATTERY, true);
/base/powermgr/power_manager/interfaces/inner_api/native/include/
Dpower_state_machine_info.h169 STATE_CHANGE_REASON_BATTERY = 3, enumerator
/base/powermgr/power_manager/services/native/src/
Dpower_state_machine.cpp402 case StateChangeReason::STATE_CHANGE_REASON_BATTERY: in GetReasonTypeString()