Lines Matching refs:state
65 uint32_t state; // current state (enum effect_state) member
74 uint32_t state; // current state (enum session_state) member
171 static int effect_set_state(struct effect_s *effect, uint32_t state) in effect_set_state() argument
174 ALOGV("effect_set_state() id %d, new %d old %d", effect->id, state, effect->state); in effect_set_state()
175 switch(state) { in effect_set_state()
177 switch(effect->state) { in effect_set_state()
185 BAD_STATE_ABORT(effect->state, state); in effect_set_state()
189 switch(effect->state) { in effect_set_state()
199 BAD_STATE_ABORT(effect->state, state); in effect_set_state()
203 switch(effect->state) { in effect_set_state()
215 BAD_STATE_ABORT(effect->state, state); in effect_set_state()
219 switch(effect->state) { in effect_set_state()
232 BAD_STATE_ABORT(effect->state, state); in effect_set_state()
236 BAD_STATE_ABORT(effect->state, state); in effect_set_state()
240 effect->state = state; in effect_set_state()
249 effect->state = EFFECT_STATE_INIT; in effect_init()
277 session->state = SESSION_STATE_INIT; in session_init()
360 session->state = SESSION_STATE_CONFIG; in session_set_config()
554 if (effect->state != EFFECT_STATE_ACTIVE) in fx_command()