Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/bta/dm/
Dbta_dm_pm.cc120 bta_dm_cb.pm_timer[i].srvc_id[j] = BTA_ID_MAX; in bta_dm_init_pm()
149 bta_dm_pm_stop_timer_by_index(&bta_dm_cb.pm_timer[i], j); in bta_dm_disable_pm()
150 bta_dm_cb.pm_timer[i].pm_action[j] = BTA_DM_PM_NO_ACTION; in bta_dm_disable_pm()
187 if (bta_dm_cb.pm_timer[i].in_use && in bta_dm_pm_stop_timer()
188 bta_dm_cb.pm_timer[i].peer_bdaddr == peer_addr) { in bta_dm_pm_stop_timer()
190 bta_dm_pm_stop_timer_by_index(&bta_dm_cb.pm_timer[i], j); in bta_dm_pm_stop_timer()
246 if (bta_dm_cb.pm_timer[i].in_use && in bta_dm_pm_stop_timer_by_mode()
247 bta_dm_cb.pm_timer[i].peer_bdaddr == peer_addr) { in bta_dm_pm_stop_timer_by_mode()
248 if (bta_dm_cb.pm_timer[i].srvc_id[timer_idx] != BTA_ID_MAX) { in bta_dm_pm_stop_timer_by_mode()
249 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_int.h212 tBTA_PM_TIMER pm_timer[BTA_DM_NUM_PM_TIMER]; member
Dbta_dm_act.cc189 bta_dm_cb.pm_timer[i].timer[j] = alarm_new("bta_dm.pm_timer"); in bta_dm_init_cb()
213 alarm_free(bta_dm_cb.pm_timer[i].timer[j]); in bta_dm_deinit_cb()
/packages/modules/Bluetooth/system/bta/test/
Dbta_dm_test.cc77 bta_dm_cb.pm_timer[i].srvc_id[j] = kUnusedTimer; in SetUp()
477 bta_dm_pm_start_timer(&bta_dm_cb.pm_timer[0], in TEST_F()
480 bta_dm_cb.pm_timer[0].peer_bdaddr = kRawAddress; in TEST_F()
502 ASSERT_EQ(0, bta_dm_cb.pm_timer[0].srvc_id[0]); in TEST_F_WITH_FLAGS()
508 ASSERT_EQ((uint8_t)BTA_ID_MAX, bta_dm_cb.pm_timer[0].srvc_id[0]); in TEST_F_WITH_FLAGS()
524 ASSERT_EQ((uint8_t)BTA_ID_MAX, bta_dm_cb.pm_timer[0].srvc_id[0]); in TEST_F_WITH_FLAGS()
530 ASSERT_EQ((uint8_t)BTA_ID_MAX, bta_dm_cb.pm_timer[0].srvc_id[0]); in TEST_F_WITH_FLAGS()
/packages/modules/Bluetooth/system/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