Lines Matching refs:action
57 StateActions* action = new (std::nothrow) StateActions();
58 if (action == nullptr) {
63 states_[s] = action;
77 StateActions& action = ForState(i);
78 AddAction(&action);
87 StateActions* action = currState_->second;
88 if (action->timerId != INVALID_ID) {
89 KillTimer(action->timerId);
98 action = nextIt->second;
99 if (action->cfg.delayUs != 0) {
100 action->timerId = SetTimer(action->cfg.type, action->cfg.delayUs, action->cfg.cookie, this);
152 StateActions *action = currState_->second;
153 if (action == nullptr) {
154 INTELL_VOICE_LOG_ERROR("action of state:%{public}d is nullptr", currState_->first.state);
157 if ((action->timerId == INVALID_ID) || (action->cfg.delayUs == 0)) {
161 action->timerId = ResetTimer(action->timerId, action->cfg.type, action->cfg.delayUs, action->cfg.cookie, this);