Lines Matching defs:state
170 RunningState state = runningState_.load();
171 if (state == RunningState::STARTED) {
179 PUBLIC_LOG_S " Pause skip in self task, curret State: " PUBLIC_LOG_D32, name_.c_str(), state);
187 RunningState state = runningState_.load();
188 if (state != RunningState::STARTED) {
198 // There is no need to perform notification, as no call would wait for PAUSING state.
199 // If perform notification may cause unnecessasy running when the task is already in PAUSED state.
203 RunningState state = runningState_.load();
204 if (state == RunningState::STARTED) {
212 PUBLIC_LOG_S " PauseAsync skip in self task, curretState:%{public}d", name_.c_str(), state);