• Home
  • Raw
  • Download

Lines Matching refs:p_source

87         p_source(nullptr),  in BtaAvCoPeer()
144 const BtaAvCoSep* p_source; // Currently selected source member in BtaAvCoPeer
729 p_source = nullptr; in Reset()
1078 BtaAvCoSep* p_source = &p_peer->sources[p_peer->num_sup_sources++]; in ProcessSinkGetConfig() local
1084 memcpy(p_source->codec_caps, p_codec_info, AVDT_CODEC_SIZE); in ProcessSinkGetConfig()
1085 p_source->sep_info_idx = *p_sep_info_idx; in ProcessSinkGetConfig()
1086 p_source->seid = seid; in ProcessSinkGetConfig()
1087 p_source->num_protect = *p_num_protect; in ProcessSinkGetConfig()
1088 memcpy(p_source->protect_info, p_protect_info, AVDT_CP_INFO_LEN); in ProcessSinkGetConfig()
1105 const BtaAvCoSep* p_source = nullptr; in ProcessSinkGetConfig() local
1108 if (p_peer->p_source == nullptr) { in ProcessSinkGetConfig()
1110 p_peer->p_source = in ProcessSinkGetConfig()
1113 p_source = p_peer->p_source; in ProcessSinkGetConfig()
1114 if (p_source == nullptr) { in ProcessSinkGetConfig()
1120 p_source = SelectSinkCodec(p_peer); in ProcessSinkGetConfig()
1121 if (p_source == nullptr) { in ProcessSinkGetConfig()
1136 *p_sep_info_idx = p_source->sep_info_idx; in ProcessSinkGetConfig()
1145 BTA_AvReconfig(bta_av_handle, true, p_source->sep_info_idx, in ProcessSinkGetConfig()
1781 const BtaAvCoSep* p_source = nullptr; in SelectSinkCodec() local
1791 p_source = AttemptSinkCodecSelection(*iter, p_peer); in SelectSinkCodec()
1792 if (p_source != nullptr) { in SelectSinkCodec()
1803 return p_source; in SelectSinkCodec()
1844 BtaAvCoSep* p_source = &p_peer->sources[index]; in FindPeerSource() local
1846 A2DP_SinkCodecIndex(p_source->codec_caps); in FindPeerSource()
1850 if (!AudioSepHasContentProtection(p_source)) { in FindPeerSource()
1857 return p_source; in FindPeerSource()
1897 BtaAvCoSep* p_source = FindPeerSource(p_peer, codec_config.codecIndex()); in AttemptSinkCodecSelection() local
1898 if (p_source == nullptr) { in AttemptSinkCodecSelection()
1904 p_source->codec_caps, true /* is_capability */, new_codec_config, in AttemptSinkCodecSelection()
1910 p_peer->p_source = p_source; in AttemptSinkCodecSelection()
1912 SaveNewCodecConfig(p_peer, new_codec_config, p_source->num_protect, in AttemptSinkCodecSelection()
1913 p_source->protect_info); in AttemptSinkCodecSelection()
1915 return p_source; in AttemptSinkCodecSelection()
1970 const BtaAvCoSep* p_source = in UpdateSelectableSinkCodec() local
1972 if (p_source == nullptr) { in UpdateSelectableSinkCodec()
1977 p_source->codec_caps)) { in UpdateSelectableSinkCodec()
1980 A2DP_CodecName(p_source->codec_caps)); in UpdateSelectableSinkCodec()