Lines Matching refs:state
47 uint8_t previous_state = p_scb->state; in bta_av_better_stream_state_machine()
50 switch (p_scb->state) { in bta_av_better_stream_state_machine()
54 p_scb->state = BTA_AV_OPENING_SST; in bta_av_better_stream_state_machine()
67 p_scb->state = BTA_AV_INCOMING_SST; in bta_av_better_stream_state_machine()
71 p_scb->state = BTA_AV_INCOMING_SST; in bta_av_better_stream_state_machine()
87 p_scb->state = BTA_AV_CLOSING_SST; in bta_av_better_stream_state_machine()
102 p_scb->state = BTA_AV_INIT_SST; in bta_av_better_stream_state_machine()
119 p_scb->state = BTA_AV_OPEN_SST; in bta_av_better_stream_state_machine()
123 p_scb->state = BTA_AV_INIT_SST; in bta_av_better_stream_state_machine()
137 p_scb->state = BTA_AV_CLOSING_SST; in bta_av_better_stream_state_machine()
155 p_scb->state = BTA_AV_CLOSING_SST; in bta_av_better_stream_state_machine()
174 p_scb->state = BTA_AV_CLOSING_SST; in bta_av_better_stream_state_machine()
181 p_scb->state = BTA_AV_CLOSING_SST; in bta_av_better_stream_state_machine()
185 p_scb->state = BTA_AV_OPEN_SST; in bta_av_better_stream_state_machine()
190 p_scb->state = BTA_AV_CLOSING_SST; in bta_av_better_stream_state_machine()
194 p_scb->state = BTA_AV_INCOMING_SST; in bta_av_better_stream_state_machine()
210 p_scb->state = BTA_AV_INIT_SST; in bta_av_better_stream_state_machine()
230 p_scb->state = BTA_AV_CLOSING_SST; in bta_av_better_stream_state_machine()
240 p_scb->state = BTA_AV_RCFG_SST; in bta_av_better_stream_state_machine()
271 p_scb->state = BTA_AV_INIT_SST; in bta_av_better_stream_state_machine()
294 p_scb->state = BTA_AV_INIT_SST; in bta_av_better_stream_state_machine()
314 p_scb->state = BTA_AV_CLOSING_SST; in bta_av_better_stream_state_machine()
330 p_scb->state = BTA_AV_INIT_SST; in bta_av_better_stream_state_machine()
337 p_scb->state = BTA_AV_INIT_SST; in bta_av_better_stream_state_machine()
341 p_scb->state = BTA_AV_OPEN_SST; in bta_av_better_stream_state_machine()
383 p_scb->state = BTA_AV_INIT_SST; in bta_av_better_stream_state_machine()
387 p_scb->state = BTA_AV_INIT_SST; in bta_av_better_stream_state_machine()
406 p_scb->state = BTA_AV_INIT_SST; in bta_av_better_stream_state_machine()
419 if (previous_state != p_scb->state) { in bta_av_better_stream_state_machine()
423 bta_av_sst_code(previous_state), p_scb->state, in bta_av_better_stream_state_machine()
424 bta_av_sst_code(p_scb->state)); in bta_av_better_stream_state_machine()
429 event, bta_av_evt_code(event), p_scb->state, in bta_av_better_stream_state_machine()
430 bta_av_sst_code(p_scb->state)); in bta_av_better_stream_state_machine()
476 if (p_scb->state == BTA_AV_OPENING_SST) is_opening = true; in bta_av_is_scb_opening()
496 if (p_scb->state == BTA_AV_INCOMING_SST) is_incoming = true; in bta_av_is_scb_incoming()
522 p_scb->state, bta_av_sst_code(p_scb->state), next_state, in bta_av_set_scb_sst_init()
525 p_scb->state = next_state; in bta_av_set_scb_sst_init()
542 if (p_scb->state == BTA_AV_INIT_SST) is_init = true; in bta_av_is_scb_init()
560 p_scb->state = BTA_AV_INCOMING_SST; in bta_av_set_scb_sst_incoming()
576 const char* bta_av_sst_code(uint8_t state) { in bta_av_sst_code() argument
577 switch (state) { in bta_av_sst_code()