Home
last modified time | relevance | path

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

/system/bt/stack/btm/
Dbtm_pm.cc432 const tBTM_PM_PWR_MD* p_md2, in btm_pm_compare_modes() argument
437 *p_res = *p_md2; in btm_pm_compare_modes()
443 if (p_md2->mode == BTM_PM_MD_ACTIVE || p_md1->mode == BTM_PM_MD_ACTIVE) { in btm_pm_compare_modes()
454 if (p_md2->mode & BTM_PM_MD_FORCE) { in btm_pm_compare_modes()
455 *p_res = *p_md2; in btm_pm_compare_modes()
460 res = (p_md1->mode - 1) * BTM_PM_NUM_SET_MODES + (p_md2->mode - 1); in btm_pm_compare_modes()
468 *p_res = *p_md2; in btm_pm_compare_modes()
474 p_res->max = (p_md1->max < p_md2->max) ? (p_md1->max) : (p_md2->max); in btm_pm_compare_modes()
476 p_res->min = (p_md1->min > p_md2->min) ? (p_md1->min) : (p_md2->min); in btm_pm_compare_modes()
483 p_res->attempt = (p_md1->attempt > p_md2->attempt) ? (p_md1->attempt) in btm_pm_compare_modes()
[all …]