Lines Matching refs:BtaAvCoPeer
75 class BtaAvCoPeer { class
77 BtaAvCoPeer() in BtaAvCoPeer() function in BtaAvCoPeer
437 bool ReportSourceCodecState(BtaAvCoPeer* p_peer);
445 bool ReportSinkCodecState(BtaAvCoPeer* p_peer);
485 BtaAvCoPeer* FindPeer(const RawAddress& peer_address);
494 BtaAvCoSep* FindPeerSink(BtaAvCoPeer* p_peer,
504 BtaAvCoSep* FindPeerSource(BtaAvCoPeer* p_peer,
519 BtaAvCoPeer* FindPeer(tBTA_AV_HNDL bta_av_handle);
529 BtaAvCoPeer* FindPeerAndUpdate(tBTA_AV_HNDL bta_av_handle,
542 const BtaAvCoSep* SelectSourceCodec(BtaAvCoPeer* p_peer);
554 const BtaAvCoSep* SelectSinkCodec(BtaAvCoPeer* p_peer);
564 void SaveNewCodecConfig(BtaAvCoPeer* p_peer, const uint8_t* new_codec_config,
586 bool SetCodecOtaConfig(BtaAvCoPeer* p_peer, const uint8_t* p_ota_codec_config,
597 size_t UpdateAllSelectableSourceCodecs(BtaAvCoPeer* p_peer);
608 BtaAvCoPeer* p_peer);
617 size_t UpdateAllSelectableSinkCodecs(BtaAvCoPeer* p_peer);
628 BtaAvCoPeer* p_peer);
639 const A2dpCodecConfig& codec_config, BtaAvCoPeer* p_peer);
650 const A2dpCodecConfig& codec_config, BtaAvCoPeer* p_peer);
684 BtaAvCoPeer peers_[BTA_AV_NUM_STRS]; // Connected peer information
685 BtaAvCoPeer* active_peer_; // The current active peer
702 void BtaAvCoPeer::Init( in Init()
711 void BtaAvCoPeer::Reset(tBTA_AV_HNDL bta_av_handle) { in Reset()
754 BtaAvCoPeer* p_peer = &peers_[i]; in Init()
773 BtaAvCoPeer* p_peer = &peers_[i]; in Reset()
798 BtaAvCoPeer* peer = FindPeer(peer_address); in GetPeerCurrentCodec()
805 BtaAvCoPeer* BtaAvCo::FindPeer(const RawAddress& peer_address) { in FindPeer()
807 BtaAvCoPeer* p_peer = &peers_[i]; in FindPeer()
815 BtaAvCoPeer* BtaAvCo::FindPeer(tBTA_AV_HNDL bta_av_handle) { in FindPeer()
834 BtaAvCoPeer* BtaAvCo::FindPeerAndUpdate(tBTA_AV_HNDL bta_av_handle, in FindPeerAndUpdate()
839 BtaAvCoPeer* p_peer = FindPeer(bta_av_handle); in FindPeerAndUpdate()
854 BtaAvCoPeer* p_peer = FindPeer(bta_av_handle); in FindPeerUuid()
871 BtaAvCoPeer* p_peer = FindPeerAndUpdate(bta_av_handle, peer_address); in ProcessDiscoveryResult()
915 BtaAvCoPeer* p_peer = FindPeerAndUpdate(bta_av_handle, peer_address); in ProcessSourceGetConfig()
1059 BtaAvCoPeer* p_peer = FindPeerAndUpdate(bta_av_handle, peer_address); in ProcessSinkGetConfig()
1180 BtaAvCoPeer* p_peer = FindPeerAndUpdate(bta_av_handle, peer_address); in ProcessSetConfig()
1287 BtaAvCoPeer* p_peer = FindPeerAndUpdate(bta_av_handle, peer_address); in ProcessOpen()
1310 BtaAvCoPeer* p_peer = FindPeerAndUpdate(bta_av_handle, peer_address); in ProcessClose()
1332 BtaAvCoPeer* p_peer = FindPeerAndUpdate(bta_av_handle, peer_address); in ProcessStart()
1411 BtaAvCoPeer* p_peer = FindPeerAndUpdate(bta_av_handle, peer_address); in UpdateMtu()
1433 BtaAvCoPeer* p_peer = FindPeer(peer_address); in SetActivePeer()
1456 const BtaAvCoPeer* p_peer = &peers_[i]; in GetPeerEncoderParameters()
1499 BtaAvCoPeer* p_peer = FindPeer(peer_address); in SetCodecUserConfig()
1590 BtaAvCoPeer* p_peer = active_peer_; in SetCodecAudioConfig()
1645 bool BtaAvCo::ReportSourceCodecState(BtaAvCoPeer* p_peer) { in ReportSourceCodecState()
1669 bool BtaAvCo::ReportSinkCodecState(BtaAvCoPeer* p_peer) { in ReportSinkCodecState()
1697 const BtaAvCoPeer& peer = peers_[i]; in DebugDump()
1759 const BtaAvCoSep* BtaAvCo::SelectSourceCodec(BtaAvCoPeer* p_peer) { in SelectSourceCodec()
1780 const BtaAvCoSep* BtaAvCo::SelectSinkCodec(BtaAvCoPeer* p_peer) { in SelectSinkCodec()
1806 BtaAvCoSep* BtaAvCo::FindPeerSink(BtaAvCoPeer* p_peer, in FindPeerSink()
1834 BtaAvCoSep* BtaAvCo::FindPeerSource(BtaAvCoPeer* p_peer, in FindPeerSource()
1863 const A2dpCodecConfig& codec_config, BtaAvCoPeer* p_peer) { in AttemptSourceCodecSelection()
1891 const A2dpCodecConfig& codec_config, BtaAvCoPeer* p_peer) { in AttemptSinkCodecSelection()
1918 size_t BtaAvCo::UpdateAllSelectableSourceCodecs(BtaAvCoPeer* p_peer) { in UpdateAllSelectableSourceCodecs()
1933 BtaAvCoPeer* p_peer) { in UpdateSelectableSourceCodec()
1951 size_t BtaAvCo::UpdateAllSelectableSinkCodecs(BtaAvCoPeer* p_peer) { in UpdateAllSelectableSinkCodecs()
1966 BtaAvCoPeer* p_peer) { in UpdateSelectableSinkCodec()
1986 void BtaAvCo::SaveNewCodecConfig(BtaAvCoPeer* p_peer, in SaveNewCodecConfig()
2006 bool BtaAvCo::SetCodecOtaConfig(BtaAvCoPeer* p_peer, in SetCodecOtaConfig()
2206 BtaAvCoPeer* p_peer = bta_av_co_cb.FindPeer(peer_address); in bta_av_co_get_scmst_info()