Home
last modified time | relevance | path

Searched refs:bta_sys_cb (Results 1 – 4 of 4) sorted by relevance

/external/bluetooth/bluedroid/bta/sys/
Dbta_sys_conn.c43 bta_sys_cb.prm_cb = p_cback; in bta_sys_rm_register()
59 bta_sys_cb.p_policy_cb = p_cback; in bta_sys_policy_register()
74 bta_sys_cb.p_role_cb = p_cback; in bta_sys_role_chg_register()
89 bta_sys_cb.p_ssr_cb = p_cback; in bta_sys_ssr_cfg_register()
104 if (bta_sys_cb.p_role_cb) in bta_sys_notify_role_chg()
106 bta_sys_cb.p_role_cb(BTA_SYS_ROLE_CHANGE, new_role, hci_status, p_bda); in bta_sys_notify_role_chg()
126 if ((bta_sys_cb.colli_reg.id[index] == bta_id) || in bta_sys_collision_register()
127 (bta_sys_cb.colli_reg.id[index] == 0)) in bta_sys_collision_register()
129 bta_sys_cb.colli_reg.id[index] = bta_id; in bta_sys_collision_register()
130 bta_sys_cb.colli_reg.p_coll_cback[index] = p_cback; in bta_sys_collision_register()
[all …]
Dbta_sys_main.c55 tBTA_SYS_CB bta_sys_cb; variable
173 memset(&bta_sys_cb, 0, sizeof(tBTA_SYS_CB)); in bta_sys_init()
174 ptim_init(&bta_sys_cb.ptim_cb, BTA_SYS_TIMER_PERIOD, p_bta_sys_cfg->timer); in bta_sys_init()
175 bta_sys_cb.task_id = GKI_get_taskid(); in bta_sys_init()
207 APPL_TRACE_EVENT2("bta_sys_sm_execute state:%d, event:0x%x", bta_sys_cb.state, p_msg->event); in bta_sys_sm_execute()
210 state_table = bta_sys_st_tbl[bta_sys_cb.state]; in bta_sys_sm_execute()
212 bta_sys_cb.state = state_table[p_msg->event & 0x00ff][BTA_SYS_NEXT_STATE]; in bta_sys_sm_execute()
233 bta_sys_cb.sys_hw_cback[module]=cback; in bta_sys_hw_register()
239 bta_sys_cb.sys_hw_cback[module]=NULL; in bta_sys_hw_unregister()
305 if( bta_sys_cb.sys_hw_module_active & ((UINT32)1 << module_index )) { in bta_sys_hw_error()
[all …]
Dbta_sys_int.h92 extern tBTA_SYS_CB bta_sys_cb;
95 #define bta_sys_cb (*bta_sys_cb_ptr) macro
/external/bluetooth/bluedroid/bta/dm/
Dbta_dm_api.c1210 bta_sys_cb.sys_features = sys_features; in BTA_SysFeatures()