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.cc51 static bool bta_dm_pm_sniff(tBTA_DM_PEER_DEVICE* p_peer_dev, uint8_t index);
700 static bool bta_dm_pm_sniff(tBTA_DM_PEER_DEVICE* p_peer_dev, uint8_t index) { argument
705 BTM_ReadPowerMode(p_peer_dev->peer_bdaddr, &mode);
707 uint8_t* p_rem_feat = BTM_ReadRemoteFeatures(p_peer_dev->peer_bdaddr);
709 p_peer_dev->info);
714 !(p_peer_dev->info & BTA_DM_DI_USE_SSR))) {
719 if ((mode == BTM_PM_MD_SNIFF) && (p_peer_dev->info & BTA_DM_DI_ACP_SNIFF)) {
730 if (p_peer_dev->info & BTA_DM_DI_INT_SNIFF) {
734 BTM_SetPowerMode(bta_dm_cb.pm_id, p_peer_dev->peer_bdaddr, &pwr_md);
736 p_peer_dev->info &= ~(BTA_DM_DI_INT_SNIFF | BTA_DM_DI_ACP_SNIFF);
[all …]