Home
last modified time | relevance | path

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

/external/bluetooth/bluedroid/bta/dm/
Dbta_dm_act.c271 if( bta_dm_cb.is_bta_dm_active == TRUE ) in bta_dm_enable()
287 bta_dm_cb.p_sec_cback = p_data->enable.p_sec_cback; in bta_dm_enable()
289 bta_dm_cb.is_bta_dm_active = TRUE; in bta_dm_enable()
331 if( bta_dm_cb.p_sec_cback != NULL ) in bta_dm_sys_hw_cback()
332 bta_dm_cb.p_sec_cback(BTA_DM_HW_ERROR_EVT, NULL); in bta_dm_sys_hw_cback()
337 if( bta_dm_cb.p_sec_cback != NULL ) in bta_dm_sys_hw_cback()
338 bta_dm_cb.p_sec_cback(BTA_DM_DISABLE_EVT, NULL); in bta_dm_sys_hw_cback()
341 memset(&bta_dm_cb, 0, sizeof(bta_dm_cb)); in bta_dm_sys_hw_cback()
346 bta_dm_cb.is_bta_dm_active = FALSE; in bta_dm_sys_hw_cback()
356 temp_cback = bta_dm_cb.p_sec_cback; in bta_dm_sys_hw_cback()
[all …]
Dbta_dm_pm.c78 BTM_PmRegister((BTM_PM_REG_SET | BTM_PM_REG_NOTIF), &bta_dm_cb.pm_id, in bta_dm_init_pm()
101 BTM_PmRegister( BTM_PM_DEREG, &bta_dm_cb.pm_id, NULL); in bta_dm_disable_pm()
106 if(bta_dm_cb.pm_timer[i].in_use) in bta_dm_disable_pm()
109 bta_sys_stop_timer(&bta_dm_cb.pm_timer[i].timer); in bta_dm_disable_pm()
110 bta_dm_cb.pm_timer[i].in_use = FALSE; in bta_dm_disable_pm()
132 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()
135 bta_sys_stop_timer(&bta_dm_cb.pm_timer[i].timer); in bta_dm_pm_stop_timer()
136 bta_dm_cb.pm_timer[i].in_use = FALSE; in bta_dm_pm_stop_timer()
339 if(!bta_dm_cb.device_list.count) in bta_dm_pm_set_mode()
430 if(!bta_dm_cb.pm_timer[i].in_use) in bta_dm_pm_set_mode()
[all …]
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()
268 bta_dm_cb.page_scan_interval = page_scan_interval; in BTA_DmSetScanParam()
269 bta_dm_cb.page_scan_window = page_scan_window; in BTA_DmSetScanParam()
270 bta_dm_cb.inquiry_scan_interval = inquiry_scan_interval; in BTA_DmSetScanParam()
271 bta_dm_cb.inquiry_scan_window = inquiry_scan_window; in BTA_DmSetScanParam()
Dbta_dm_main.c35 tBTA_DM_CB bta_dm_cb; variable
Dbta_dm_int.h938 extern tBTA_DM_CB bta_dm_cb;
941 #define bta_dm_cb (*bta_dm_cb_ptr) macro