Home
last modified time | relevance | path

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

/system/bt/bta/dm/
Dbta_dm_pm.cc127 bta_dm_cb.pm_timer[i].pm_action[j] = BTA_DM_PM_NO_ACTION; in bta_dm_disable_pm()
195 static uint8_t bta_pm_action_to_timer_idx(uint8_t pm_action) { in bta_pm_action_to_timer_idx() argument
196 if (pm_action == BTA_DM_PM_SUSPEND) in bta_pm_action_to_timer_idx()
198 else if (pm_action == BTA_DM_PM_PARK) in bta_pm_action_to_timer_idx()
200 else if ((pm_action & BTA_DM_PM_SNIFF) == BTA_DM_PM_SNIFF) in bta_pm_action_to_timer_idx()
233 bta_dm_cb.pm_timer[i].pm_action[timer_idx] = power_mode; in bta_dm_pm_stop_timer_by_mode()
258 bta_dm_cb.pm_timer[i].pm_action[j] = BTA_DM_PM_NO_ACTION; in bta_dm_pm_stop_timer_by_srvc_id()
278 uint8_t pm_action) { in bta_dm_pm_start_timer() argument
285 if (p_timer->pm_action[timer_idx] < pm_action) in bta_dm_pm_start_timer()
286 p_timer->pm_action[timer_idx] = pm_action; in bta_dm_pm_start_timer()
[all …]
Dbta_dm_int.h274 uint8_t pm_action[BTA_DM_PM_MODE_TIMER_MAX]; member