/packages/modules/Bluetooth/system/test/mock/ |
D | mock_stack_smp_act.h | 54 std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{ 55 [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}}; 56 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator() 63 std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{ 64 [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}}; 65 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator() 72 std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{ 73 [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}}; 74 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator() 81 std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{ [all …]
|
D | mock_stack_smp_act.cc | 135 void smp_send_app_cback(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_app_cback() argument 137 test::mock::stack_smp_act::smp_send_app_cback(p_cb, p_data); in smp_send_app_cback() 139 void smp_send_pair_fail(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_pair_fail() argument 141 test::mock::stack_smp_act::smp_send_pair_fail(p_cb, p_data); in smp_send_pair_fail() 143 void smp_send_pair_req(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_pair_req() argument 145 test::mock::stack_smp_act::smp_send_pair_req(p_cb, p_data); in smp_send_pair_req() 147 void smp_send_pair_rsp(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_pair_rsp() argument 149 test::mock::stack_smp_act::smp_send_pair_rsp(p_cb, p_data); in smp_send_pair_rsp() 151 void smp_send_confirm(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_confirm() argument 153 test::mock::stack_smp_act::smp_send_confirm(p_cb, p_data); in smp_send_confirm() [all …]
|
/packages/modules/Bluetooth/system/stack/avrc/ |
D | avrc_bld_tg.cc | 53 uint8_t *p_data, *p_start, *p_len, *p_count; in avrc_bld_get_capability_rsp() local 69 p_data = p_len = p_start + 2; /* pdu + rsvd */ in avrc_bld_get_capability_rsp() 71 BE_STREAM_TO_UINT16(len, p_data); in avrc_bld_get_capability_rsp() 72 UINT8_TO_BE_STREAM(p_data, p_rsp->capability_id); in avrc_bld_get_capability_rsp() 73 p_count = p_data; in avrc_bld_get_capability_rsp() 77 p_data++; in avrc_bld_get_capability_rsp() 80 p_data = p_start + p_pkt->len; in avrc_bld_get_capability_rsp() 87 UINT24_TO_BE_STREAM(p_data, p_company_id[xx]); in avrc_bld_get_capability_rsp() 96 UINT8_TO_BE_STREAM(p_data, p_event_id[xx]); in avrc_bld_get_capability_rsp() 102 p_pkt->len = (p_data - p_start); in avrc_bld_get_capability_rsp() [all …]
|
D | avrc_bld_ct.cc | 41 uint8_t *p_data, *p_start; in avrc_bld_next_cmd() local 47 p_data = p_start + 2; /* pdu + rsvd */ in avrc_bld_next_cmd() 50 UINT16_TO_BE_STREAM(p_data, 1); in avrc_bld_next_cmd() 51 UINT8_TO_BE_STREAM(p_data, p_cmd->target_pdu); in avrc_bld_next_cmd() 52 p_pkt->len = (p_data - p_start); in avrc_bld_next_cmd() 73 uint8_t *p_data, *p_start; in avrc_bld_set_abs_volume_cmd() local 78 p_data = p_start + 2; /* pdu + rsvd */ in avrc_bld_set_abs_volume_cmd() 80 UINT16_TO_BE_STREAM(p_data, 1); in avrc_bld_set_abs_volume_cmd() 81 UINT8_TO_BE_STREAM(p_data, (AVRC_MAX_VOLUME & p_cmd->volume)); in avrc_bld_set_abs_volume_cmd() 82 p_pkt->len = (p_data - p_start); in avrc_bld_set_abs_volume_cmd() [all …]
|
D | avrc_api.cc | 269 uint8_t* p_data = avrc_get_data_ptr(p_pkt); in avrc_copy_packet() local 271 memcpy(p_data_copy, p_data, p_pkt->len); in avrc_copy_packet() 288 uint8_t *p_data, *p_orig_data; in avrc_prep_end_frag() local 306 p_data = (uint8_t*)(p_pkt_new + 1) + p_pkt_new->offset; in avrc_prep_end_frag() 307 *p_data++ = rsp_type; in avrc_prep_end_frag() 308 *p_data++ = (AVRC_SUB_PANEL << AVRC_SUBTYPE_SHIFT); in avrc_prep_end_frag() 309 *p_data++ = AVRC_OP_VENDOR; in avrc_prep_end_frag() 310 AVRC_CO_ID_TO_BE_STREAM(p_data, AVRC_CO_METADATA); in avrc_prep_end_frag() 311 *p_data++ = p_fcb->frag_pdu; in avrc_prep_end_frag() 312 *p_data++ = AVRC_PKT_END; in avrc_prep_end_frag() [all …]
|
D | avrc_opt.cc | 50 uint8_t* p_data; in avrc_vendor_msg() local 69 p_data = (uint8_t*)(p_cmd + 1) + p_cmd->offset; in avrc_vendor_msg() 70 *p_data++ = (p_msg->hdr.ctype & AVRC_CTYPE_MASK); in avrc_vendor_msg() 71 *p_data++ = in avrc_vendor_msg() 73 *p_data++ = AVRC_OP_VENDOR; in avrc_vendor_msg() 74 AVRC_CO_ID_TO_BE_STREAM(p_data, p_msg->company_id); in avrc_vendor_msg() 76 memcpy(p_data, p_msg->p_vendor_data, p_msg->vendor_len); in avrc_vendor_msg() 77 p_cmd->len = (uint16_t)(p_data + p_msg->vendor_len - (uint8_t*)(p_cmd + 1) - in avrc_vendor_msg() 107 uint8_t* p_data; in AVRC_UnitCmd() local 110 p_data = (uint8_t*)(p_cmd + 1) + p_cmd->offset; in AVRC_UnitCmd() [all …]
|
/packages/modules/Bluetooth/system/stack/rfcomm/ |
D | rfc_ts_frames.cc | 48 uint8_t* p_data; in rfc_send_sabme() local 53 p_data = (uint8_t*)(p_buf + 1) + L2CAP_MIN_OFFSET; in rfc_send_sabme() 56 *p_data++ = RFCOMM_EA | cr | (dlci << RFCOMM_SHIFT_DLCI); in rfc_send_sabme() 57 *p_data++ = RFCOMM_SABME | RFCOMM_PF; in rfc_send_sabme() 58 *p_data++ = RFCOMM_EA | 0; in rfc_send_sabme() 60 *p_data = in rfc_send_sabme() 76 uint8_t* p_data; in rfc_send_ua() local 81 p_data = (uint8_t*)(p_buf + 1) + L2CAP_MIN_OFFSET; in rfc_send_ua() 84 *p_data++ = RFCOMM_EA | cr | (dlci << RFCOMM_SHIFT_DLCI); in rfc_send_ua() 85 *p_data++ = RFCOMM_UA | RFCOMM_PF; in rfc_send_ua() [all …]
|
/packages/modules/Bluetooth/system/stack/avdt/ |
D | avdt_scb_act.cc | 85 void avdt_scb_hdl_abort_cmd(AvdtpScb* p_scb, tAVDT_SCB_EVT* p_data) { in avdt_scb_hdl_abort_cmd() argument 87 avdt_scb_event(p_scb, AVDT_SCB_API_ABORT_RSP_EVT, p_data); in avdt_scb_hdl_abort_cmd() 101 UNUSED_ATTR tAVDT_SCB_EVT* p_data) { in avdt_scb_hdl_abort_rsp() argument 115 void avdt_scb_hdl_close_cmd(AvdtpScb* p_scb, tAVDT_SCB_EVT* p_data) { in avdt_scb_hdl_close_cmd() argument 117 avdt_scb_event(p_scb, AVDT_SCB_API_CLOSE_RSP_EVT, p_data); in avdt_scb_hdl_close_cmd() 130 void avdt_scb_hdl_close_rsp(AvdtpScb* p_scb, tAVDT_SCB_EVT* p_data) { in avdt_scb_hdl_close_rsp() argument 131 p_scb->close_code = p_data->msg.hdr.err_code; in avdt_scb_hdl_close_rsp() 145 void avdt_scb_hdl_getconfig_cmd(AvdtpScb* p_scb, tAVDT_SCB_EVT* p_data) { in avdt_scb_hdl_getconfig_cmd() argument 146 p_data->msg.svccap.p_cfg = &p_scb->curr_cfg; in avdt_scb_hdl_getconfig_cmd() 148 avdt_scb_event(p_scb, AVDT_SCB_API_GETCONFIG_RSP_EVT, p_data); in avdt_scb_hdl_getconfig_cmd() [all …]
|
D | avdt_ccb_act.cc | 79 void avdt_ccb_chan_open(AvdtpCcb* p_ccb, UNUSED_ATTR tAVDT_CCB_EVT* p_data) { in avdt_ccb_chan_open() argument 94 void avdt_ccb_chan_close(AvdtpCcb* p_ccb, UNUSED_ATTR tAVDT_CCB_EVT* p_data) { in avdt_ccb_chan_close() argument 110 void avdt_ccb_chk_close(AvdtpCcb* p_ccb, UNUSED_ATTR tAVDT_CCB_EVT* p_data) { in avdt_ccb_chk_close() argument 144 void avdt_ccb_hdl_discover_cmd(AvdtpCcb* p_ccb, tAVDT_CCB_EVT* p_data) { in avdt_ccb_hdl_discover_cmd() argument 150 p_data->msg.discover_rsp.p_sep_info = sep_info; in avdt_ccb_hdl_discover_cmd() 151 p_data->msg.discover_rsp.num_seps = 0; in avdt_ccb_hdl_discover_cmd() 157 sep_info[p_data->msg.discover_rsp.num_seps].in_use = p_scb->in_use; in avdt_ccb_hdl_discover_cmd() 158 sep_info[p_data->msg.discover_rsp.num_seps].seid = p_scb->ScbHandle(); in avdt_ccb_hdl_discover_cmd() 159 sep_info[p_data->msg.discover_rsp.num_seps].media_type = in avdt_ccb_hdl_discover_cmd() 161 sep_info[p_data->msg.discover_rsp.num_seps].tsep = in avdt_ccb_hdl_discover_cmd() [all …]
|
D | avdt_int.h | 726 typedef void (*tAVDT_CCB_ACTION)(AvdtpCcb* p_ccb, tAVDT_CCB_EVT* p_data); 727 typedef void (*tAVDT_SCB_ACTION)(AvdtpScb* p_scb, tAVDT_SCB_EVT* p_data); 808 void avdt_ccb_event(AvdtpCcb* p_ccb, uint8_t event, tAVDT_CCB_EVT* p_data); 813 void avdt_ccb_dealloc(AvdtpCcb* p_ccb, tAVDT_CCB_EVT* p_data); 818 void avdt_ccb_chan_open(AvdtpCcb* p_ccb, tAVDT_CCB_EVT* p_data); 819 void avdt_ccb_chan_close(AvdtpCcb* p_ccb, tAVDT_CCB_EVT* p_data); 820 void avdt_ccb_chk_close(AvdtpCcb* p_ccb, tAVDT_CCB_EVT* p_data); 821 void avdt_ccb_hdl_discover_cmd(AvdtpCcb* p_ccb, tAVDT_CCB_EVT* p_data); 822 void avdt_ccb_hdl_discover_rsp(AvdtpCcb* p_ccb, tAVDT_CCB_EVT* p_data); 823 void avdt_ccb_hdl_getcap_cmd(AvdtpCcb* p_ccb, tAVDT_CCB_EVT* p_data); [all …]
|
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_gatt_server.cc | 103 p_dest_data->req_data.p_data = in btapp_gatts_copy_req_data() 105 memcpy(p_dest_data->req_data.p_data, p_src_data->req_data.p_data, in btapp_gatts_copy_req_data() 114 static void btapp_gatts_free_req_data(uint16_t event, tBTA_GATTS* p_data) { in btapp_gatts_free_req_data() argument 122 if (p_data != NULL) osi_free_and_reset((void**)&p_data->req_data.p_data); in btapp_gatts_free_req_data() 133 tBTA_GATTS* p_data = (tBTA_GATTS*)p_param; in btapp_gatts_handle_cback() local 137 p_data->reg_oper.status, p_data->reg_oper.server_if, in btapp_gatts_handle_cback() 138 p_data->reg_oper.uuid); in btapp_gatts_handle_cback() 146 btif_gatt_check_encrypted_link(p_data->conn.remote_bda, in btapp_gatts_handle_cback() 147 p_data->conn.transport); in btapp_gatts_handle_cback() 149 HAL_CBACK(bt_gatt_callbacks, server->connection_cb, p_data->conn.conn_id, in btapp_gatts_handle_cback() [all …]
|
D | btif_hd.cc | 74 uint8_t* p_data; in intr_data_copy_cb() local 82 p_data = ((uint8_t*)p_dst_data) + sizeof(tBTA_HD_INTR_DATA); in intr_data_copy_cb() 84 memcpy(p_data, p_src_data->p_data, p_src_data->len); in intr_data_copy_cb() 86 p_dst_data->p_data = p_data; in intr_data_copy_cb() 92 uint8_t* p_data; in set_report_copy_cb() local 100 p_data = ((uint8_t*)p_dst_data) + sizeof(tBTA_HD_SET_REPORT); in set_report_copy_cb() 102 memcpy(p_data, p_src_data->p_data, p_src_data->len); in set_report_copy_cb() 104 p_dst_data->p_data = p_data; in set_report_copy_cb() 142 tBTA_HD* p_data = (tBTA_HD*)p_param; in btif_hd_upstreams_evt() local 148 BTIF_TRACE_DEBUG("%s: status=%d", __func__, p_data->status); in btif_hd_upstreams_evt() [all …]
|
D | btif_gatt_client.cc | 113 tBTA_GATTC* p_data = (tBTA_GATTC*)p_param; in btif_gattc_upstreams_evt() local 117 p_data->exec_cmpl.conn_id, p_data->exec_cmpl.status); in btif_gattc_upstreams_evt() 123 p_data->search_cmpl.conn_id, p_data->search_cmpl.status); in btif_gattc_upstreams_evt() 130 data.bda = p_data->notify.bda; in btif_gattc_upstreams_evt() 131 memcpy(data.value, p_data->notify.value, p_data->notify.len); in btif_gattc_upstreams_evt() 133 data.handle = p_data->notify.handle; in btif_gattc_upstreams_evt() 134 data.is_notify = p_data->notify.is_notify; in btif_gattc_upstreams_evt() 135 data.len = p_data->notify.len; in btif_gattc_upstreams_evt() 137 HAL_CBACK(bt_gatt_callbacks, client->notify_cb, p_data->notify.conn_id, in btif_gattc_upstreams_evt() 140 if (!p_data->notify.is_notify) in btif_gattc_upstreams_evt() [all …]
|
/packages/modules/Bluetooth/system/stack/smp/ |
D | smp_int.h | 201 uint8_t* p_data; member 205 uint8_t* p_data; /* uint8_t type data pointer */ member 316 typedef void (*tSMP_ACT)(tSMP_CB* p_cb, tSMP_INT_DATA* p_data); 324 bool smp_sm_event(tSMP_CB* p_cb, tSMP_EVENT event, tSMP_INT_DATA* p_data); 331 tSMP_INT_DATA* p_data); 336 void smp_send_pair_req(tSMP_CB* p_cb, tSMP_INT_DATA* p_data); 337 void smp_send_confirm(tSMP_CB* p_cb, tSMP_INT_DATA* p_data); 338 void smp_send_pair_fail(tSMP_CB* p_cb, tSMP_INT_DATA* p_data); 339 void smp_send_rand(tSMP_CB* p_cb, tSMP_INT_DATA* p_data); 340 void smp_send_pair_public_key(tSMP_CB* p_cb, tSMP_INT_DATA* p_data); [all …]
|
D | smp_act.cc | 107 void smp_send_app_cback(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_app_cback() argument 124 cb_data.passkey = p_data->passkey; in smp_send_app_cback() 127 cb_data.req_oob_type = p_data->req_oob_type; in smp_send_app_cback() 262 void smp_send_pair_fail(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_pair_fail() argument 263 p_cb->status = p_data->status; in smp_send_pair_fail() 264 p_cb->failure = p_data->status; in smp_send_pair_fail() 282 void smp_send_pair_req(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_pair_req() argument 297 void smp_send_pair_rsp(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_pair_rsp() argument 315 void smp_send_confirm(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_confirm() argument 324 void smp_send_init(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_init() argument [all …]
|
/packages/modules/Bluetooth/system/bta/hh/ |
D | bta_hh_main.cc | 46 const tBTA_HH_DATA* p_data) { in bta_hh_better_state_machine() argument 52 bta_hh_connect(p_cb, p_data); in bta_hh_better_state_machine() 56 bta_hh_open_act(p_cb, p_data); in bta_hh_better_state_machine() 59 bta_hh_close_act(p_cb, p_data); in bta_hh_better_state_machine() 62 bta_hh_maint_dev_act(p_cb, p_data); in bta_hh_better_state_machine() 66 bta_hh_open_cmpl_act(p_cb, p_data); in bta_hh_better_state_machine() 70 bta_hh_gatt_open(p_cb, p_data); in bta_hh_better_state_machine() 80 bta_hh_open_act(p_cb, p_data); in bta_hh_better_state_machine() 84 bta_hh_open_failure(p_cb, p_data); in bta_hh_better_state_machine() 87 bta_hh_sdp_cmpl(p_cb, p_data); in bta_hh_better_state_machine() [all …]
|
/packages/modules/Bluetooth/system/bta/hf_client/ |
D | bta_hf_client_act.cc | 53 void bta_hf_client_start_close(tBTA_HF_CLIENT_DATA* p_data) { in bta_hf_client_start_close() argument 55 bta_hf_client_find_cb_by_handle(p_data->hdr.layer_specific); in bta_hf_client_start_close() 58 p_data->hdr.layer_specific); in bta_hf_client_start_close() 70 bta_hf_client_rfc_do_close(p_data); in bta_hf_client_start_close() 87 void bta_hf_client_start_open(tBTA_HF_CLIENT_DATA* p_data) { in bta_hf_client_start_open() argument 89 bta_hf_client_find_cb_by_handle(p_data->hdr.layer_specific); in bta_hf_client_start_open() 92 p_data->hdr.layer_specific); in bta_hf_client_start_open() 97 if (p_data) { in bta_hf_client_start_open() 98 client_cb->peer_addr = p_data->api_open.bd_addr; in bta_hf_client_start_open() 129 void bta_hf_client_rfc_open(tBTA_HF_CLIENT_DATA* p_data) { in bta_hf_client_rfc_open() argument [all …]
|
/packages/modules/Bluetooth/system/stack/avct/ |
D | avct_bcb_act.cc | 106 void avct_bcb_chnl_open(tAVCT_BCB* p_bcb, UNUSED_ATTR tAVCT_LCB_EVT* p_data) { in avct_bcb_chnl_open() argument 136 void avct_bcb_unbind_disc(UNUSED_ATTR tAVCT_BCB* p_bcb, tAVCT_LCB_EVT* p_data) { in avct_bcb_unbind_disc() argument 137 p_data->p_ccb->p_bcb = NULL; in avct_bcb_unbind_disc() 138 (*p_data->p_ccb->cc.p_ctrl_cback)(avct_ccb_to_idx(p_data->p_ccb), in avct_bcb_unbind_disc() 156 void avct_bcb_open_ind(tAVCT_BCB* p_bcb, tAVCT_LCB_EVT* p_data) { in avct_bcb_open_ind() argument 189 avct_bcb_event(p_bcb, AVCT_LCB_INT_CLOSE_EVT, p_data); in avct_bcb_open_ind() 221 void avct_bcb_open_fail(tAVCT_BCB* p_bcb, UNUSED_ATTR tAVCT_LCB_EVT* p_data) { in avct_bcb_open_fail() argument 242 void avct_bcb_close_ind(tAVCT_BCB* p_bcb, UNUSED_ATTR tAVCT_LCB_EVT* p_data) { in avct_bcb_close_ind() argument 273 void avct_bcb_close_cfm(tAVCT_BCB* p_bcb, tAVCT_LCB_EVT* p_data) { in avct_bcb_close_cfm() argument 294 (*p_cback)(avct_ccb_to_idx(p_ccb), event, p_data->result, in avct_bcb_close_cfm() [all …]
|
D | avct_int.h | 143 void avct_lcb_event(tAVCT_LCB* p_lcb, uint8_t event, tAVCT_LCB_EVT* p_data); 144 void avct_bcb_event(tAVCT_BCB* p_bcb, uint8_t event, tAVCT_LCB_EVT* p_data); 145 void avct_close_bcb(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data); 152 void avct_lcb_dealloc(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data); 158 void avct_lcb_chnl_open(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data); 159 void avct_lcb_unbind_disc(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data); 160 void avct_lcb_open_ind(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data); 161 void avct_lcb_open_fail(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data); 162 void avct_lcb_close_ind(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data); 163 void avct_lcb_close_cfm(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data); [all …]
|
D | avct_lcb_act.cc | 183 void avct_lcb_chnl_open(tAVCT_LCB* p_lcb, UNUSED_ATTR tAVCT_LCB_EVT* p_data) { in avct_lcb_chnl_open() argument 207 void avct_lcb_unbind_disc(UNUSED_ATTR tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data) { in avct_lcb_unbind_disc() argument 208 avct_ccb_dealloc(p_data->p_ccb, AVCT_DISCONNECT_CFM_EVT, 0, NULL); in avct_lcb_unbind_disc() 224 void avct_lcb_open_ind(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data) { in avct_lcb_open_ind() argument 256 avct_lcb_event(p_lcb, AVCT_LCB_INT_CLOSE_EVT, p_data); in avct_lcb_open_ind() 271 void avct_lcb_open_fail(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data) { in avct_lcb_open_fail() argument 277 avct_ccb_dealloc(p_ccb, AVCT_CONNECT_CFM_EVT, p_data->result, in avct_lcb_open_fail() 296 void avct_lcb_close_ind(tAVCT_LCB* p_lcb, UNUSED_ATTR tAVCT_LCB_EVT* p_data) { in avct_lcb_close_ind() argument 325 void avct_lcb_close_cfm(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data) { in avct_lcb_close_cfm() argument 341 avct_ccb_dealloc(p_ccb, event, p_data->result, &p_lcb->peer_addr); in avct_lcb_close_cfm() [all …]
|
/packages/modules/Bluetooth/system/bta/av/ |
D | bta_av_int.h | 296 uint8_t* p_data; member 303 uint8_t* p_data; member 628 typedef void (*tBTA_AV_SACT)(tBTA_AV_SCB* p_scb, tBTA_AV_DATA* p_data); 714 tAVDT_CTRL* p_data, uint8_t scb_index); 728 void bta_av_api_deregister(tBTA_AV_DATA* p_data); 730 void bta_av_sm_execute(tBTA_AV_CB* p_cb, uint16_t event, tBTA_AV_DATA* p_data); 732 tBTA_AV_DATA* p_data); 739 void bta_av_api_disconnect(tBTA_AV_DATA* p_data); 741 void bta_av_api_set_latency(tBTA_AV_DATA* p_data); 742 void bta_av_sig_chg(tBTA_AV_DATA* p_data); [all …]
|
D | bta_av_act.cc | 389 static tBTA_AV_CODE bta_av_group_navi_supported(uint8_t len, uint8_t* p_data, in bta_av_group_navi_supported() argument 392 uint8_t* p_ptr = p_data; in bta_av_group_navi_supported() 486 void bta_av_rc_opened(tBTA_AV_CB* p_cb, tBTA_AV_DATA* p_data) { in bta_av_rc_opened() argument 499 if (p_scb && p_scb->PeerAddress() == p_data->rc_conn_chg.peer_addr) { in bta_av_rc_opened() 500 p_scb->rc_handle = p_data->rc_conn_chg.handle; in bta_av_rc_opened() 512 i = p_data->rc_conn_chg.handle; in bta_av_rc_opened() 524 AVRC_OpenBrowse(p_data->rc_conn_chg.handle, AVCT_ACP); in bta_av_rc_opened() 552 p_lcb->addr = p_data->rc_conn_chg.peer_addr; in bta_av_rc_opened() 559 disc = p_data->rc_conn_chg.handle | BTA_AV_CHNL_MSK; in bta_av_rc_opened() 562 rc_open.peer_addr = p_data->rc_conn_chg.peer_addr; in bta_av_rc_opened() [all …]
|
/packages/modules/Bluetooth/system/bta/gatt/ |
D | bta_gattc_act.cc | 64 tGATT_CL_COMPLETE* p_data); 78 static void bta_gattc_init_bk_conn(const tBTA_GATTC_API_OPEN* p_data, 341 UNUSED_ATTR const tBTA_GATTC_DATA* p_data) { in bta_gattc_cancel_open_error() argument 351 UNUSED_ATTR const tBTA_GATTC_DATA* p_data) { in bta_gattc_open_error() argument 359 UNUSED_ATTR const tBTA_GATTC_DATA* p_data) { in bta_gattc_open_fail() argument 371 void bta_gattc_open(tBTA_GATTC_CLCB* p_clcb, const tBTA_GATTC_DATA* p_data) { in bta_gattc_open() argument 375 if (!GATT_Connect(p_clcb->p_rcb->client_if, p_data->api_conn.remote_bda, in bta_gattc_open() 376 p_data->api_conn.remote_addr_type, in bta_gattc_open() 377 BTM_BLE_DIRECT_CONNECTION, p_data->api_conn.transport, in bta_gattc_open() 378 p_data->api_conn.opportunistic, in bta_gattc_open() [all …]
|
/packages/modules/Bluetooth/system/bta/hd/ |
D | bta_hd_main.cc | 58 static void bta_hd_better_state_machine(uint16_t event, tBTA_HD_DATA* p_data) { in bta_hd_better_state_machine() argument 64 bta_hd_register_act(p_data); in bta_hd_better_state_machine() 67 bta_hd_add_device_act(p_data); in bta_hd_better_state_machine() 70 bta_hd_remove_device_act(p_data); in bta_hd_better_state_machine() 81 bta_hd_connect_act(p_data); in bta_hd_better_state_machine() 87 bta_hd_add_device_act(p_data); in bta_hd_better_state_machine() 90 bta_hd_remove_device_act(p_data); in bta_hd_better_state_machine() 93 bta_hd_send_report_act(p_data); in bta_hd_better_state_machine() 97 bta_hd_open_act(p_data); in bta_hd_better_state_machine() 100 bta_hd_close_act(p_data); in bta_hd_better_state_machine() [all …]
|
/packages/modules/Bluetooth/system/bta/pan/ |
D | bta_pan_act.cc | 47 tBTA_PAN_DATA* p_data); 299 void bta_pan_enable(tBTA_PAN_DATA* p_data) { in bta_pan_enable() argument 302 bta_pan_cb.p_cback = p_data->api_enable.p_cback; in bta_pan_enable() 327 void bta_pan_set_role(tBTA_PAN_DATA* p_data) { in bta_pan_set_role() argument 328 bta_pan_cb.app_id[0] = p_data->api_set_role.user_app_id; in bta_pan_set_role() 329 bta_pan_cb.app_id[2] = p_data->api_set_role.nap_app_id; in bta_pan_set_role() 332 tPAN_RESULT status = PAN_SetRole(p_data->api_set_role.role, in bta_pan_set_role() 333 std::string(p_data->api_set_role.user_name), in bta_pan_set_role() 334 std::string(p_data->api_set_role.nap_name)); in bta_pan_set_role() 339 .role = p_data->api_set_role.role, in bta_pan_set_role() [all …]
|