Searched refs:CheckRunningLock (Results 1 – 3 of 3) sorted by relevance
641 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::PowerStateMachine1039 if (!ignoreLock && !owner->CheckRunningLock(GetState())) { in TransitTo()
191 bool CheckRunningLock(PowerState state);
260 EXPECT_FALSE(stateMachine->CheckRunningLock(PowerState::INACTIVE));