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
944 memcpy(p_sink->protect_info, p_protect_info, AVDT_CP_INFO_LEN); in ProcessSourceGetConfig()
1058 memcpy(p_source->protect_info, p_protect_info, AVDT_CP_INFO_LEN); in ProcessSinkGetConfig()
1586 p_sink->protect_info); in SetCodecAudioConfig()
1722 p_sep->protect_info); in AudioSepHasContentProtection()
1860 p_sink->protect_info); in AttemptSourceCodecSelection()
1888 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.cc1029 p_evt_cfg->num_protect, p_evt_cfg->protect_info, in bta_av_config_ind()
1034 p_evt_cfg->num_protect, p_evt_cfg->protect_info, in bta_av_config_ind()
1557 cfg.protect_info) != A2DP_SUCCESS) { in bta_av_save_caps()
1700 memcpy(cfg.protect_info, p_scb->peer_cap.protect_info, AVDT_PROTECT_SIZE); in bta_av_getcap_results()
1715 cfg.protect_info) == A2DP_SUCCESS)) { in bta_av_getcap_results()
2035 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.cc435 uint8_t* p = p_cfg->protect_info; in A2DP_VendorInitCodecConfigAptx()
Da2dp_vendor_aptx_hd.cc453 uint8_t* p = p_cfg->protect_info; in A2DP_VendorInitCodecConfigAptxHd()
Da2dp_aac.cc715 uint8_t* p = p_cfg->protect_info; in A2DP_InitCodecConfigAac()
Da2dp_vendor_ldac.cc631 uint8_t* p = p_cfg->protect_info; in A2DP_VendorInitCodecConfigLdac()
Da2dp_codec_config.cc1458 p_cfg->protect_info[0] = 0; in A2DP_InitCodecConfig()
Da2dp_sbc.cc834 uint8_t* p = p_cfg->protect_info; in A2DP_InitCodecConfigSbc()