Home
last modified time | relevance | path

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

/system/bt/bta/dm/
Dbta_dm_pm.cc59 uint8_t timer_idx);
218 const uint8_t timer_idx = bta_pm_action_to_timer_idx(power_mode); in bta_dm_pm_stop_timer_by_mode() local
219 if (timer_idx == BTA_DM_PM_MODE_TIMER_MAX) return; in bta_dm_pm_stop_timer_by_mode()
224 if (bta_dm_cb.pm_timer[i].srvc_id[timer_idx] != BTA_ID_MAX) { in bta_dm_pm_stop_timer_by_mode()
225 bta_dm_pm_stop_timer_by_index(&bta_dm_cb.pm_timer[i], timer_idx); in bta_dm_pm_stop_timer_by_mode()
232 bta_dm_cb.pm_timer[i].pm_action[timer_idx] = power_mode; in bta_dm_pm_stop_timer_by_mode()
275 static void bta_dm_pm_start_timer(tBTA_PM_TIMER* p_timer, uint8_t timer_idx, in bta_dm_pm_start_timer() argument
282 if (p_timer->srvc_id[timer_idx] == BTA_ID_MAX) p_timer->active++; in bta_dm_pm_start_timer()
284 if (p_timer->pm_action[timer_idx] < pm_action) in bta_dm_pm_start_timer()
285 p_timer->pm_action[timer_idx] = pm_action; in bta_dm_pm_start_timer()
[all …]