Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/btif/co/
Dbta_av_co.cc240 BtaAvCoSep* p_sink = &p_peer->sinks[p_peer->num_sup_sinks++]; in ProcessSourceGetConfig() local
246 memcpy(p_sink->codec_caps, p_codec_info, AVDT_CODEC_SIZE); in ProcessSourceGetConfig()
247 p_sink->sep_info_idx = *p_sep_info_idx; in ProcessSourceGetConfig()
248 p_sink->seid = seid; in ProcessSourceGetConfig()
249 p_sink->num_protect = *p_num_protect; in ProcessSourceGetConfig()
250 memcpy(p_sink->protect_info, p_protect_info, AVDT_CP_INFO_LEN); in ProcessSourceGetConfig()
268 const BtaAvCoSep* p_sink = nullptr; in ProcessSourceGetConfig() local
271 if (p_peer->p_sink == nullptr) { in ProcessSourceGetConfig()
273 p_peer->p_sink = peer_cache_->FindPeerSink( in ProcessSourceGetConfig()
277 p_sink = p_peer->p_sink; in ProcessSourceGetConfig()
[all …]
Dbta_av_co_peer.cc42 p_sink(nullptr), in BtaAvCoPeer()
82 p_sink = nullptr; in Reset()
167 BtaAvCoSep* p_sink = &p_peer->sinks[index]; in FindPeerSink() local
169 A2DP_SourceCodecIndex(p_sink->codec_caps); in FindPeerSink()
173 if (!AudioSepHasContentProtection(p_sink, content_protect_flag)) { in FindPeerSink()
177 return p_sink; in FindPeerSink()
/packages/modules/Bluetooth/system/btif/include/
Dbta_av_co_peer.h101 const BtaAvCoSep* p_sink; // Currently selected sink variable