Home
last modified time | relevance | path

Searched refs:RUNNINGLOCK_STATE_DISABLE (Results 1 – 5 of 5) sorted by relevance

/base/powermgr/power_manager/services/native/include/
Drunning_lock_inner.h28 RUNNINGLOCK_STATE_DISABLE = 0, enumerator
99 RunningLockState state_ = RunningLockState::RUNNINGLOCK_STATE_DISABLE;
/base/powermgr/battery_statistics/utils/native/include/
Dstats_types.h38 RUNNINGLOCK_STATE_DISABLE = 0, enumerator
/base/powermgr/power_manager/test/unittest/src/
Drunning_lock_mock_test.cpp634 EXPECT_TRUE(audioLock->GetState() == RunningLockState::RUNNINGLOCK_STATE_DISABLE);
635 EXPECT_TRUE(sportLock->GetState() == RunningLockState::RUNNINGLOCK_STATE_DISABLE);
646 EXPECT_TRUE(audioLock->GetState() == RunningLockState::RUNNINGLOCK_STATE_DISABLE);
647 EXPECT_TRUE(sportLock->GetState() == RunningLockState::RUNNINGLOCK_STATE_DISABLE);
692 EXPECT_TRUE(naviLock->GetState() == RunningLockState::RUNNINGLOCK_STATE_DISABLE);
702 EXPECT_TRUE(naviLock->GetState() == RunningLockState::RUNNINGLOCK_STATE_DISABLE);
746 EXPECT_TRUE(taskLock->GetState() == RunningLockState::RUNNINGLOCK_STATE_DISABLE);
756 EXPECT_TRUE(taskLock->GetState() == RunningLockState::RUNNINGLOCK_STATE_DISABLE);
800 EXPECT_TRUE(taskLock->GetState() == RunningLockState::RUNNINGLOCK_STATE_DISABLE);
/base/powermgr/power_manager/services/native/src/
Drunning_lock_mgr.cpp321 if (lockInner->GetState() == RunningLockState::RUNNINGLOCK_STATE_DISABLE) { in UnLock()
333 lockInner->SetState(RunningLockState::RUNNINGLOCK_STATE_DISABLE); in UnLock()
523 lockInner->SetState(RunningLockState::RUNNINGLOCK_STATE_DISABLE); in LockInnerByProxy()
541 if (lastState == RunningLockState::RUNNINGLOCK_STATE_DISABLE) { in UnlockInnerByProxy()
/base/powermgr/battery_statistics/services/native/src/
Dbattery_stats_listener.cpp382 case RunningLockState::RUNNINGLOCK_STATE_DISABLE: { in ProcessWakelockEvent()