Home
last modified time | relevance | path

Searched refs:bta_dm_cb (Results 1 – 6 of 6) sorted by relevance

/system/bt/bta/dm/
Dbta_dm_act.c254 if( bta_dm_cb.is_bta_dm_active == TRUE ) in bta_dm_enable()
270 bta_dm_cb.p_sec_cback = p_data->enable.p_sec_cback; in bta_dm_enable()
272 bta_dm_cb.is_bta_dm_active = TRUE; in bta_dm_enable()
308 if( bta_dm_cb.p_sec_cback != NULL ) in bta_dm_sys_hw_cback()
309 bta_dm_cb.p_sec_cback(BTA_DM_HW_ERROR_EVT, NULL); in bta_dm_sys_hw_cback()
315 if( bta_dm_cb.p_sec_cback != NULL ) in bta_dm_sys_hw_cback()
316 bta_dm_cb.p_sec_cback(BTA_DM_DISABLE_EVT, NULL); in bta_dm_sys_hw_cback()
319 memset(&bta_dm_cb, 0, sizeof(bta_dm_cb)); in bta_dm_sys_hw_cback()
324 bta_dm_cb.is_bta_dm_active = FALSE; in bta_dm_sys_hw_cback()
334 temp_cback = bta_dm_cb.p_sec_cback; in bta_dm_sys_hw_cback()
[all …]
Dbta_dm_pm.c80 BTM_PmRegister((BTM_PM_REG_SET | BTM_PM_REG_NOTIF), &bta_dm_cb.pm_id, in bta_dm_init_pm()
88 bta_dm_cb.pm_timer[i].srvc_id[j] = BTA_ID_MAX; in bta_dm_init_pm()
105 BTM_PmRegister( BTM_PM_DEREG, &bta_dm_cb.pm_id, NULL); in bta_dm_disable_pm()
118 bta_dm_pm_stop_timer_by_index(&bta_dm_cb.pm_timer[i], j); in bta_dm_disable_pm()
119 bta_dm_cb.pm_timer[i].pm_action[j] = BTA_DM_PM_NO_ACTION; in bta_dm_disable_pm()
161 if (bta_dm_cb.pm_timer[i].in_use && !bdcmp(bta_dm_cb.pm_timer[i].peer_bdaddr, peer_addr)) in bta_dm_pm_stop_timer()
165 bta_dm_pm_stop_timer_by_index(&bta_dm_cb.pm_timer[i], j); in bta_dm_pm_stop_timer()
223 if (bta_dm_cb.pm_timer[i].in_use && !bdcmp(bta_dm_cb.pm_timer[i].peer_bdaddr, peer_addr)) in bta_dm_pm_stop_timer_by_mode()
225 if (bta_dm_cb.pm_timer[i].srvc_id[timer_idx] != BTA_ID_MAX) in bta_dm_pm_stop_timer_by_mode()
227 bta_dm_pm_stop_timer_by_index(&bta_dm_cb.pm_timer[i], timer_idx); in bta_dm_pm_stop_timer_by_mode()
[all …]
Dbta_dm_main.c35 tBTA_DM_CB bta_dm_cb; variable
Dbta_dm_api.c68 if (bta_dm_cb.disabling) in BTA_EnableBluetooth()
71 memset(&bta_dm_cb, 0, sizeof(bta_dm_cb)); in BTA_EnableBluetooth()
1098 bta_dm_cb.p_setup_cback = p_setup_cback; in BTA_DmBleSetStorageParams()
Dbta_dm_int.h1057 extern tBTA_DM_CB bta_dm_cb;
1060 #define bta_dm_cb (*bta_dm_cb_ptr) macro
/system/bt/doc/
Dpower_management.md133 in `bta_dm_cb.pm_timer` is started.
146 At this point, if one of the timers in `bta_dm_cb.pm_timer` times out, a call is