Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/btif/co/
Dbta_av_co.cc168 BtaAvCoPeer* p_peer = in ProcessDiscoveryResult() local
170 if (p_peer == nullptr) { in ProcessDiscoveryResult()
177 if (p_peer->opened) { in ProcessDiscoveryResult()
182 p_peer->addr = peer_address; in ProcessDiscoveryResult()
183 p_peer->num_sinks = num_sinks; in ProcessDiscoveryResult()
184 p_peer->num_sources = num_sources; in ProcessDiscoveryResult()
185 p_peer->num_seps = num_seps; in ProcessDiscoveryResult()
186 p_peer->num_rx_sinks = 0; in ProcessDiscoveryResult()
187 p_peer->num_rx_sources = 0; in ProcessDiscoveryResult()
188 p_peer->num_sup_sinks = 0; in ProcessDiscoveryResult()
[all …]
Dbta_av_co_peer.cc105 BtaAvCoPeer* p_peer = &peers_[i]; in Init() local
106 p_peer->Init(codec_priorities); in Init()
115 BtaAvCoPeer* p_peer = &peers_[i]; in Reset() local
116 p_peer->Reset(BTA_AV_CO_AUDIO_INDEX_TO_HANDLE(i)); in Reset()
122 BtaAvCoPeer* p_peer = &peers_[i]; in FindPeer() local
123 if (p_peer->addr == peer_address) { in FindPeer()
124 return p_peer; in FindPeer()
131 BtaAvCoPeer* p_peer, btav_a2dp_codec_index_t codec_index, in FindPeerSource() argument
134 log::warn("invalid codec index for peer {}", p_peer->addr); in FindPeerSource()
139 for (size_t index = 0; index < p_peer->num_sup_sources; index++) { in FindPeerSource()
[all …]
/packages/modules/Bluetooth/system/btif/include/
Dbta_av_co.h354 bool ReportSourceCodecState(BtaAvCoPeer* p_peer);
362 bool ReportSinkCodecState(BtaAvCoPeer* p_peer);
417 const BtaAvCoSep* SelectSourceCodec(BtaAvCoPeer* p_peer);
429 const BtaAvCoSep* SelectSinkCodec(BtaAvCoPeer* p_peer);
441 void SaveNewCodecConfig(BtaAvCoPeer* p_peer, const uint8_t* new_codec_config,
465 bool SetCodecOtaConfig(BtaAvCoPeer* p_peer, const uint8_t* p_ota_codec_config,
476 size_t UpdateAllSelectableSourceCodecs(BtaAvCoPeer* p_peer);
487 BtaAvCoPeer* p_peer);
496 size_t UpdateAllSelectableSinkCodecs(BtaAvCoPeer* p_peer);
507 BtaAvCoPeer* p_peer);
[all …]
Dbta_av_co_peer.h155 BtaAvCoSep* FindPeerSource(BtaAvCoPeer* p_peer,
166 BtaAvCoSep* FindPeerSink(BtaAvCoPeer* p_peer,