Searched refs:suspendController_ (Results 1 – 7 of 7) sorted by relevance
93 …<SuspendPowerStateCallback> callback = new SuspendPowerStateCallback(pmsTest_->suspendController_);118 …pmsTest_->suspendController_->ExecSuspendMonitorByReason(SuspendDeviceType ::SUSPEND_DEVICE_REASON…120 …auto monitor = pmsTest_->suspendController_->monitorMap_[SuspendDeviceType ::SUSPEND_DEVICE_REASON…143 pmsTest_->suspendController_->RegisterSettingsObserver();144 EXPECT_TRUE(pmsTest_->suspendController_ != nullptr);165 pmsTest_->suspendController_->Execute();166 EXPECT_TRUE(pmsTest_->suspendController_ != nullptr);233 …pmsTest_->suspendController_->stateMachine_->stateAction_->SetDisplayState(DisplayState::DISPLAY_O…234 pmsTest_->suspendController_->RecordPowerKeyDown();236 …pmsTest_->suspendController_->stateMachine_->stateAction_->GetDisplayState() == DisplayState::DISP…[all …]
60 vector<SuspendSource>::iterator itb = pmsTest_->suspendController_->sourceList_.begin(); in TestPowerSuspend()61 vector<SuspendSource>::iterator ite = pmsTest_->suspendController_->sourceList_.end(); in TestPowerSuspend()122 pmsTest_->suspendController_->Init();
162 std::shared_ptr<SuspendController> suspendController_ = variable164 suspendController_->ControlListener(SuspendDeviceType::SUSPEND_DEVICE_REASON_POWER_KEY, 1, 0);
174 std::shared_ptr<SuspendController> suspendController_ = nullptr; member in OHOS::PowerMgr::PowerMgrService
154 pmsTest_->suspendController_->stateMachine_->controllerMap_.clear();
342 if (suspendController_) { in OnStop()343 suspendController_->StopSleep(); in OnStop()411 if (suspendController_) { in RebootDeviceForDeprecated()412 suspendController_->StopSleep(); in RebootDeviceForDeprecated()440 if (suspendController_) { in ShutDownDevice()441 suspendController_->StopSleep(); in ShutDownDevice()885 if (!suspendController_) { in SuspendControllerInit()886 … suspendController_ = std::make_shared<SuspendController>(shutdownController_, powerStateMachine_); in SuspendControllerInit()888 suspendController_->Init(); in SuspendControllerInit()
117 return suspendController_; in GetSuspendController()163 std::shared_ptr<SuspendController> suspendController_ = nullptr; variable