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.cc50 static bool bta_dm_pm_sniff(tBTA_DM_PEER_DEVICE* p_peer_dev, uint8_t index);
699 static bool bta_dm_pm_sniff(tBTA_DM_PEER_DEVICE* p_peer_dev, uint8_t index) { argument
704 BTM_ReadPowerMode(p_peer_dev->peer_bdaddr, &mode);
706 uint8_t* p_rem_feat = BTM_ReadRemoteFeatures(p_peer_dev->peer_bdaddr);
708 p_peer_dev->info);
712 !(p_peer_dev->info & BTA_DM_DI_USE_SSR))) {
717 if ((mode == BTM_PM_MD_SNIFF) && (p_peer_dev->info & BTA_DM_DI_ACP_SNIFF)) {
728 if (p_peer_dev->info & BTA_DM_DI_INT_SNIFF) {
732 BTM_SetPowerMode(bta_dm_cb.pm_id, p_peer_dev->peer_bdaddr, &pwr_md);
734 p_peer_dev->info &= ~(BTA_DM_DI_INT_SNIFF | BTA_DM_DI_ACP_SNIFF);
[all …]