Home
last modified time | relevance | path

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

/system/bt/bta/dm/
Dbta_dm_pm.c44 static BOOLEAN bta_dm_pm_sniff(tBTA_DM_PEER_DEVICE *p_peer_dev, UINT8 index);
758 static BOOLEAN bta_dm_pm_sniff(tBTA_DM_PEER_DEVICE *p_peer_dev, UINT8 index) in bta_dm_pm_sniff() argument
767 BTM_ReadPowerMode(p_peer_dev->peer_bdaddr, &mode); in bta_dm_pm_sniff()
768 p_rem_feat = BTM_ReadRemoteFeatures (p_peer_dev->peer_bdaddr); in bta_dm_pm_sniff()
770 APPL_TRACE_DEBUG("bta_dm_pm_sniff cur:%d, idx:%d, info:x%x", mode, index, p_peer_dev->info); in bta_dm_pm_sniff()
774 !(p_peer_dev->info & BTA_DM_DI_USE_SSR))) in bta_dm_pm_sniff()
785 if ((mode == BTM_PM_MD_SNIFF) && (p_peer_dev->info & BTA_DM_DI_ACP_SNIFF)) in bta_dm_pm_sniff()
794 if (p_peer_dev->info & BTA_DM_DI_INT_SNIFF) in bta_dm_pm_sniff()
798 status = BTM_SetPowerMode (bta_dm_cb.pm_id, p_peer_dev->peer_bdaddr, &pwr_md); in bta_dm_pm_sniff()
801 p_peer_dev->info &= ~(BTA_DM_DI_INT_SNIFF|BTA_DM_DI_ACP_SNIFF); in bta_dm_pm_sniff()
[all …]