/packages/modules/Bluetooth/system/test/mock/ |
D | mock_stack_smp_act.h | 55 std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{ 56 [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}}; 57 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator() 64 std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{ 65 [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}}; 66 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator() 73 std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{ 74 [](tSMP_CB* p_cb, tSMP_INT_DATA* p_data) {}}; 75 void operator()(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { body(p_cb, p_data); }; in operator() 82 std::function<void(tSMP_CB* p_cb, tSMP_INT_DATA* p_data)> body{ [all …]
|
D | mock_stack_smp_act.cc | 137 void smp_send_app_cback(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_app_cback() argument 139 test::mock::stack_smp_act::smp_send_app_cback(p_cb, p_data); in smp_send_app_cback() 141 void smp_send_pair_fail(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_pair_fail() argument 143 test::mock::stack_smp_act::smp_send_pair_fail(p_cb, p_data); in smp_send_pair_fail() 145 void smp_send_pair_req(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_pair_req() argument 147 test::mock::stack_smp_act::smp_send_pair_req(p_cb, p_data); in smp_send_pair_req() 149 void smp_send_pair_rsp(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_pair_rsp() argument 151 test::mock::stack_smp_act::smp_send_pair_rsp(p_cb, p_data); in smp_send_pair_rsp() 153 void smp_send_confirm(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_confirm() argument 155 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 | 54 uint8_t *p_data, *p_start, *p_len, *p_count; in avrc_bld_get_capability_rsp() local 70 p_data = p_len = p_start + 2; /* pdu + rsvd */ in avrc_bld_get_capability_rsp() 72 BE_STREAM_TO_UINT16(len, p_data); in avrc_bld_get_capability_rsp() 73 UINT8_TO_BE_STREAM(p_data, p_rsp->capability_id); in avrc_bld_get_capability_rsp() 74 p_count = p_data; in avrc_bld_get_capability_rsp() 78 p_data++; in avrc_bld_get_capability_rsp() 81 p_data = p_start + p_pkt->len; in avrc_bld_get_capability_rsp() 88 UINT24_TO_BE_STREAM(p_data, p_company_id[xx]); in avrc_bld_get_capability_rsp() 97 UINT8_TO_BE_STREAM(p_data, p_event_id[xx]); in avrc_bld_get_capability_rsp() 103 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 58 p_data = (uint8_t*)(p_cmd + 1) + p_cmd->offset; in avrc_vendor_msg() 59 *p_data++ = (p_msg->hdr.ctype & AVRC_CTYPE_MASK); in avrc_vendor_msg() 60 *p_data++ = in avrc_vendor_msg() 62 *p_data++ = AVRC_OP_VENDOR; in avrc_vendor_msg() 63 AVRC_CO_ID_TO_BE_STREAM(p_data, p_msg->company_id); in avrc_vendor_msg() 65 memcpy(p_data, p_msg->p_vendor_data, p_msg->vendor_len); in avrc_vendor_msg() 66 p_cmd->len = (uint16_t)(p_data + p_msg->vendor_len - (uint8_t*)(p_cmd + 1) - in avrc_vendor_msg() 96 uint8_t* p_data; in AVRC_UnitCmd() local 99 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 | 86 void avdt_scb_hdl_abort_cmd(AvdtpScb* p_scb, tAVDT_SCB_EVT* p_data) { in avdt_scb_hdl_abort_cmd() argument 88 avdt_scb_event(p_scb, AVDT_SCB_API_ABORT_RSP_EVT, p_data); in avdt_scb_hdl_abort_cmd() 102 UNUSED_ATTR tAVDT_SCB_EVT* p_data) { in avdt_scb_hdl_abort_rsp() argument 116 void avdt_scb_hdl_close_cmd(AvdtpScb* p_scb, tAVDT_SCB_EVT* p_data) { in avdt_scb_hdl_close_cmd() argument 118 avdt_scb_event(p_scb, AVDT_SCB_API_CLOSE_RSP_EVT, p_data); in avdt_scb_hdl_close_cmd() 131 void avdt_scb_hdl_close_rsp(AvdtpScb* p_scb, tAVDT_SCB_EVT* p_data) { in avdt_scb_hdl_close_rsp() argument 132 p_scb->close_code = p_data->msg.hdr.err_code; in avdt_scb_hdl_close_rsp() 146 void avdt_scb_hdl_getconfig_cmd(AvdtpScb* p_scb, tAVDT_SCB_EVT* p_data) { in avdt_scb_hdl_getconfig_cmd() argument 147 p_data->msg.svccap.p_cfg = &p_scb->curr_cfg; in avdt_scb_hdl_getconfig_cmd() 149 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 | 80 void avdt_ccb_chan_open(AvdtpCcb* p_ccb, UNUSED_ATTR tAVDT_CCB_EVT* p_data) { in avdt_ccb_chan_open() argument 95 void avdt_ccb_chan_close(AvdtpCcb* p_ccb, UNUSED_ATTR tAVDT_CCB_EVT* p_data) { in avdt_ccb_chan_close() argument 111 void avdt_ccb_chk_close(AvdtpCcb* p_ccb, UNUSED_ATTR tAVDT_CCB_EVT* p_data) { in avdt_ccb_chk_close() argument 145 void avdt_ccb_hdl_discover_cmd(AvdtpCcb* p_ccb, tAVDT_CCB_EVT* p_data) { in avdt_ccb_hdl_discover_cmd() argument 151 p_data->msg.discover_rsp.p_sep_info = sep_info; in avdt_ccb_hdl_discover_cmd() 152 p_data->msg.discover_rsp.num_seps = 0; in avdt_ccb_hdl_discover_cmd() 158 sep_info[p_data->msg.discover_rsp.num_seps].in_use = p_scb->in_use; in avdt_ccb_hdl_discover_cmd() 159 sep_info[p_data->msg.discover_rsp.num_seps].seid = p_scb->ScbHandle(); in avdt_ccb_hdl_discover_cmd() 160 sep_info[p_data->msg.discover_rsp.num_seps].media_type = in avdt_ccb_hdl_discover_cmd() 162 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); 809 tAVDT_CCB_EVT* p_data); 814 extern void avdt_ccb_dealloc(AvdtpCcb* p_ccb, tAVDT_CCB_EVT* p_data); 819 extern void avdt_ccb_chan_open(AvdtpCcb* p_ccb, tAVDT_CCB_EVT* p_data); 820 extern void avdt_ccb_chan_close(AvdtpCcb* p_ccb, tAVDT_CCB_EVT* p_data); 821 extern void avdt_ccb_chk_close(AvdtpCcb* p_ccb, tAVDT_CCB_EVT* p_data); 822 extern void avdt_ccb_hdl_discover_cmd(AvdtpCcb* p_ccb, tAVDT_CCB_EVT* p_data); 823 extern void avdt_ccb_hdl_discover_rsp(AvdtpCcb* p_ccb, tAVDT_CCB_EVT* p_data); 824 extern 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 | 104 p_dest_data->req_data.p_data = in btapp_gatts_copy_req_data() 106 memcpy(p_dest_data->req_data.p_data, p_src_data->req_data.p_data, in btapp_gatts_copy_req_data() 115 static void btapp_gatts_free_req_data(uint16_t event, tBTA_GATTS* p_data) { in btapp_gatts_free_req_data() argument 123 if (p_data != NULL) osi_free_and_reset((void**)&p_data->req_data.p_data); in btapp_gatts_free_req_data() 134 tBTA_GATTS* p_data = (tBTA_GATTS*)p_param; in btapp_gatts_handle_cback() local 138 p_data->reg_oper.status, p_data->reg_oper.server_if, in btapp_gatts_handle_cback() 139 p_data->reg_oper.uuid); in btapp_gatts_handle_cback() 147 btif_gatt_check_encrypted_link(p_data->conn.remote_bda, in btapp_gatts_handle_cback() 148 p_data->conn.transport); in btapp_gatts_handle_cback() 150 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_hh.cc | 130 extern void bte_hh_evt(tBTA_HH_EVT event, tBTA_HH* p_data); 739 tBTA_HH* p_data = (tBTA_HH*)p_param; in btif_hh_upstreams_evt() local 750 p_data->status); in btif_hh_upstreams_evt() 751 if (p_data->status == BTA_HH_OK) { in btif_hh_upstreams_evt() 760 p_data->status); in btif_hh_upstreams_evt() 771 if (p_data->status == BTA_HH_OK) { in btif_hh_upstreams_evt() 784 p_data->status); in btif_hh_upstreams_evt() 789 p_data->conn.handle, p_data->conn.status); in btif_hh_upstreams_evt() 791 if (p_data->conn.status == BTA_HH_OK) { in btif_hh_upstreams_evt() 792 p_dev = btif_hh_find_connected_dev_by_handle(p_data->conn.handle); in btif_hh_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); 325 tSMP_INT_DATA* p_data); 332 tSMP_INT_DATA* p_data); 337 extern void smp_send_pair_req(tSMP_CB* p_cb, tSMP_INT_DATA* p_data); 338 extern void smp_send_confirm(tSMP_CB* p_cb, tSMP_INT_DATA* p_data); 339 extern void smp_send_pair_fail(tSMP_CB* p_cb, tSMP_INT_DATA* p_data); 340 extern void smp_send_rand(tSMP_CB* p_cb, tSMP_INT_DATA* p_data); 341 extern void smp_send_pair_public_key(tSMP_CB* p_cb, tSMP_INT_DATA* p_data); [all …]
|
D | smp_act.cc | 106 void smp_send_app_cback(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_app_cback() argument 123 cb_data.passkey = p_data->passkey; in smp_send_app_cback() 126 cb_data.req_oob_type = p_data->req_oob_type; in smp_send_app_cback() 238 void smp_send_pair_fail(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_pair_fail() argument 239 p_cb->status = p_data->status; in smp_send_pair_fail() 240 p_cb->failure = p_data->status; in smp_send_pair_fail() 258 void smp_send_pair_req(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_pair_req() argument 273 void smp_send_pair_rsp(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_pair_rsp() argument 291 void smp_send_confirm(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_confirm() argument 300 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_start_sdp(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 | 107 void avct_bcb_chnl_open(tAVCT_BCB* p_bcb, UNUSED_ATTR tAVCT_LCB_EVT* p_data) { in avct_bcb_chnl_open() argument 137 void avct_bcb_unbind_disc(UNUSED_ATTR tAVCT_BCB* p_bcb, tAVCT_LCB_EVT* p_data) { in avct_bcb_unbind_disc() argument 138 p_data->p_ccb->p_bcb = NULL; in avct_bcb_unbind_disc() 139 (*p_data->p_ccb->cc.p_ctrl_cback)(avct_ccb_to_idx(p_data->p_ccb), in avct_bcb_unbind_disc() 157 void avct_bcb_open_ind(tAVCT_BCB* p_bcb, tAVCT_LCB_EVT* p_data) { in avct_bcb_open_ind() argument 190 avct_bcb_event(p_bcb, AVCT_LCB_INT_CLOSE_EVT, p_data); in avct_bcb_open_ind() 222 void avct_bcb_open_fail(tAVCT_BCB* p_bcb, UNUSED_ATTR tAVCT_LCB_EVT* p_data) { in avct_bcb_open_fail() argument 243 void avct_bcb_close_ind(tAVCT_BCB* p_bcb, UNUSED_ATTR tAVCT_LCB_EVT* p_data) { in avct_bcb_close_ind() argument 274 void avct_bcb_close_cfm(tAVCT_BCB* p_bcb, tAVCT_LCB_EVT* p_data) { in avct_bcb_close_cfm() argument 295 (*p_cback)(avct_ccb_to_idx(p_ccb), event, p_data->result, in avct_bcb_close_cfm() [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 254 avct_lcb_event(p_lcb, AVCT_LCB_INT_CLOSE_EVT, p_data); in avct_lcb_open_ind() 269 void avct_lcb_open_fail(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data) { in avct_lcb_open_fail() argument 275 avct_ccb_dealloc(p_ccb, AVCT_CONNECT_CFM_EVT, p_data->result, in avct_lcb_open_fail() 292 void avct_lcb_close_ind(tAVCT_LCB* p_lcb, UNUSED_ATTR tAVCT_LCB_EVT* p_data) { in avct_lcb_close_ind() argument 321 void avct_lcb_close_cfm(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data) { in avct_lcb_close_cfm() argument 337 avct_ccb_dealloc(p_ccb, event, p_data->result, &p_lcb->peer_addr); in avct_lcb_close_cfm() [all …]
|
D | avct_int.h | 144 tAVCT_LCB_EVT* p_data); 146 tAVCT_LCB_EVT* p_data); 147 extern void avct_close_bcb(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data); 155 extern void avct_lcb_dealloc(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data); 161 extern void avct_lcb_chnl_open(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data); 162 extern void avct_lcb_unbind_disc(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data); 163 extern void avct_lcb_open_ind(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data); 164 extern void avct_lcb_open_fail(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data); 165 extern void avct_lcb_close_ind(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data); 166 extern void avct_lcb_close_cfm(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data); [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 uint8_t event, tAVDT_CTRL* p_data, 729 extern void bta_av_api_deregister(tBTA_AV_DATA* p_data); 732 tBTA_AV_DATA* p_data); 734 tBTA_AV_DATA* p_data); 741 extern void bta_av_api_disconnect(tBTA_AV_DATA* p_data); 744 extern void bta_av_api_set_latency(tBTA_AV_DATA* p_data); 745 extern void bta_av_sig_chg(tBTA_AV_DATA* p_data); [all …]
|
D | bta_av_act.cc | 383 static tBTA_AV_CODE bta_av_group_navi_supported(uint8_t len, uint8_t* p_data, in bta_av_group_navi_supported() argument 386 uint8_t* p_ptr = p_data; in bta_av_group_navi_supported() 480 void bta_av_rc_opened(tBTA_AV_CB* p_cb, tBTA_AV_DATA* p_data) { in bta_av_rc_opened() argument 493 if (p_scb && p_scb->PeerAddress() == p_data->rc_conn_chg.peer_addr) { in bta_av_rc_opened() 494 p_scb->rc_handle = p_data->rc_conn_chg.handle; in bta_av_rc_opened() 506 i = p_data->rc_conn_chg.handle; in bta_av_rc_opened() 518 AVRC_OpenBrowse(p_data->rc_conn_chg.handle, AVCT_ACP); in bta_av_rc_opened() 546 p_lcb->addr = p_data->rc_conn_chg.peer_addr; in bta_av_rc_opened() 553 disc = p_data->rc_conn_chg.handle | BTA_AV_CHNL_MSK; in bta_av_rc_opened() 556 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 | 62 tGATT_CL_COMPLETE* p_data); 65 tGATT_CL_COMPLETE* p_data); 76 static void bta_gattc_init_bk_conn(const tBTA_GATTC_API_OPEN* p_data, 347 UNUSED_ATTR const tBTA_GATTC_DATA* p_data) { in bta_gattc_cancel_open_error() argument 357 UNUSED_ATTR const tBTA_GATTC_DATA* p_data) { in bta_gattc_open_error() argument 365 UNUSED_ATTR const tBTA_GATTC_DATA* p_data) { in bta_gattc_open_fail() argument 377 void bta_gattc_open(tBTA_GATTC_CLCB* p_clcb, const tBTA_GATTC_DATA* p_data) { in bta_gattc_open() argument 381 if (!GATT_Connect(p_clcb->p_rcb->client_if, p_data->api_conn.remote_bda, in bta_gattc_open() 382 BTM_BLE_DIRECT_CONNECTION, p_data->api_conn.transport, in bta_gattc_open() 383 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 …]
|