Home
last modified time | relevance | path

Searched refs:protect_info (Results 1 – 12 of 12) sorted by relevance

/system/bt/stack/include/
Davdt_api.h318 protect_info{},
330 memset(protect_info, 0, sizeof(protect_info)); in Reset()
341 uint8_t protect_info[AVDT_PROTECT_SIZE]; /* Content protection capabilities */ variable
/system/bt/stack/test/
Dstack_a2dp_test.cc775 EXPECT_EQ(avdt_cfg.protect_info[0], AVDT_CP_LOSC); in TEST_F()
776 EXPECT_EQ(avdt_cfg.protect_info[1], (AVDT_CP_SCMS_T_ID & 0xFF)); in TEST_F()
777 EXPECT_EQ(avdt_cfg.protect_info[2], ((AVDT_CP_SCMS_T_ID >> 8) & 0xFF)); in TEST_F()
803 EXPECT_EQ(avdt_cfg.protect_info[0], AVDT_CP_LOSC); in TEST_F()
804 EXPECT_EQ(avdt_cfg.protect_info[1], (AVDT_CP_SCMS_T_ID & 0xFF)); in TEST_F()
805 EXPECT_EQ(avdt_cfg.protect_info[2], ((AVDT_CP_SCMS_T_ID >> 8) & 0xFF)); in TEST_F()
/system/bt/btif/co/
Dbta_av_co.cc59 : sep_info_idx(0), seid(0), codec_caps{}, num_protect(0), protect_info{} { in BtaAvCoSep()
71 memset(protect_info, 0, sizeof(protect_info)); in Reset()
78 uint8_t protect_info[AVDT_CP_INFO_LEN]; // Peer SEP content protection info member in BtaAvCoSep
948 memcpy(p_sink->protect_info, p_protect_info, AVDT_CP_INFO_LEN); in ProcessSourceGetConfig()
1094 memcpy(p_source->protect_info, p_protect_info, AVDT_CP_INFO_LEN); in ProcessSinkGetConfig()
1633 p_sink->protect_info); in SetCodecAudioConfig()
1758 p_sep->protect_info); in AudioSepHasContentProtection()
1891 p_sink->protect_info); in AttemptSourceCodecSelection()
1919 p_source->protect_info); in AttemptSinkCodecSelection()
/system/bt/stack/avdt/
Davdt_scb_act.cc503 memcpy(p_scb->curr_cfg.protect_info, p_scb->req_cfg.protect_info, in avdt_scb_hdl_reconfig_rsp()
1206 memcpy(p_scb->curr_cfg.protect_info, p_scb->req_cfg.protect_info, in avdt_scb_snd_reconfig_rsp()
Davdt_msg.cc306 len = p_cfg->protect_info[0] + 1; in avdt_msg_bld_cfg()
309 memcpy(*p, p_cfg->protect_info, len); in avdt_msg_bld_cfg()
615 p_cfg->protect_info[protect_offset] = elem_len; in avdt_msg_prs_cfg()
617 memcpy(&p_cfg->protect_info[protect_offset], p, elem_len); in avdt_msg_prs_cfg()
/system/bt/bta/av/
Dbta_av_aact.cc1040 p_evt_cfg->num_protect, p_evt_cfg->protect_info, in bta_av_config_ind()
1045 p_evt_cfg->num_protect, p_evt_cfg->protect_info, in bta_av_config_ind()
1575 cfg.protect_info) != A2DP_SUCCESS) { in bta_av_save_caps()
1718 memcpy(cfg.protect_info, p_scb->peer_cap.protect_info, AVDT_PROTECT_SIZE); in bta_av_getcap_results()
1733 cfg.protect_info) == A2DP_SUCCESS)) { in bta_av_getcap_results()
2054 memcpy(p_cfg->protect_info, p_rcfg->p_protect_info, p_rcfg->num_protect); in bta_av_reconfig()
/system/bt/stack/a2dp/
Da2dp_vendor_aptx_hd.cc446 uint8_t* p = p_cfg->protect_info; in A2DP_VendorInitCodecConfigAptxHd()
Da2dp_vendor_aptx.cc428 uint8_t* p = p_cfg->protect_info; in A2DP_VendorInitCodecConfigAptx()
Da2dp_vendor_ldac.cc623 uint8_t* p = p_cfg->protect_info; in A2DP_VendorInitCodecConfigLdac()
Da2dp_aac.cc738 uint8_t* p = p_cfg->protect_info; in A2DP_InitCodecConfigAac()
Da2dp_sbc.cc823 uint8_t* p = p_cfg->protect_info; in A2DP_InitCodecConfigSbc()
Da2dp_codec_config.cc1454 p_cfg->protect_info[0] = 0; in A2DP_InitCodecConfig()