Searched refs:StateController (Results 1 - 3 of 3) sorted by relevance
/base/powermgr/power_manager/services/native/src/ |
H A D | power_state_machine.cpp | 240 std::make_shared<StateController>(PowerState::AWAKE, shared_from_this(), [this](StateChangeReason reason) { in EmplaceAwake() 268 std::make_shared<StateController>(PowerState::FREEZE, shared_from_this(), [this](StateChangeReason reason) { in EmplaceFreeze() 278 std::make_shared<StateController>(PowerState::INACTIVE, shared_from_this(), [this](StateChangeReason reason) { in EmplaceInactive() 305 std::make_shared<StateController>(PowerState::STAND_BY, shared_from_this(), [this](StateChangeReason reason) { in EmplaceStandBy() 316 std::make_shared<StateController>(PowerState::DOZE, shared_from_this(), [this](StateChangeReason reason) { in EmplaceDoze() 327 std::make_shared<StateController>(PowerState::SLEEP, shared_from_this(), [this](StateChangeReason reason) { in EmplaceSleep() 337 std::make_shared<StateController>(PowerState::HIBERNATE, shared_from_this(), [this](StateChangeReason reason) { in EmplaceHibernate() 346 std::make_shared<StateController>(PowerState::SHUTDOWN, shared_from_this(), [this](StateChangeReason reason) { in EmplaceShutdown() 356 std::make_shared<StateController>(PowerState::DIM, shared_from_this(), [this](StateChangeReason reason) { in EmplaceDim() 1559 !StateController in WakeupDeviceInner() [all...] |
/base/powermgr/power_manager/services/native/include/ |
H A D | power_state_machine.h | 249 class StateController { class in OHOS::PowerMgr::TransitResult::PowerStateMachine::SettingStateFlag 251 StateController(PowerState state, std::shared_ptr<PowerStateMachine> owner, in StateController() function in OHOS::PowerMgr::TransitResult::PowerStateMachine::SettingStateFlag::StateController 257 ~StateController() = default; 326 std::shared_ptr<StateController> GetStateController(PowerState state); 346 std::map<PowerState, std::shared_ptr<StateController>> controllerMap_;
|
/base/powermgr/power_manager/test/unittest/src/ |
H A D | native_power_state_machine_test.cpp | 258 auto stateMachineController = std::make_shared<PowerStateMachine::StateController>( in HWTEST_F() 275 auto stateMachineController2 = std::make_shared<PowerStateMachine::StateController>( in HWTEST_F() 297 auto stateMachineController = std::make_shared<PowerStateMachine::StateController>( in HWTEST_F()
|
Completed in 4 milliseconds