Lines Matching refs:num_protect
53 : sep_info_idx(0), seid(0), codec_caps{}, num_protect(0), protect_info{} { in BtaAvCoSep()
64 num_protect = 0; in Reset()
71 uint8_t num_protect; // Peer SEP number of CP elements member in BtaAvCoSep
295 uint8_t num_protect, const uint8_t* p_protect_info,
565 uint8_t num_protect, const uint8_t* p_protect_info);
587 uint8_t num_protect, const uint8_t* p_protect_info,
677 static bool AudioProtectHasScmst(uint8_t num_protect,
941 p_sink->num_protect = *p_num_protect; in ProcessSourceGetConfig()
1087 p_source->num_protect = *p_num_protect; in ProcessSinkGetConfig()
1158 UNUSED_ATTR uint8_t seid, uint8_t num_protect, in ProcessSetConfig() argument
1169 num_protect, t_local_sep, avdt_handle); in ProcessSetConfig()
1174 __func__, num_protect, p_protect_info[0], p_protect_info[1], in ProcessSetConfig()
1203 if (num_protect != 0) { in ProcessSetConfig()
1205 if ((num_protect != 1) || in ProcessSetConfig()
1231 SaveNewCodecConfig(p_peer, p_codec_info, num_protect, p_protect_info); in ProcessSetConfig()
1241 !SetCodecOtaConfig(p_peer, p_codec_info, num_protect, p_protect_info, in ProcessSetConfig()
1249 if (((num_protect == 1) && !p_peer->ContentProtectActive())) { in ProcessSetConfig()
1542 uint8_t num_protect = 0; in SetCodecUserConfig() local
1544 num_protect = AVDT_CP_INFO_LEN; in SetCodecUserConfig()
1559 p_peer->codec_config, num_protect, bta_av_co_cp_scmst); in SetCodecUserConfig()
1621 uint8_t num_protect = 0; in SetCodecAudioConfig() local
1623 num_protect = AVDT_CP_INFO_LEN; in SetCodecAudioConfig()
1626 SaveNewCodecConfig(p_peer, result_codec_config, p_sink->num_protect, in SetCodecAudioConfig()
1633 p_peer->codec_config, num_protect, bta_av_co_cp_scmst); in SetCodecAudioConfig()
1734 bool BtaAvCo::AudioProtectHasScmst(uint8_t num_protect, in AudioProtectHasScmst() argument
1737 while (num_protect--) { in AudioProtectHasScmst()
1751 return BtaAvCo::AudioProtectHasScmst(p_sep->num_protect, in AudioSepHasContentProtection()
1884 SaveNewCodecConfig(p_peer, new_codec_config, p_sink->num_protect, in AttemptSourceCodecSelection()
1912 SaveNewCodecConfig(p_peer, new_codec_config, p_source->num_protect, in AttemptSinkCodecSelection()
1988 uint8_t num_protect, in SaveNewCodecConfig() argument
2001 bool cp_active = BtaAvCo::AudioProtectHasScmst(num_protect, p_protect_info); in SaveNewCodecConfig()
2008 uint8_t num_protect, in SetCodecOtaConfig() argument
2049 SaveNewCodecConfig(p_peer, result_codec_config, num_protect, in SetCodecOtaConfig()
2125 uint8_t num_protect, in bta_av_co_audio_setconfig() argument
2129 num_protect, p_protect_info, t_local_sep, in bta_av_co_audio_setconfig()