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.cc126 bta_dm_cb.pm_timer[i].pm_action[j] = BTA_DM_PM_NO_ACTION; in bta_dm_disable_pm()
194 static uint8_t bta_pm_action_to_timer_idx(uint8_t pm_action) { in bta_pm_action_to_timer_idx() argument
195 if (pm_action == BTA_DM_PM_SUSPEND) in bta_pm_action_to_timer_idx()
197 else if (pm_action == BTA_DM_PM_PARK) in bta_pm_action_to_timer_idx()
199 else if ((pm_action & BTA_DM_PM_SNIFF) == BTA_DM_PM_SNIFF) in bta_pm_action_to_timer_idx()
232 bta_dm_cb.pm_timer[i].pm_action[timer_idx] = power_mode; in bta_dm_pm_stop_timer_by_mode()
257 bta_dm_cb.pm_timer[i].pm_action[j] = BTA_DM_PM_NO_ACTION; in bta_dm_pm_stop_timer_by_srvc_id()
277 uint8_t pm_action) { in bta_dm_pm_start_timer() argument
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 …]
Dbta_dm_int.h274 uint8_t pm_action[BTA_DM_PM_MODE_TIMER_MAX]; member