Lines Matching refs:num_protect
59 : sep_info_idx(0), seid(0), codec_caps{}, num_protect(0), protect_info{} { in BtaAvCoSep()
70 num_protect = 0; in Reset()
77 uint8_t num_protect; // Peer SEP number of CP elements member in BtaAvCoSep
293 uint8_t num_protect, const uint8_t* p_protect_info,
559 uint8_t num_protect, const uint8_t* p_protect_info);
581 uint8_t num_protect, const uint8_t* p_protect_info,
671 static bool AudioProtectHasScmst(uint8_t num_protect,
927 p_sink->num_protect = *p_num_protect; in ProcessSourceGetConfig()
1041 p_source->num_protect = *p_num_protect; in ProcessSinkGetConfig()
1112 UNUSED_ATTR uint8_t seid, uint8_t num_protect, in ProcessSetConfig() argument
1123 num_protect, t_local_sep, avdt_handle); in ProcessSetConfig()
1128 __func__, num_protect, p_protect_info[0], p_protect_info[1], in ProcessSetConfig()
1157 if (num_protect != 0) { in ProcessSetConfig()
1159 if ((num_protect != 1) || in ProcessSetConfig()
1185 SaveNewCodecConfig(p_peer, p_codec_info, num_protect, p_protect_info); in ProcessSetConfig()
1195 !SetCodecOtaConfig(p_peer, p_codec_info, num_protect, p_protect_info, in ProcessSetConfig()
1203 if (((num_protect == 1) && !p_peer->ContentProtectActive())) { in ProcessSetConfig()
1489 uint8_t num_protect = 0; in SetCodecUserConfig() local
1491 num_protect = AVDT_CP_INFO_LEN; in SetCodecUserConfig()
1515 p_peer->codec_config, num_protect, bta_av_co_cp_scmst); in SetCodecUserConfig()
1564 uint8_t num_protect = 0; in SetCodecAudioConfig() local
1566 num_protect = AVDT_CP_INFO_LEN; in SetCodecAudioConfig()
1569 SaveNewCodecConfig(p_peer, result_codec_config, p_sink->num_protect, in SetCodecAudioConfig()
1583 p_peer->codec_config, num_protect, bta_av_co_cp_scmst); in SetCodecAudioConfig()
1682 bool BtaAvCo::AudioProtectHasScmst(uint8_t num_protect, in AudioProtectHasScmst() argument
1685 while (num_protect--) { in AudioProtectHasScmst()
1699 return BtaAvCo::AudioProtectHasScmst(p_sep->num_protect, in AudioSepHasContentProtection()
1837 SaveNewCodecConfig(p_peer, new_codec_config, p_sink->num_protect, in AttemptSourceCodecSelection()
1865 SaveNewCodecConfig(p_peer, new_codec_config, p_source->num_protect, in AttemptSinkCodecSelection()
1941 uint8_t num_protect, in SaveNewCodecConfig() argument
1954 bool cp_active = BtaAvCo::AudioProtectHasScmst(num_protect, p_protect_info); in SaveNewCodecConfig()
1961 uint8_t num_protect, in SetCodecOtaConfig() argument
2005 SaveNewCodecConfig(p_peer, result_codec_config, num_protect, in SetCodecOtaConfig()
2077 uint8_t num_protect, in bta_av_co_audio_setconfig() argument
2081 num_protect, p_protect_info, t_local_sep, in bta_av_co_audio_setconfig()