Home
last modified time | relevance | path

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

/base/powermgr/power_manager/services/native/src/
Dpower_state_machine.cpp641 if (this->CheckRunningLock(PowerState::INACTIVE)) { in ResetInactiveTimer()
663 if (!this->CheckRunningLock(PowerState::INACTIVE)) { in HandleActivityTimeout()
684 if (!this->CheckRunningLock(PowerState::INACTIVE)) { in HandleActivityOffTimeout()
700 if (!this->CheckRunningLock(PowerState::SLEEP)) { in HandleActivitySleepTimeout()
722 bool PowerStateMachine::CheckRunningLock(PowerState state) in CheckRunningLock() function in OHOS::PowerMgr::PowerStateMachine
1039 if (!ignoreLock && !owner->CheckRunningLock(GetState())) { in TransitTo()
/base/powermgr/power_manager/services/native/include/
Dpower_state_machine.h191 bool CheckRunningLock(PowerState state);
/base/powermgr/power_manager/test/unittest/src/
Dnative_power_state_machine_test.cpp260 EXPECT_FALSE(stateMachine->CheckRunningLock(PowerState::INACTIVE));