Searched refs:bta_dm_cb (Results 1 – 7 of 7) sorted by relevance
/system/bt/bta/test/ |
D | bta_dm_test.cc | 48 bta_dm_cb.pm_timer[i].srvc_id[j] = kUnusedTimer; in SetUp() 63 bta_dm_cb.disabling = true; in TEST_F() 74 ASSERT_TRUE(!bta_dm_cb.disabling); in TEST_F() 79 bta_dm_cb.disabling = true; in TEST_F() 81 mock_stack_acl_num_links = bta_dm_cb.device_list.count = 1; in TEST_F() 92 ASSERT_TRUE(!bta_dm_cb.disabling); in TEST_F() 96 bta_dm_cb.disabling = true; in TEST_F() 98 mock_stack_acl_num_links = bta_dm_cb.device_list.count = 1; in TEST_F() 113 ASSERT_TRUE(!bta_dm_cb.disabling); in TEST_F()
|
D | bta_dm_cust_uuid_test.cc | 40 memset(&bta_dm_cb, 0, sizeof(bta_dm_cb)); in SetUp() 57 tBTA_CUSTOM_UUID& curr0 = bta_dm_cb.bta_custom_uuid[0]; in TEST_F() 58 tBTA_CUSTOM_UUID& curr1 = bta_dm_cb.bta_custom_uuid[1]; in TEST_F()
|
/system/bt/bta/dm/ |
D | bta_dm_act.cc | 254 if (p_sec_cback != NULL) bta_dm_cb.p_sec_cback = p_sec_cback; in bta_dm_enable() 256 bta_dm_cb.is_bta_dm_active = true; in bta_dm_enable() 272 memset(&bta_dm_cb, 0, sizeof(bta_dm_cb)); in bta_dm_init_cb() 273 bta_dm_cb.disable_timer = alarm_new("bta_dm.disable_timer"); in bta_dm_init_cb() 274 bta_dm_cb.switch_delay_timer = alarm_new("bta_dm.switch_delay_timer"); in bta_dm_init_cb() 277 bta_dm_cb.pm_timer[i].timer[j] = alarm_new("bta_dm.pm_timer"); in bta_dm_init_cb() 297 alarm_free(bta_dm_cb.disable_timer); in bta_dm_deinit_cb() 298 alarm_free(bta_dm_cb.switch_delay_timer); in bta_dm_deinit_cb() 301 alarm_free(bta_dm_cb.pm_timer[i].timer[j]); in bta_dm_deinit_cb() 304 memset(&bta_dm_cb, 0, sizeof(bta_dm_cb)); in bta_dm_deinit_cb() [all …]
|
D | bta_dm_pm.cc | 87 BTM_PmRegister((BTM_PM_REG_SET), &bta_dm_cb.pm_id, bta_dm_pm_btm_cback); in bta_dm_init_pm() 93 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, bta_dm_pm_btm_cback); in bta_dm_disable_pm() 119 bta_dm_pm_stop_timer_by_index(&bta_dm_cb.pm_timer[i], j); in bta_dm_disable_pm() 120 bta_dm_cb.pm_timer[i].pm_action[j] = BTA_DM_PM_NO_ACTION; in bta_dm_disable_pm() 157 if (bta_dm_cb.pm_timer[i].in_use && in bta_dm_pm_stop_timer() 158 bta_dm_cb.pm_timer[i].peer_bdaddr == peer_addr) { in bta_dm_pm_stop_timer() 160 bta_dm_pm_stop_timer_by_index(&bta_dm_cb.pm_timer[i], j); in bta_dm_pm_stop_timer() 216 if (bta_dm_cb.pm_timer[i].in_use && in bta_dm_pm_stop_timer_by_mode() 217 bta_dm_cb.pm_timer[i].peer_bdaddr == peer_addr) { in bta_dm_pm_stop_timer_by_mode() [all …]
|
D | bta_dm_main.cc | 33 tBTA_DM_CB bta_dm_cb; variable
|
D | bta_dm_int.h | 465 extern tBTA_DM_CB bta_dm_cb;
|
/system/bt/doc/ |
D | power_management.md | 133 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
|