Home
last modified time | relevance | path

Searched refs:curPhase (Results 1 - 9 of 9) sorted by relevance

/foundation/resourceschedule/device_standby/plugins/ext/include/
H A Dbase_state.h49 ConstraintEvalParam(uint32_t curState, uint32_t curPhase, uint32_t nextState, uint32_t nextPhase) in ConstraintEvalParam()
50 : curState_(curState), curPhase_(curPhase), nextState_(nextState), nextPhase_(nextPhase) {} in ConstraintEvalParam()
66 BaseState(uint32_t curState, uint32_t curPhase, const std::shared_ptr<IStateManagerAdapter>& in BaseState() argument
68 curPhase_(curPhase), stateManager_(stateManager), handler_(handler) {} in BaseState()
80 virtual void TransitToPhase(uint32_t curPhase, uint32_t nextPhase);
81 virtual void TransitToPhaseInner(uint32_t prePhase, uint32_t curPhase);
/foundation/resourceschedule/device_standby/plugins/ext/src/
H A Dbase_state.cpp91 void BaseState::TransitToPhase(uint32_t curPhase, uint32_t nextPhase) in TransitToPhase() argument
93 ConstraintEvalParam params{curState_, curPhase, curState_, nextPhase}; in TransitToPhase()
97 void BaseState::TransitToPhaseInner(uint32_t prePhase, uint32_t curPhase) in TransitToPhaseInner() argument
108 message.want_->SetParam(CURRENT_PHASE, static_cast<int32_t>(curPhase)); in TransitToPhaseInner()
111 static_cast<int32_t>(prePhase), static_cast<int32_t>(curPhase)); in TransitToPhaseInner()
/foundation/resourceschedule/device_standby/plugins/standby_state/src/
H A Ddark_state.cpp29 DarkState::DarkState(uint32_t curState, uint32_t curPhase, const std::shared_ptr<IStateManagerAdapter>& in DarkState() argument
30 stateManager, std::shared_ptr<AppExecFwk::EventHandler>& handler): BaseState(curState, curPhase, in DarkState()
H A Dnap_state.cpp28 NapState::NapState(uint32_t curState, uint32_t curPhase, const std::shared_ptr<IStateManagerAdapter>& in NapState() argument
29 stateManager, std::shared_ptr<AppExecFwk::EventHandler>& handler): BaseState(curState, curPhase, in NapState()
H A Dsleep_state.cpp35 SleepState::SleepState(uint32_t curState, uint32_t curPhase, const std::shared_ptr<IStateManagerAdapter>& in SleepState() argument
37 curPhase, stateManager, handler) in SleepState()
/foundation/resourceschedule/device_standby/plugins/standby_state/include/
H A Dnap_state.h25 NapState(uint32_t curState, uint32_t curPhase, const std::shared_ptr<IStateManagerAdapter>&
H A Ddark_state.h26 DarkState(uint32_t curState, uint32_t curPhase, const std::shared_ptr<IStateManagerAdapter>& stateManager,
H A Dsleep_state.h25 SleepState(uint32_t curState, uint32_t curPhase, const std::shared_ptr<IStateManagerAdapter>&
/foundation/resourceschedule/device_standby/plugins/strategy/src/
H A Drunning_lock_strategy.cpp137 uint32_t curPhase = static_cast<uint32_t>(message.want_->GetIntParam(CURRENT_PHASE, 0)); in StartProxy() local
139 if ((curState != StandbyState::SLEEP) || (curPhase != SleepStatePhase::APP_RES_DEEP)) { in StartProxy()
143 curPhase, curPhase); in StartProxy()

Completed in 4 milliseconds