Searched refs:SLEEP (Results 1 – 10 of 10) sorted by relevance
/base/powermgr/power_manager/test/systemtest/src/ |
D | power_mgr_st_suspend_test.cpp | 45 PowerState::SLEEP, stateMachine_->GetReasionBySuspendType(reason)); in HandleAutoSleep() 73 EXPECT_EQ(PowerState::SLEEP, pms->GetState()); 107 EXPECT_EQ(PowerState::SLEEP, pms->GetState()); 138 EXPECT_EQ(PowerState::SLEEP, pms->GetState()); 144 EXPECT_EQ(PowerState::SLEEP, pms->GetState()); 174 EXPECT_EQ(PowerState::SLEEP, pms->GetState());
|
D | power_mgr_st_mock_test.cpp | 236 EXPECT_EQ(PowerState::SLEEP, pms->GetState()); 271 EXPECT_EQ(PowerState::SLEEP, pms->GetState()); 353 EXPECT_EQ(PowerState::SLEEP, pms->GetState()); 484 EXPECT_EQ(PowerState::SLEEP, pms->GetState()); 542 EXPECT_TRUE(pms->GetState() == PowerState::INACTIVE || pms->GetState() == PowerState::SLEEP); 553 EXPECT_TRUE(pms->GetState() == PowerState::INACTIVE || pms->GetState() == PowerState::SLEEP);
|
/base/powermgr/power_manager/test/unittest/src/ |
D | power_state_level_framework_test.cpp | 60 EXPECT_TRUE(static_cast<uint32_t>(PowerState::SLEEP) == SLEEP) << "PowerState SLEEP correct"; 150 …auto ret = g_stateMachineTest->SetState(PowerState::SLEEP, StateChangeReason::STATE_CHANGE_REASON_… 152 EXPECT_TRUE(g_stateMachineTest->GetState() == PowerState::SLEEP);
|
D | power_suspend_test.cpp | 328 EXPECT_TRUE(pmsTest_->suspendController_->stateMachine_->GetState() == PowerState::SLEEP); 351 EXPECT_TRUE(pmsTest_->suspendController_->stateMachine_->GetState() == PowerState::SLEEP);
|
/base/powermgr/power_manager/test/unittest/include/ |
D | power_state_level_framework_test.h | 28 constexpr uint32_t SLEEP = 5; variable
|
/base/powermgr/power_manager/interfaces/inner_api/native/include/ |
D | power_state_machine_info.h | 85 SLEEP, enumerator
|
/base/powermgr/power_manager/services/native/src/ |
D | power_state_machine.cpp | 62 … lockMap_.emplace(PowerState::SLEEP, std::make_shared<std::vector<RunningLockType>>(sleepBlocker)); in PowerStateMachine() 167 controllerMap_.emplace(PowerState::SLEEP, in EmplaceSleep() 168 …std::make_shared<StateController>(PowerState::SLEEP, shared_from_this(), [this](StateChangeReason … in EmplaceSleep() 331 currentState_ = PowerState::SLEEP; in ForceSuspendDeviceInner() 458 case PowerState::SLEEP: in GetPowerStateString() 700 if (!this->CheckRunningLock(PowerState::SLEEP)) { in HandleActivitySleepTimeout() 706 SetState(PowerState::SLEEP, StateChangeReason::STATE_CHANGE_REASON_TIMEOUT); in HandleActivitySleepTimeout() 1088 …if (GetState() == PowerState::SLEEP || currentState == PowerState::SLEEP || GetState() == PowerSta… in MatchState()
|
/base/powermgr/power_manager/services/native/src/suspend/ |
D | suspend_controller.cpp | 309 PowerState::SLEEP, stateMachine_->GetReasionBySuspendType(reason)); in HandleAutoSleep() 326 PowerState::SLEEP, stateMachine_->GetReasionBySuspendType(reason), true); in HandleForceSleep()
|
/base/theme/screenlock_mgr/test/unittest/ |
D | screenlock_service_test.cpp | 139 DisplayPowerEvent event = DisplayPowerEvent::SLEEP; 227 DisplayPowerEvent event = DisplayPowerEvent::SLEEP;
|
/base/theme/screenlock_mgr/services/src/ |
D | screenlock_system_ability.cpp | 193 } else if (event == DisplayPowerEvent::SLEEP) { in OnDisplayPowerEvent() 205 } else if (event == DisplayPowerEvent::SLEEP) { in OnDisplayPowerEvent()
|