Searched refs:protect_info (Results 1 – 12 of 12) sorted by relevance
/system/bt/stack/include/ |
D | avdt_api.h | 318 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/ |
D | stack_a2dp_test.cc | 775 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/ |
D | bta_av_co.cc | 59 : 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/ |
D | avdt_scb_act.cc | 503 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()
|
D | avdt_msg.cc | 306 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/ |
D | bta_av_aact.cc | 1040 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/ |
D | a2dp_vendor_aptx_hd.cc | 446 uint8_t* p = p_cfg->protect_info; in A2DP_VendorInitCodecConfigAptxHd()
|
D | a2dp_vendor_aptx.cc | 428 uint8_t* p = p_cfg->protect_info; in A2DP_VendorInitCodecConfigAptx()
|
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_sbc.cc | 823 uint8_t* p = p_cfg->protect_info; in A2DP_InitCodecConfigSbc()
|
D | a2dp_codec_config.cc | 1454 p_cfg->protect_info[0] = 0; in A2DP_InitCodecConfig()
|