Home
last modified time | relevance | path

Searched refs:state_table (Results 1 – 15 of 15) sorted by relevance

/system/bt/stack/avct/
Davct_lcb.cc165 tAVCT_LCB_ST_TBL state_table; in avct_lcb_event() local
173 state_table = avct_lcb_st_tbl[p_lcb->state]; in avct_lcb_event()
176 p_lcb->state = state_table[event][AVCT_LCB_NEXT_STATE]; in avct_lcb_event()
180 action = state_table[event][i]; in avct_lcb_event()
200 tAVCT_LCB_ST_TBL state_table; in avct_bcb_event() local
208 state_table = avct_lcb_st_tbl[p_bcb->state]; in avct_bcb_event()
211 p_bcb->state = state_table[event][AVCT_LCB_NEXT_STATE]; in avct_bcb_event()
215 action = state_table[event][i]; in avct_bcb_event()
/system/bt/stack/smp/
Dsmp_br_main.cc304 tSMP_BR_SM_TBL state_table; in smp_br_state_machine_event() local
334 state_table = smp_br_all_table; in smp_br_state_machine_event()
336 state_table = smp_br_state_table[curr_state][p_cb->role]; in smp_br_state_machine_event()
347 smp_set_br_state(state_table[entry - 1][SMP_BR_SME_NEXT_STATE]); in smp_br_state_machine_event()
354 action = state_table[entry - 1][i]; in smp_br_state_machine_event()
Dsmp_main.cc954 tSMP_SM_TBL state_table; in smp_sm_event() local
984 state_table = smp_all_table; in smp_sm_event()
986 state_table = smp_state_table[curr_state][p_cb->role]; in smp_sm_event()
996 smp_set_state(state_table[entry - 1][SMP_SME_NEXT_STATE]); in smp_sm_event()
1004 action = state_table[entry - 1][i]; in smp_sm_event()
/system/bt/bta/dm/
Dbta_dm_main.cc231 tBTA_DM_ST_TBL state_table; in bta_dm_search_sm_execute() local
239 state_table = bta_dm_search_st_tbl[bta_dm_search_cb.state]; in bta_dm_search_sm_execute()
242 state_table[p_msg->event & 0x00ff][BTA_DM_SEARCH_NEXT_STATE]; in bta_dm_search_sm_execute()
246 action = state_table[p_msg->event & 0x00ff][i]; in bta_dm_search_sm_execute()
/system/bt/bta/pan/
Dbta_pan_main.cc170 tBTA_PAN_ST_TBL state_table; in bta_pan_sm_execute() local
178 state_table = bta_pan_st_tbl[p_scb->state]; in bta_pan_sm_execute()
183 p_scb->state = state_table[event][BTA_PAN_NEXT_STATE]; in bta_pan_sm_execute()
187 action = state_table[event][i]; in bta_pan_sm_execute()
/system/bt/bta/hd/
Dbta_hd_main.cc237 tBTA_HD_ST_TBL state_table; in bta_hd_sm_execute() local
250 state_table = bta_hd_st_tbl[bta_hd_cb.state]; in bta_hd_sm_execute()
254 action = state_table[event][BTA_HD_ACTION]; in bta_hd_sm_execute()
259 bta_hd_cb.state = state_table[event][BTA_HD_NEXT_STATE]; in bta_hd_sm_execute()
/system/bt/bta/gatt/
Dbta_gattc_main.cc301 tBTA_GATTC_ST_TBL state_table; in bta_gattc_sm_execute() local
317 state_table = bta_gattc_st_tbl[p_clcb->state]; in bta_gattc_sm_execute()
322 p_clcb->state = state_table[event][BTA_GATTC_NEXT_STATE]; in bta_gattc_sm_execute()
326 action = state_table[event][i]; in bta_gattc_sm_execute()
/system/bt/stack/avdt/
Davdt_ccb.cc368 tAVDT_CCB_ST_TBL state_table; in avdt_ccb_event() local
379 state_table = avdt_ccb_st_tbl[p_ccb->state]; in avdt_ccb_event()
382 if (p_ccb->state != state_table[event][AVDT_CCB_NEXT_STATE]) { in avdt_ccb_event()
383 p_ccb->state = state_table[event][AVDT_CCB_NEXT_STATE]; in avdt_ccb_event()
388 action = state_table[event][i]; in avdt_ccb_event()
Davdt_scb.cc759 tAVDT_SCB_ST_TBL state_table; in avdt_scb_event() local
773 state_table = avdt_scb_st_tbl[p_scb->state]; in avdt_scb_event()
776 if (p_scb->state != state_table[event][AVDT_SCB_NEXT_STATE]) { in avdt_scb_event()
777 p_scb->state = state_table[event][AVDT_SCB_NEXT_STATE]; in avdt_scb_event()
782 action = state_table[event][i]; in avdt_scb_event()
/system/bt/bta/sys/
Dbta_sys_main.cc205 tBTA_SYS_ST_TBL state_table; in bta_sys_sm_execute() local
213 state_table = bta_sys_st_tbl[bta_sys_cb.state]; in bta_sys_sm_execute()
215 bta_sys_cb.state = state_table[p_msg->event & 0x00ff][BTA_SYS_NEXT_STATE]; in bta_sys_sm_execute()
219 action = state_table[p_msg->event & 0x00ff][i]; in bta_sys_sm_execute()
/system/bt/bta/hh/
Dbta_hh_main.cc232 tBTA_HH_ST_TBL state_table; in bta_hh_sm_execute() local
330 state_table = bta_hh_st_tbl[p_cb->state - 1]; in bta_hh_sm_execute()
334 p_cb->state = state_table[event][BTA_HH_NEXT_STATE]; in bta_hh_sm_execute()
336 action = state_table[event][BTA_HH_ACTION]; in bta_hh_sm_execute()
/system/bt/bta/av/
Dbta_av_ssm.cc490 tBTA_AV_SST_TBL state_table = bta_av_sst_tbl[p_scb->state]; in bta_av_ssm_execute() local
494 state_table[event - BTA_AV_FIRST_SSM_EVT][BTA_AV_SNEXT_STATE]; in bta_av_ssm_execute()
509 p_scb->state = state_table[event][BTA_AV_SNEXT_STATE]; in bta_av_ssm_execute()
518 uint8_t action = state_table[event][i]; in bta_av_ssm_execute()
Dbta_av_main.cc1228 tBTA_AV_ST_TBL state_table; in bta_av_sm_execute() local
1236 state_table = bta_av_st_tbl[p_cb->state]; in bta_av_sm_execute()
1241 p_cb->state = state_table[event][BTA_AV_NEXT_STATE]; in bta_av_sm_execute()
1246 action = state_table[event][BTA_AV_ACTION_COL]; in bta_av_sm_execute()
/system/bt/bta/hf_client/
Dbta_hf_client_main.cc707 tBTA_HF_CLIENT_ST_TBL state_table; in bta_hf_client_sm_execute() local
730 state_table = bta_hf_client_st_tbl[client_cb->state]; in bta_hf_client_sm_execute()
733 client_cb->state = state_table[event][BTA_HF_CLIENT_NEXT_STATE]; in bta_hf_client_sm_execute()
737 action = state_table[event][i]; in bta_hf_client_sm_execute()
/system/bt/bta/ag/
Dbta_ag_main.cc732 tBTA_AG_ST_TBL state_table; in bta_ag_sm_execute() local
752 state_table = bta_ag_st_tbl[p_scb->state]; in bta_ag_sm_execute()
755 p_scb->state = state_table[event][BTA_AG_NEXT_STATE]; in bta_ag_sm_execute()
759 action = state_table[event][i]; in bta_ag_sm_execute()