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.c265 if( bta_dm_cb.is_bta_dm_active == TRUE ) in bta_dm_enable()
281 bta_dm_cb.p_sec_cback = p_data->enable.p_sec_cback; in bta_dm_enable()
283 bta_dm_cb.is_bta_dm_active = TRUE; in bta_dm_enable()
310 alarm_free(bta_dm_cb.disable_timer); in bta_dm_init_cb()
311 alarm_free(bta_dm_cb.switch_delay_timer); in bta_dm_init_cb()
314 alarm_free(bta_dm_cb.pm_timer[i].timer[j]); in bta_dm_init_cb()
317 memset(&bta_dm_cb, 0, sizeof(bta_dm_cb)); in bta_dm_init_cb()
318 bta_dm_cb.disable_timer = alarm_new("bta_dm.disable_timer"); in bta_dm_init_cb()
319 bta_dm_cb.switch_delay_timer = alarm_new("bta_dm.switch_delay_timer"); in bta_dm_init_cb()
322 bta_dm_cb.pm_timer[i].timer[j] = alarm_new("bta_dm.pm_timer"); in bta_dm_init_cb()
[all …]
Dbta_dm_pm.c83 BTM_PmRegister((BTM_PM_REG_SET | BTM_PM_REG_NOTIF), &bta_dm_cb.pm_id, in bta_dm_init_pm()
91 bta_dm_cb.pm_timer[i].srvc_id[j] = BTA_ID_MAX; in bta_dm_init_pm()
108 BTM_PmRegister( BTM_PM_DEREG, &bta_dm_cb.pm_id, NULL); in bta_dm_disable_pm()
121 bta_dm_pm_stop_timer_by_index(&bta_dm_cb.pm_timer[i], j); in bta_dm_disable_pm()
122 bta_dm_cb.pm_timer[i].pm_action[j] = BTA_DM_PM_NO_ACTION; in bta_dm_disable_pm()
164 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()
168 bta_dm_pm_stop_timer_by_index(&bta_dm_cb.pm_timer[i], j); in bta_dm_pm_stop_timer()
226 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()
228 if (bta_dm_cb.pm_timer[i].srvc_id[timer_idx] != BTA_ID_MAX) in bta_dm_pm_stop_timer_by_mode()
230 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_int.h1050 extern tBTA_DM_CB bta_dm_cb;
1053 #define bta_dm_cb (*bta_dm_cb_ptr) macro
Dbta_dm_api.c65 if (bta_dm_cb.disabling) in BTA_EnableBluetooth()
989 bta_dm_cb.p_setup_cback = p_setup_cback; in BTA_DmBleSetStorageParams()
/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