Searched refs:SystemProcessState (Results 1 – 9 of 9) sorted by relevance
37 …processStateHandlerMap_[SystemProcessState::NOT_STARTED] = std::make_shared<NotStartedStateHandler… in InitStateHandlerMap()38 …processStateHandlerMap_[SystemProcessState::STARTED] = std::make_shared<StartedStateHandler>(liste… in InitStateHandlerMap()39 …processStateHandlerMap_[SystemProcessState::STOPPING] = std::make_shared<StoppingStateHandler>(lis… in InitStateHandlerMap()104 SystemProcessState nextState) in ProcessStateTransitionLocked()119 SystemProcessState currentState = context->state; in ProcessStateTransitionLocked()217 bool NotStartedStateHandler::CanEnter(SystemProcessState fromState) in CanEnter()219 return fromState != SystemProcessState::NOT_STARTED; in CanEnter()232 bool StartedStateHandler::CanEnter(SystemProcessState fromState) in CanEnter()234 return fromState == SystemProcessState::NOT_STARTED; in CanEnter()247 bool StoppingStateHandler::CanEnter(SystemProcessState fromState) in CanEnter()[all …]
158 case SystemProcessState::NOT_STARTED: in HandleProcessStartedEventLocked()159 … result = stateMachine_->ProcessStateTransitionLocked(context, SystemProcessState::STARTED); in HandleProcessStartedEventLocked()176 case SystemProcessState::STARTED: in HandleProcessStoppedEventLocked()177 case SystemProcessState::STOPPING: in HandleProcessStoppedEventLocked()178 … result = stateMachine_->ProcessStateTransitionLocked(context, SystemProcessState::NOT_STARTED); in HandleProcessStoppedEventLocked()
136 processContext->state = SystemProcessState::STARTED; in InitSamgrProcessContext()238 || abilityContext->ownProcessContext->state == SystemProcessState::STOPPING) { in IsSystemAbilityUnloading()252 if (abilityContext->ownProcessContext->state == SystemProcessState::NOT_STARTED) { in HandleLoadAbilityEvent()256 if (abilityContext->ownProcessContext->state == SystemProcessState::STARTED in HandleLoadAbilityEvent()291 || abilityContext->ownProcessContext->state == SystemProcessState::STOPPING) { in HandleLoadAbilityEventLocked()658 if (processContext->state == SystemProcessState::STOPPING) { in PostUnloadTimeoutTask()717 … return stateMachine_->ProcessStateTransitionLocked(processContext, SystemProcessState::STOPPING); in UnloadAllSystemAbilityLocked()974 if (abilityContext->ownProcessContext->state == SystemProcessState::STOPPING) { in OnAbilityNotLoadedLocked()976 } else if (abilityContext->ownProcessContext->state == SystemProcessState::STARTED) { in OnAbilityNotLoadedLocked()1027 if (processContext->state == SystemProcessState::STARTED) { in GetRunningSystemProcess()
83 virtual bool CanEnter(SystemProcessState fromState) = 0;93 bool CanEnter(SystemProcessState fromState) override;101 bool CanEnter(SystemProcessState fromState) override;109 bool CanEnter(SystemProcessState fromState) override;119 SystemProcessState state);125 … std::map<SystemProcessState, std::shared_ptr<SystemProcessStateHandler>> processStateHandlerMap_;
40 enum class SystemProcessState { enum77 SystemProcessState state = SystemProcessState::NOT_STARTED;
322 …= systemAbilityStateMachine->ProcessStateTransitionLocked(nullptr, SystemProcessState::NOT_STARTED…343 SystemProcessState::NOT_STARTED);363 systemAbilityStateMachine->processStateHandlerMap_[SystemProcessState::NOT_STARTED] = nullptr;365 SystemProcessState::NOT_STARTED);388 systemProcessContext->state = SystemProcessState::NOT_STARTED;390 …systemAbilityStateMachine->processStateHandlerMap_[SystemProcessState::NOT_STARTED] = notStartedSt…392 SystemProcessState::NOT_STARTED);415 systemProcessContext->state = SystemProcessState::STOPPING;417 …systemAbilityStateMachine->processStateHandlerMap_[SystemProcessState::NOT_STARTED] = startedState…419 SystemProcessState::STARTED);[all …]
184 systemProcessContext->state = SystemProcessState::STARTED;370 systemProcessContext->state = SystemProcessState::STARTED;393 systemProcessContext->state = SystemProcessState::NOT_STARTED;
311 systemProcessContext->state = SystemProcessState::STOPPING;334 systemProcessContext->state = SystemProcessState::STOPPING;377 systemProcessContext->state = SystemProcessState::STOPPING;402 systemProcessContext->state = SystemProcessState::STOPPING;426 systemProcessContext->state = SystemProcessState::STOPPING;524 systemProcessContext->state = SystemProcessState::STARTED;574 systemProcessContext->state = SystemProcessState::STOPPING;1593 systemProcessContext->state = SystemProcessState::STOPPING;1730 systemProcessContext->state = SystemProcessState::STARTED;2539 systemProcessContext->state = SystemProcessState::STOPPING;[all …]
1583 saMgr->abilityStateScheduler_->processContextMap_[u"test"]->state = SystemProcessState::STARTED;1606 saMgr->abilityStateScheduler_->processContextMap_[u"test"]->state = SystemProcessState::STARTED;