/packages/modules/Bluetooth/system/stack/avrc/ |
D | avrc_pars_tg.cc | 46 tAVRC_COMMAND* p_result) { in avrc_ctrl_pars_vendor_cmd() argument 55 p_result->pdu = *p++; in avrc_ctrl_pars_vendor_cmd() 56 log::verbose("pdu:0x{:x}", p_result->pdu); in avrc_ctrl_pars_vendor_cmd() 57 if (!AVRC_IsValidAvcType(p_result->pdu, p_msg->hdr.ctype)) { in avrc_ctrl_pars_vendor_cmd() 71 switch (p_result->pdu) { in avrc_ctrl_pars_vendor_cmd() 76 BE_STREAM_TO_UINT8(p_result->volume.volume, p); in avrc_ctrl_pars_vendor_cmd() 77 p_result->volume.volume = AVRC_MAX_VOLUME & p_result->volume.volume; in avrc_ctrl_pars_vendor_cmd() 84 BE_STREAM_TO_UINT8(p_result->reg_notif.event_id, p); in avrc_ctrl_pars_vendor_cmd() 85 BE_STREAM_TO_UINT32(p_result->reg_notif.param, p); in avrc_ctrl_pars_vendor_cmd() 87 if (p_result->reg_notif.event_id == 0 || in avrc_ctrl_pars_vendor_cmd() [all …]
|
D | avrc_pars_ct.cc | 50 tAVRC_RESPONSE* p_result) { in avrc_pars_vendor_rsp() argument 66 BE_STREAM_TO_UINT8(p_result->pdu, p); in avrc_pars_vendor_rsp() 70 p_msg->hdr.ctype, p_result->pdu, len, len, p_msg->vendor_len); in avrc_pars_vendor_rsp() 82 p_result->rsp.status = *p; in avrc_pars_vendor_rsp() 83 return p_result->rsp.status; in avrc_pars_vendor_rsp() 86 switch (p_result->pdu) { in avrc_pars_vendor_rsp() 97 BE_STREAM_TO_UINT8(p_result->volume.volume, p); in avrc_pars_vendor_rsp() 119 p_result->reg_notif.status = p_msg->hdr.ctype; in avrc_pars_vendor_rsp() 120 p_result->reg_notif.event_id = eventid; in avrc_pars_vendor_rsp() 121 BE_STREAM_TO_UINT8(p_result->reg_notif.param.volume, p); in avrc_pars_vendor_rsp() [all …]
|
/packages/modules/Bluetooth/system/stack/a2dp/ |
D | a2dp_vendor_ldac.cc | 114 uint8_t* p_result) { in A2DP_BuildInfoLdac() argument 115 if (p_ie == NULL || p_result == NULL) { in A2DP_BuildInfoLdac() 119 *p_result++ = A2DP_LDAC_CODEC_LEN; in A2DP_BuildInfoLdac() 120 *p_result++ = (media_type << 4); in A2DP_BuildInfoLdac() 121 *p_result++ = A2DP_MEDIA_CT_NON_A2DP; in A2DP_BuildInfoLdac() 124 *p_result++ = (uint8_t)(p_ie->vendorId & 0x000000FF); in A2DP_BuildInfoLdac() 125 *p_result++ = (uint8_t)((p_ie->vendorId & 0x0000FF00) >> 8); in A2DP_BuildInfoLdac() 126 *p_result++ = (uint8_t)((p_ie->vendorId & 0x00FF0000) >> 16); in A2DP_BuildInfoLdac() 127 *p_result++ = (uint8_t)((p_ie->vendorId & 0xFF000000) >> 24); in A2DP_BuildInfoLdac() 128 *p_result++ = (uint8_t)(p_ie->codecId & 0x00FF); in A2DP_BuildInfoLdac() [all …]
|
D | a2dp_vendor_opus.cc | 131 uint8_t* p_result) { in A2DP_BuildInfoOpus() argument 132 if (p_ie == NULL || p_result == NULL) { in A2DP_BuildInfoOpus() 137 *p_result++ = A2DP_OPUS_CODEC_LEN; in A2DP_BuildInfoOpus() 138 *p_result++ = (media_type << 4); in A2DP_BuildInfoOpus() 139 *p_result++ = A2DP_MEDIA_CT_NON_A2DP; in A2DP_BuildInfoOpus() 142 *p_result++ = (uint8_t)(p_ie->vendorId & 0x000000FF); in A2DP_BuildInfoOpus() 143 *p_result++ = (uint8_t)((p_ie->vendorId & 0x0000FF00) >> 8); in A2DP_BuildInfoOpus() 144 *p_result++ = (uint8_t)((p_ie->vendorId & 0x00FF0000) >> 16); in A2DP_BuildInfoOpus() 145 *p_result++ = (uint8_t)((p_ie->vendorId & 0xFF000000) >> 24); in A2DP_BuildInfoOpus() 146 *p_result++ = (uint8_t)(p_ie->codecId & 0x00FF); in A2DP_BuildInfoOpus() [all …]
|
D | a2dp_vendor_aptx_hd.cc | 103 uint8_t* p_result) { in A2DP_BuildInfoAptxHd() argument 104 if (p_ie == NULL || p_result == NULL) { in A2DP_BuildInfoAptxHd() 108 *p_result++ = A2DP_APTX_HD_CODEC_LEN; in A2DP_BuildInfoAptxHd() 109 *p_result++ = (media_type << 4); in A2DP_BuildInfoAptxHd() 110 *p_result++ = A2DP_MEDIA_CT_NON_A2DP; in A2DP_BuildInfoAptxHd() 111 *p_result++ = (uint8_t)(p_ie->vendorId & 0x000000FF); in A2DP_BuildInfoAptxHd() 112 *p_result++ = (uint8_t)((p_ie->vendorId & 0x0000FF00) >> 8); in A2DP_BuildInfoAptxHd() 113 *p_result++ = (uint8_t)((p_ie->vendorId & 0x00FF0000) >> 16); in A2DP_BuildInfoAptxHd() 114 *p_result++ = (uint8_t)((p_ie->vendorId & 0xFF000000) >> 24); in A2DP_BuildInfoAptxHd() 115 *p_result++ = (uint8_t)(p_ie->codecId & 0x00FF); in A2DP_BuildInfoAptxHd() [all …]
|
D | a2dp_aac.cc | 146 uint8_t* p_result) { in A2DP_BuildInfoAac() argument 147 if (p_ie == NULL || p_result == NULL) { in A2DP_BuildInfoAac() 151 *p_result++ = A2DP_AAC_CODEC_LEN; in A2DP_BuildInfoAac() 152 *p_result++ = (media_type << 4); in A2DP_BuildInfoAac() 153 *p_result++ = A2DP_MEDIA_CT_AAC; in A2DP_BuildInfoAac() 157 *p_result++ = p_ie->objectType; in A2DP_BuildInfoAac() 161 *p_result++ = (uint8_t)(p_ie->sampleRate & A2DP_AAC_SAMPLING_FREQ_MASK0); in A2DP_BuildInfoAac() 162 *p_result = (uint8_t)((p_ie->sampleRate & A2DP_AAC_SAMPLING_FREQ_MASK1) >> 8); in A2DP_BuildInfoAac() 166 *p_result++ |= (p_ie->channelMode & A2DP_AAC_CHANNEL_MODE_MASK); in A2DP_BuildInfoAac() 169 *p_result = (p_ie->variableBitRateSupport & A2DP_AAC_VARIABLE_BIT_RATE_MASK); in A2DP_BuildInfoAac() [all …]
|
D | a2dp_vendor_aptx.cc | 95 uint8_t* p_result) { in A2DP_BuildInfoAptx() argument 96 if (p_ie == NULL || p_result == NULL) { in A2DP_BuildInfoAptx() 100 *p_result++ = A2DP_APTX_CODEC_LEN; in A2DP_BuildInfoAptx() 101 *p_result++ = (media_type << 4); in A2DP_BuildInfoAptx() 102 *p_result++ = A2DP_MEDIA_CT_NON_A2DP; in A2DP_BuildInfoAptx() 103 *p_result++ = (uint8_t)(p_ie->vendorId & 0x000000FF); in A2DP_BuildInfoAptx() 104 *p_result++ = (uint8_t)((p_ie->vendorId & 0x0000FF00) >> 8); in A2DP_BuildInfoAptx() 105 *p_result++ = (uint8_t)((p_ie->vendorId & 0x00FF0000) >> 16); in A2DP_BuildInfoAptx() 106 *p_result++ = (uint8_t)((p_ie->vendorId & 0xFF000000) >> 24); in A2DP_BuildInfoAptx() 107 *p_result++ = (uint8_t)(p_ie->codecId & 0x00FF); in A2DP_BuildInfoAptx() [all …]
|
D | a2dp_sbc.cc | 128 uint8_t* p_result) { in A2DP_BuildInfoSbc() argument 129 if (p_ie == NULL || p_result == NULL || in A2DP_BuildInfoSbc() 144 *p_result++ = A2DP_SBC_INFO_LEN; in A2DP_BuildInfoSbc() 145 *p_result++ = (media_type << 4); in A2DP_BuildInfoSbc() 146 *p_result++ = A2DP_MEDIA_CT_SBC; in A2DP_BuildInfoSbc() 149 *p_result++ = p_ie->samp_freq | p_ie->ch_mode; in A2DP_BuildInfoSbc() 151 *p_result++ = p_ie->block_len | p_ie->num_subbands | p_ie->alloc_method; in A2DP_BuildInfoSbc() 153 *p_result++ = p_ie->min_bitpool; in A2DP_BuildInfoSbc() 154 *p_result = p_ie->max_bitpool; in A2DP_BuildInfoSbc() 909 static bool select_best_sample_rate(uint8_t samp_freq, tA2DP_SBC_CIE* p_result, in select_best_sample_rate() argument [all …]
|
/packages/modules/Bluetooth/system/internal_include/ |
D | bt_trace.h | 68 inline std::string& AppendField(std::string* p_result, bool append, in AppendField() argument 70 bluetooth::log::assert_that(p_result != nullptr, in AppendField() 72 if (!append) return *p_result; in AppendField() 73 if (!p_result->empty()) *p_result += "|"; in AppendField() 74 *p_result += name; in AppendField() 75 return *p_result; in AppendField()
|
/packages/modules/Bluetooth/system/stack/include/ |
D | avrc_api.h | 710 tAVRC_STS AVRC_Ctrl_ParsCommand(tAVRC_MSG* p_msg, tAVRC_COMMAND* p_result); 723 tAVRC_STS AVRC_ParsCommand(tAVRC_MSG* p_msg, tAVRC_COMMAND* p_result, 737 tAVRC_STS AVRC_ParsResponse(tAVRC_MSG* p_msg, tAVRC_RESPONSE* p_result, 751 tAVRC_STS AVRC_Ctrl_ParsResponse(tAVRC_MSG* p_msg, tAVRC_RESPONSE* p_result,
|
/packages/modules/Bluetooth/system/bta/dm/ |
D | bta_dm_device_search.cc | 74 static void bta_dm_inq_cmpl_cb(void* p_result); 90 static void bta_dm_observe_cmpl_cb(void* p_result); 745 static void bta_dm_observe_cmpl_cb(void* p_result) { in bta_dm_observe_cmpl_cb() argument 749 auto num_resps = ((tBTM_INQUIRY_CMPL*)p_result)->num_resp; in bta_dm_observe_cmpl_cb() 1032 void bta_dm_inq_cmpl_cb(void* p_result) { ::bta_dm_inq_cmpl_cb(p_result); } in bta_dm_inq_cmpl_cb() argument 1033 void bta_dm_observe_cmpl_cb(void* p_result) { in bta_dm_observe_cmpl_cb() argument 1034 ::bta_dm_observe_cmpl_cb(p_result); in bta_dm_observe_cmpl_cb()
|
D | bta_dm_sec.cc | 207 tBTM_REMOTE_DEV_NAME* p_result = (tBTM_REMOTE_DEV_NAME*)p_data; in bta_dm_pinname_cback() local 216 if (p_result && p_result->status == BTM_SUCCESS) { in bta_dm_pinname_cback() 217 bd_name_copy(sec_event.cfm_req.bd_name, p_result->remote_bd_name); in bta_dm_pinname_cback() 237 if (p_result && p_result->status == BTM_SUCCESS) { in bta_dm_pinname_cback() 238 bd_name_copy(sec_event.pin_req.bd_name, p_result->remote_bd_name); in bta_dm_pinname_cback()
|
D | bta_dm_disc_legacy.cc | 96 static void bta_dm_inq_cmpl_cb(void* p_result); 232 static void bta_dm_observe_cmpl_cb(void* p_result); 1706 static void bta_dm_observe_cmpl_cb(void* p_result) { in bta_dm_observe_cmpl_cb() argument 1710 auto num_resps = ((tBTM_INQUIRY_CMPL*)p_result)->num_resp; in bta_dm_observe_cmpl_cb() 2362 void bta_dm_inq_cmpl_cb(void* p_result) { in bta_dm_inq_cmpl_cb() argument 2363 ::bta_dm_disc_legacy::bta_dm_inq_cmpl_cb(p_result); in bta_dm_inq_cmpl_cb() 2365 void bta_dm_observe_cmpl_cb(void* p_result) { in bta_dm_observe_cmpl_cb() argument 2366 ::bta_dm_disc_legacy::bta_dm_observe_cmpl_cb(p_result); in bta_dm_observe_cmpl_cb()
|
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_gatt_client.cc | 248 tBTM_RSSI_RESULT* p_result = (tBTM_RSSI_RESULT*)p_void; in btm_read_rssi_cb() local 250 if (!p_result) return; in btm_read_rssi_cb() 253 p_result->rem_bda, p_result->rssi, p_result->status); in btm_read_rssi_cb()
|
/packages/modules/Bluetooth/system/bta/test/ |
D | bta_disc_test.cc | 59 void bta_dm_inq_cmpl_cb(void* p_result); 60 void bta_dm_observe_cmpl_cb(void* p_result);
|
/packages/modules/Bluetooth/system/bta/hearing_aid/ |
D | hearing_aid.cc | 2075 tBTM_RSSI_RESULT* p_result = (tBTM_RSSI_RESULT*)p_void; in read_rssi_callback() local 2077 if (!p_result) return; in read_rssi_callback() 2079 if ((instance) && (p_result->status == BTM_SUCCESS)) { in read_rssi_callback() 2080 instance->OnReadRssiComplete(p_result->rem_bda, p_result->rssi); in read_rssi_callback()
|