Searched refs:protect_info (Results 1 – 12 of 12) sorted by relevance
/system/bt/stack/include/ |
D | avdt_api.h | 356 protect_info{}, 368 memset(protect_info, 0, sizeof(protect_info)); in Reset() 379 uint8_t protect_info[AVDT_PROTECT_SIZE]; /* Content protection capabilities */ variable
|
/system/bt/stack/test/ |
D | stack_a2dp_test.cc | 814 EXPECT_EQ(avdt_cfg.protect_info[0], AVDT_CP_LOSC); in TEST_F() 815 EXPECT_EQ(avdt_cfg.protect_info[1], (AVDT_CP_SCMS_T_ID & 0xFF)); in TEST_F() 816 EXPECT_EQ(avdt_cfg.protect_info[2], ((AVDT_CP_SCMS_T_ID >> 8) & 0xFF)); in TEST_F() 852 EXPECT_EQ(avdt_cfg.protect_info[0], AVDT_CP_LOSC); in TEST_F() 853 EXPECT_EQ(avdt_cfg.protect_info[1], (AVDT_CP_SCMS_T_ID & 0xFF)); in TEST_F() 854 EXPECT_EQ(avdt_cfg.protect_info[2], ((AVDT_CP_SCMS_T_ID >> 8) & 0xFF)); in TEST_F()
|
/system/bt/btif/co/ |
D | bta_av_co.cc | 53 : sep_info_idx(0), seid(0), codec_caps{}, num_protect(0), protect_info{} { in BtaAvCoSep() 65 memset(protect_info, 0, sizeof(protect_info)); in Reset() 72 uint8_t protect_info[AVDT_CP_INFO_LEN]; // Peer SEP content protection info member in BtaAvCoSep 942 memcpy(p_sink->protect_info, p_protect_info, AVDT_CP_INFO_LEN); in ProcessSourceGetConfig() 1088 memcpy(p_source->protect_info, p_protect_info, AVDT_CP_INFO_LEN); in ProcessSinkGetConfig() 1627 p_sink->protect_info); in SetCodecAudioConfig() 1752 p_sep->protect_info); in AudioSepHasContentProtection() 1885 p_sink->protect_info); in AttemptSourceCodecSelection() 1913 p_source->protect_info); in AttemptSinkCodecSelection()
|
/system/bt/stack/avdt/ |
D | avdt_msg.cc | 308 len = p_cfg->protect_info[0] + 1; in avdt_msg_bld_cfg() 311 memcpy(*p, p_cfg->protect_info, len); in avdt_msg_bld_cfg() 617 p_cfg->protect_info[protect_offset] = elem_len; in avdt_msg_prs_cfg() 619 memcpy(&p_cfg->protect_info[protect_offset], p, elem_len); in avdt_msg_prs_cfg()
|
D | avdt_scb_act.cc | 505 memcpy(p_scb->curr_cfg.protect_info, p_scb->req_cfg.protect_info, in avdt_scb_hdl_reconfig_rsp() 1244 memcpy(p_scb->curr_cfg.protect_info, p_scb->req_cfg.protect_info, in avdt_scb_snd_reconfig_rsp()
|
/system/bt/bta/av/ |
D | bta_av_aact.cc | 977 p_evt_cfg->num_protect, p_evt_cfg->protect_info, in bta_av_config_ind() 982 p_evt_cfg->num_protect, p_evt_cfg->protect_info, in bta_av_config_ind() 1520 cfg.protect_info) != A2DP_SUCCESS) { in bta_av_save_caps() 1663 memcpy(cfg.protect_info, p_scb->peer_cap.protect_info, AVDT_PROTECT_SIZE); in bta_av_getcap_results() 1678 cfg.protect_info) == A2DP_SUCCESS)) { in bta_av_getcap_results() 1998 memcpy(p_cfg->protect_info, p_rcfg->p_protect_info, p_rcfg->num_protect); in bta_av_reconfig()
|
/system/bt/stack/a2dp/ |
D | a2dp_vendor_aptx.cc | 428 uint8_t* p = p_cfg->protect_info; in A2DP_VendorInitCodecConfigAptx()
|
D | a2dp_vendor_aptx_hd.cc | 446 uint8_t* p = p_cfg->protect_info; in A2DP_VendorInitCodecConfigAptxHd()
|
D | a2dp_vendor_ldac.cc | 623 uint8_t* p = p_cfg->protect_info; in A2DP_VendorInitCodecConfigLdac()
|
D | a2dp_aac.cc | 738 uint8_t* p = p_cfg->protect_info; in A2DP_InitCodecConfigAac()
|
D | a2dp_codec_config.cc | 1515 p_cfg->protect_info[0] = 0; in A2DP_InitCodecConfig()
|
D | a2dp_sbc.cc | 826 uint8_t* p = p_cfg->protect_info; in A2DP_InitCodecConfigSbc()
|