Searched refs:curPhase (Results 1 - 9 of 9) sorted by relevance
/foundation/resourceschedule/device_standby/plugins/ext/include/ |
H A D | base_state.h | 49 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 D | base_state.cpp | 91 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 D | dark_state.cpp | 29 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 D | nap_state.cpp | 28 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 D | sleep_state.cpp | 35 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 D | nap_state.h | 25 NapState(uint32_t curState, uint32_t curPhase, const std::shared_ptr<IStateManagerAdapter>&
|
H A D | dark_state.h | 26 DarkState(uint32_t curState, uint32_t curPhase, const std::shared_ptr<IStateManagerAdapter>& stateManager,
|
H A D | sleep_state.h | 25 SleepState(uint32_t curState, uint32_t curPhase, const std::shared_ptr<IStateManagerAdapter>&
|
/foundation/resourceschedule/device_standby/plugins/strategy/src/ |
H A D | running_lock_strategy.cpp | 137 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