Home
last modified time | relevance | path

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

/system/bt/stack/include/
Davdt_api.h356 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/
Dstack_a2dp_test.cc814 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/
Dbta_av_co.cc53 : 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/
Davdt_msg.cc308 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()
Davdt_scb_act.cc505 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/
Dbta_av_aact.cc977 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/
Da2dp_vendor_aptx.cc428 uint8_t* p = p_cfg->protect_info; in A2DP_VendorInitCodecConfigAptx()
Da2dp_vendor_aptx_hd.cc446 uint8_t* p = p_cfg->protect_info; in A2DP_VendorInitCodecConfigAptxHd()
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_codec_config.cc1515 p_cfg->protect_info[0] = 0; in A2DP_InitCodecConfig()
Da2dp_sbc.cc826 uint8_t* p = p_cfg->protect_info; in A2DP_InitCodecConfigSbc()