/system/bt/bta/dm/ |
D | bta_dm_api.c | 65 tBTA_DM_API_ENABLE *p_msg; in BTA_EnableBluetooth() local 79 if ((p_msg = (tBTA_DM_API_ENABLE *) GKI_getbuf(sizeof(tBTA_DM_API_ENABLE))) != NULL) in BTA_EnableBluetooth() 81 p_msg->hdr.event = BTA_DM_API_ENABLE_EVT; in BTA_EnableBluetooth() 82 p_msg->p_sec_cback = p_cback; in BTA_EnableBluetooth() 83 bta_sys_sendmsg(p_msg); in BTA_EnableBluetooth() 103 BT_HDR *p_msg; in BTA_DisableBluetooth() local 105 if ((p_msg = (BT_HDR *) GKI_getbuf(sizeof(BT_HDR))) != NULL) in BTA_DisableBluetooth() 107 p_msg->event = BTA_DM_API_DISABLE_EVT; in BTA_DisableBluetooth() 108 bta_sys_sendmsg(p_msg); in BTA_DisableBluetooth() 130 BT_HDR *p_msg; in BTA_EnableTestMode() local [all …]
|
D | bta_dm_ci.c | 49 tBTA_DM_CI_IO_REQ *p_msg; in bta_dm_ci_io_req() local 51 if ((p_msg = (tBTA_DM_CI_IO_REQ *) GKI_getbuf(sizeof(tBTA_DM_CI_IO_REQ))) != NULL) in bta_dm_ci_io_req() 53 p_msg->hdr.event = BTA_DM_CI_IO_REQ_EVT; in bta_dm_ci_io_req() 54 bdcpy(p_msg->bd_addr, bd_addr); in bta_dm_ci_io_req() 55 p_msg->io_cap = io_cap; in bta_dm_ci_io_req() 56 p_msg->oob_data = oob_data; in bta_dm_ci_io_req() 57 p_msg->auth_req = auth_req; in bta_dm_ci_io_req() 58 bta_sys_sendmsg(p_msg); in bta_dm_ci_io_req() 75 tBTA_DM_CI_RMT_OOB *p_msg; in bta_dm_ci_rmt_oob() local 77 if ((p_msg = (tBTA_DM_CI_RMT_OOB *) GKI_getbuf(sizeof(tBTA_DM_CI_RMT_OOB))) != NULL) in bta_dm_ci_rmt_oob() [all …]
|
D | bta_dm_act.c | 1195 tBTA_DM_MSG * p_msg; in bta_dm_search_cancel() local 1202 p_msg = (tBTA_DM_MSG *) GKI_getbuf(sizeof(tBTA_DM_MSG)); in bta_dm_search_cancel() 1203 if (p_msg != NULL) in bta_dm_search_cancel() 1205 p_msg->hdr.event = BTA_DM_SEARCH_CMPL_EVT; in bta_dm_search_cancel() 1206 p_msg->hdr.layer_specific = BTA_DM_API_DISCOVER_EVT; in bta_dm_search_cancel() 1207 bta_sys_sendmsg(p_msg); in bta_dm_search_cancel() 1219 if ((p_msg = (tBTA_DM_MSG *) GKI_getbuf(sizeof(tBTA_DM_MSG))) != NULL) in bta_dm_search_cancel() 1221 p_msg->hdr.event = BTA_DM_SEARCH_CMPL_EVT; in bta_dm_search_cancel() 1222 p_msg->hdr.layer_specific = BTA_DM_API_DISCOVER_EVT; in bta_dm_search_cancel() 1223 bta_sys_sendmsg(p_msg); in bta_dm_search_cancel() [all …]
|
/system/bt/bta/jv/ |
D | bta_jv_api.c | 179 tBTA_JV_API_ALLOC_CHANNEL *p_msg; in BTA_JvGetChannelId() local 182 … if ((p_msg = (tBTA_JV_API_ALLOC_CHANNEL *)GKI_getbuf(sizeof(tBTA_JV_API_ALLOC_CHANNEL))) != NULL) in BTA_JvGetChannelId() 184 p_msg->hdr.event = BTA_JV_API_GET_CHANNEL_EVT; in BTA_JvGetChannelId() 185 p_msg->type = conn_type; in BTA_JvGetChannelId() 186 p_msg->channel = channel; in BTA_JvGetChannelId() 187 p_msg->user_data = user_data; in BTA_JvGetChannelId() 188 bta_sys_sendmsg(p_msg); in BTA_JvGetChannelId() 212 tBTA_JV_API_FREE_CHANNEL *p_msg; in BTA_JvFreeChannel() local 215 if ((p_msg = (tBTA_JV_API_FREE_CHANNEL *)GKI_getbuf(sizeof(tBTA_JV_API_FREE_CHANNEL))) != NULL) in BTA_JvFreeChannel() 217 p_msg->hdr.event = BTA_JV_API_FREE_SCN_EVT; in BTA_JvFreeChannel() [all …]
|
/system/bt/bta/gatt/ |
D | bta_gatts_act.c | 183 void bta_gatts_register(tBTA_GATTS_CB *p_cb, tBTA_GATTS_DATA *p_msg) in bta_gatts_register() argument 199 if (bta_gatts_uuid_compare(p_cb->rcb[i].app_uuid, p_msg->api_reg.app_uuid)) in bta_gatts_register() 221 memcpy(&cb_data.reg_oper.uuid, &p_msg->api_reg.app_uuid, sizeof(tBT_UUID)); in bta_gatts_register() 228 p_cb->rcb[first_unuse].p_cback = p_msg->api_reg.p_cback; in bta_gatts_register() 229 memcpy(&p_cb->rcb[first_unuse].app_uuid, &p_msg->api_reg.app_uuid, sizeof(tBT_UUID)); in bta_gatts_register() 232 GATT_Register(&p_msg->api_reg.app_uuid, &bta_gatts_cback); in bta_gatts_register() 261 if (p_msg->api_reg.p_cback) in bta_gatts_register() 262 (*p_msg->api_reg.p_cback)(BTA_GATTS_REG_EVT, &cb_data); in bta_gatts_register() 275 void bta_gatts_start_if(tBTA_GATTS_CB *p_cb, tBTA_GATTS_DATA *p_msg) in bta_gatts_start_if() argument 279 if (bta_gatts_find_app_rcb_by_app_if(p_msg->int_start_if.server_if)) in bta_gatts_start_if() [all …]
|
D | bta_gatts_main.c | 63 BOOLEAN bta_gatts_hdl_event(BT_HDR *p_msg) in bta_gatts_hdl_event() argument 68 switch (p_msg->event) in bta_gatts_hdl_event() 75 bta_gatts_register(p_cb, (tBTA_GATTS_DATA *) p_msg); in bta_gatts_hdl_event() 79 bta_gatts_start_if(p_cb, (tBTA_GATTS_DATA *) p_msg); in bta_gatts_hdl_event() 83 bta_gatts_deregister(p_cb, (tBTA_GATTS_DATA *) p_msg); in bta_gatts_hdl_event() 87 bta_gatts_create_srvc(p_cb, (tBTA_GATTS_DATA *) p_msg); in bta_gatts_hdl_event() 91 bta_gatts_indicate_handle(p_cb,(tBTA_GATTS_DATA *) p_msg); in bta_gatts_hdl_event() 95 bta_gatts_open(p_cb,(tBTA_GATTS_DATA *) p_msg); in bta_gatts_hdl_event() 99 bta_gatts_cancel_open(p_cb,(tBTA_GATTS_DATA *) p_msg); in bta_gatts_hdl_event() 103 bta_gatts_close(p_cb,(tBTA_GATTS_DATA *) p_msg); in bta_gatts_hdl_event() [all …]
|
D | bta_gatts_int.h | 227 extern BOOLEAN bta_gatts_hdl_event(BT_HDR *p_msg); 231 extern void bta_gatts_register(tBTA_GATTS_CB *p_cb, tBTA_GATTS_DATA *p_msg); 232 extern void bta_gatts_start_if(tBTA_GATTS_CB *p_cb, tBTA_GATTS_DATA *p_msg); 233 extern void bta_gatts_deregister(tBTA_GATTS_CB *p_cb, tBTA_GATTS_DATA *p_msg); 234 extern void bta_gatts_create_srvc(tBTA_GATTS_CB *p_cb, tBTA_GATTS_DATA * p_msg); 235 extern void bta_gatts_add_include_srvc(tBTA_GATTS_SRVC_CB *p_srvc_cb, tBTA_GATTS_DATA * p_msg); 236 extern void bta_gatts_add_char(tBTA_GATTS_SRVC_CB *p_srvc_cb, tBTA_GATTS_DATA * p_msg); 237 extern void bta_gatts_add_char_descr(tBTA_GATTS_SRVC_CB *p_srvc_cb, tBTA_GATTS_DATA * p_msg); 238 extern void bta_gatts_delete_service(tBTA_GATTS_SRVC_CB *p_srvc_cb, tBTA_GATTS_DATA * p_msg); 239 extern void bta_gatts_start_service(tBTA_GATTS_SRVC_CB *p_srvc_cb, tBTA_GATTS_DATA * p_msg); [all …]
|
D | bta_gattc_main.c | 360 BOOLEAN bta_gattc_hdl_event(BT_HDR *p_msg) in bta_gattc_hdl_event() argument 367 APPL_TRACE_DEBUG("bta_gattc_hdl_event: Event [%s]", gattc_evt_code(p_msg->event)); in bta_gattc_hdl_event() 369 switch (p_msg->event) in bta_gattc_hdl_event() 376 bta_gattc_register(p_cb, (tBTA_GATTC_DATA *) p_msg); in bta_gattc_hdl_event() 380 bta_gattc_start_if(p_cb, (tBTA_GATTC_DATA *) p_msg); in bta_gattc_hdl_event() 384 p_clreg = bta_gattc_cl_get_regcb(((tBTA_GATTC_DATA *)p_msg)->api_dereg.client_if); in bta_gattc_hdl_event() 389 bta_gattc_process_api_open(p_cb, (tBTA_GATTC_DATA *) p_msg); in bta_gattc_hdl_event() 393 bta_gattc_process_api_open_cancel(p_cb, (tBTA_GATTC_DATA *) p_msg); in bta_gattc_hdl_event() 397 bta_gattc_process_api_refresh(p_cb, (tBTA_GATTC_DATA *) p_msg); in bta_gattc_hdl_event() 402 bta_gattc_listen(p_cb, (tBTA_GATTC_DATA *) p_msg); in bta_gattc_hdl_event() [all …]
|
/system/bt/stack/avdt/ |
D | avdt_msg.c | 55 typedef void (*tAVDT_MSG_BLD)(UINT8 **p, tAVDT_MSG *p_msg); 58 typedef UINT8 (*tAVDT_MSG_PRS)(tAVDT_MSG *p_msg, UINT8 *p, UINT16 len); 65 static void avdt_msg_bld_none(UINT8 **p, tAVDT_MSG *p_msg); 66 static void avdt_msg_bld_single(UINT8 **p, tAVDT_MSG *p_msg); 67 static void avdt_msg_bld_setconfig_cmd(UINT8 **p, tAVDT_MSG *p_msg); 68 static void avdt_msg_bld_reconfig_cmd(UINT8 **p, tAVDT_MSG *p_msg); 69 static void avdt_msg_bld_multi(UINT8 **p, tAVDT_MSG *p_msg); 70 static void avdt_msg_bld_security_cmd(UINT8 **p, tAVDT_MSG *p_msg); 71 static void avdt_msg_bld_discover_rsp(UINT8 **p, tAVDT_MSG *p_msg); 72 static void avdt_msg_bld_svccap(UINT8 **p, tAVDT_MSG *p_msg); [all …]
|
/system/bt/bta/sdp/ |
D | bta_sdp_api.c | 99 tBTA_SDP_API_SEARCH *p_msg; in BTA_SdpSearch() local 102 if ((p_msg = (tBTA_SDP_API_SEARCH *)GKI_getbuf(sizeof(tBTA_SDP_API_SEARCH))) != NULL) in BTA_SdpSearch() 104 p_msg->hdr.event = BTA_SDP_API_SEARCH_EVT; in BTA_SdpSearch() 105 bdcpy(p_msg->bd_addr, bd_addr); in BTA_SdpSearch() 107 memcpy(&(p_msg->uuid), uuid, sizeof(tSDP_UUID)); in BTA_SdpSearch() 108 bta_sys_sendmsg(p_msg); in BTA_SdpSearch() 130 tBTA_SDP_API_RECORD_USER *p_msg; in BTA_SdpCreateRecordByUser() local 133 if ((p_msg = (tBTA_SDP_API_RECORD_USER *)GKI_getbuf(sizeof(tBTA_SDP_API_RECORD_USER))) != NULL) in BTA_SdpCreateRecordByUser() 135 p_msg->hdr.event = BTA_SDP_API_CREATE_RECORD_USER_EVT; in BTA_SdpCreateRecordByUser() 136 p_msg->user_data = user_data; in BTA_SdpCreateRecordByUser() [all …]
|
D | bta_sdp.c | 62 BOOLEAN bta_sdp_sm_execute(BT_HDR *p_msg) in bta_sdp_sm_execute() argument 64 if(p_msg == NULL) return FALSE; in bta_sdp_sm_execute() 67 UINT16 action = (p_msg->event & 0x00ff); in bta_sdp_sm_execute() 72 (*bta_sdp_action[action])((tBTA_SDP_MSG*)p_msg); in bta_sdp_sm_execute()
|
/system/bt/stack/avrc/ |
D | avrc_pars_ct.c | 43 static tAVRC_STS avrc_pars_vendor_rsp(tAVRC_MSG_VENDOR *p_msg, tAVRC_RESPONSE *p_result) in avrc_pars_vendor_rsp() argument 51 if (p_msg->vendor_len == 0) in avrc_pars_vendor_rsp() 53 if (p_msg->p_vendor_data == NULL) in avrc_pars_vendor_rsp() 56 p = p_msg->p_vendor_data; in avrc_pars_vendor_rsp() 60 …AVRC_TRACE_DEBUG("avrc_pars_vendor_rsp() ctype:0x%x pdu:0x%x, len:%d/0x%x", p_msg->hdr.ctype, p_re… in avrc_pars_vendor_rsp() 61 if (p_msg->hdr.ctype == AVRC_RSP_REJ) in avrc_pars_vendor_rsp() 87 && (AVRC_RSP_CHANGED==p_msg->hdr.ctype || AVRC_RSP_INTERIM==p_msg->hdr.ctype in avrc_pars_vendor_rsp() 88 || AVRC_RSP_REJ==p_msg->hdr.ctype || AVRC_RSP_NOT_IMPL==p_msg->hdr.ctype)) in avrc_pars_vendor_rsp() 90 p_result->reg_notif.status=p_msg->hdr.ctype; in avrc_pars_vendor_rsp() 116 tAVRC_STS AVRC_ParsResponse (tAVRC_MSG *p_msg, tAVRC_RESPONSE *p_result, UINT8 *p_buf, UINT16 buf_l… in AVRC_ParsResponse() argument [all …]
|
D | avrc_opt.c | 47 static BT_HDR * avrc_vendor_msg(tAVRC_MSG_VENDOR *p_msg) in avrc_vendor_msg() argument 52 assert(p_msg != NULL); in avrc_vendor_msg() 55 assert(AVRC_META_CMD_POOL_SIZE > (AVRC_MIN_CMD_LEN+p_msg->vendor_len)); in avrc_vendor_msg() 58 assert(AVRC_CMD_POOL_SIZE > (AVRC_MIN_CMD_LEN+p_msg->vendor_len)); in avrc_vendor_msg() 64 *p_data++ = (p_msg->hdr.ctype & AVRC_CTYPE_MASK); in avrc_vendor_msg() 65 *p_data++ = (p_msg->hdr.subunit_type << AVRC_SUBTYPE_SHIFT) | p_msg->hdr.subunit_id; in avrc_vendor_msg() 67 AVRC_CO_ID_TO_BE_STREAM(p_data, p_msg->company_id); in avrc_vendor_msg() 68 if(p_msg->vendor_len && p_msg->p_vendor_data) in avrc_vendor_msg() 70 memcpy(p_data, p_msg->p_vendor_data, p_msg->vendor_len); in avrc_vendor_msg() 72 p_cmd->len = (UINT16) (p_data + p_msg->vendor_len - (UINT8 *)(p_cmd + 1) - p_cmd->offset); in avrc_vendor_msg() [all …]
|
D | avrc_api.c | 260 BT_HDR *p_pkt, tAVRC_MSG_VENDOR *p_msg) in avrc_proc_vendor_command() argument 285 if (p_msg->company_id == AVRC_CO_METADATA) in avrc_proc_vendor_command() 306 p_msg->hdr.opcode = AVRC_OP_DROP; /* used the p_pkt to send response */ in avrc_proc_vendor_command() 313 p_msg->hdr.opcode = AVRC_OP_DROP_N_FREE; in avrc_proc_vendor_command() 373 tAVRC_MSG_VENDOR *p_msg) in avrc_proc_far_msg() argument 395 if (p_msg->company_id == AVRC_CO_METADATA) in avrc_proc_far_msg() 482 p_msg->p_vendor_data = (UINT8 *)(p_pkt_new+1) + p_pkt_new->offset; in avrc_proc_far_msg() 483 p_msg->hdr.ctype = p_msg->p_vendor_data[0] & AVRC_CTYPE_MASK; in avrc_proc_far_msg() 485 p_msg->p_vendor_data += AVRC_VENDOR_HDR_SIZE; in avrc_proc_far_msg() 486 p_msg->vendor_len = p_pkt_new->len - AVRC_VENDOR_HDR_SIZE; in avrc_proc_far_msg() [all …]
|
D | avrc_pars_tg.c | 41 static tAVRC_STS avrc_pars_vendor_cmd(tAVRC_MSG_VENDOR *p_msg, tAVRC_COMMAND *p_result, in avrc_pars_vendor_cmd() argument 55 if (p_msg->vendor_len == 0) in avrc_pars_vendor_cmd() 57 if (p_msg->p_vendor_data == NULL) in avrc_pars_vendor_cmd() 60 p = p_msg->p_vendor_data; in avrc_pars_vendor_cmd() 63 if (!AVRC_IsValidAvcType (p_result->pdu, p_msg->hdr.ctype)) in avrc_pars_vendor_cmd() 71 if ((len+4) != (p_msg->vendor_len)) in avrc_pars_vendor_cmd() 289 tAVRC_STS AVRC_ParsCommand (tAVRC_MSG *p_msg, tAVRC_COMMAND *p_result, UINT8 *p_buf, UINT16 buf_len) in AVRC_ParsCommand() argument 294 if (p_msg && p_result) in AVRC_ParsCommand() 296 switch (p_msg->hdr.opcode) in AVRC_ParsCommand() 299 status = avrc_pars_vendor_cmd(&p_msg->vendor, p_result, p_buf, buf_len); in AVRC_ParsCommand() [all …]
|
/system/bt/stack/gatt/ |
D | att_protocol.c | 386 BT_HDR *attp_build_sr_msg(tGATT_TCB *p_tcb, UINT8 op_code, tGATT_SR_MSG *p_msg) in attp_build_sr_msg() argument 396 p_msg->attr_value.len, p_msg->attr_value.offset); in attp_build_sr_msg() 397 offset = p_msg->attr_value.offset; in attp_build_sr_msg() 407 p_msg->attr_value.handle, in attp_build_sr_msg() 409 p_msg->attr_value.len, in attp_build_sr_msg() 410 p_msg->attr_value.value); in attp_build_sr_msg() 418 p_cmd = attp_build_err_cmd(p_msg->error.cmd_code, p_msg->error.handle, p_msg->error.reason); in attp_build_sr_msg() 426 p_cmd = attp_build_mtu_cmd(op_code, p_msg->mtu); in attp_build_sr_msg() 454 tGATT_STATUS attp_send_sr_msg (tGATT_TCB *p_tcb, BT_HDR *p_msg) in attp_send_sr_msg() argument 460 if (p_msg != NULL) in attp_send_sr_msg() [all …]
|
D | gatt_sr.c | 124 tGATTS_RSP *p_msg, UINT16 mtu) in process_read_multi_rsp() argument 141 memcpy((void *)p_buf, (const void *)p_msg, sizeof(tGATTS_RSP)); in process_read_multi_rsp() 263 tGATT_STATUS status, tGATTS_RSP *p_msg) in gatt_sr_process_app_rsp() argument 275 if (!process_read_multi_rsp (&p_tcb->sr_cmd, status, p_msg, p_tcb->payload_size)) in gatt_sr_process_app_rsp() 293 … p_tcb->sr_cmd.p_rsp_msg = attp_build_sr_msg (p_tcb, (UINT8)(op_code + 1), (tGATT_SR_MSG *)p_msg); in gatt_sr_process_app_rsp() 402 tGATTS_RSP *p_msg; in gatt_process_read_multi_req() local 470 if ((p_msg = (tGATTS_RSP *)GKI_getbuf(sizeof(tGATTS_RSP))) != NULL) in gatt_process_read_multi_req() 472 memset(p_msg, 0, sizeof(tGATTS_RSP)) in gatt_process_read_multi_req() 477 p_msg->attr_value.handle = handle; in gatt_process_read_multi_req() 483 p_msg->attr_value.value, in gatt_process_read_multi_req() [all …]
|
/system/bt/stack/btu/ |
D | btu_task.c | 126 static void btu_hci_msg_process(BT_HDR *p_msg); 129 BT_HDR *p_msg = (BT_HDR *)fixed_queue_dequeue(queue); in btu_hci_msg_ready() local 130 btu_hci_msg_process(p_msg); in btu_hci_msg_ready() 170 BT_HDR *p_msg = (BT_HDR *)fixed_queue_dequeue(queue); in btu_bta_msg_ready() local 171 bta_sys_event(p_msg); in btu_bta_msg_ready() 179 static void btu_hci_msg_process(BT_HDR *p_msg) { in btu_hci_msg_process() argument 181 switch (p_msg->event & BT_EVT_MASK) in btu_hci_msg_process() 184 ((post_to_task_hack_t *)(&p_msg->data[0]))->callback(p_msg); in btu_hci_msg_process() 188 l2c_rcv_acl_data (p_msg); in btu_hci_msg_process() 193 l2c_link_segments_xmitted (p_msg); in btu_hci_msg_process() [all …]
|
/system/bt/bta/sys/ |
D | bta_sys_main.c | 220 BOOLEAN bta_sys_sm_execute(BT_HDR *p_msg) in bta_sys_sm_execute() argument 227 APPL_TRACE_EVENT("bta_sys_sm_execute state:%d, event:0x%x", bta_sys_cb.state, p_msg->event); in bta_sys_sm_execute() 232 bta_sys_cb.state = state_table[p_msg->event & 0x00ff][BTA_SYS_NEXT_STATE]; in bta_sys_sm_execute() 237 if ((action = state_table[p_msg->event & 0x00ff][i]) != BTA_SYS_IGNORE) in bta_sys_sm_execute() 239 (*bta_sys_action[action])( (tBTA_SYS_HW_MSG*) p_msg); in bta_sys_sm_execute() 361 tBTA_SYS_HW_MSG *p_msg; in bta_sys_hw_api_enable() local 362 if ((p_msg = (tBTA_SYS_HW_MSG *) GKI_getbuf(sizeof(tBTA_SYS_HW_MSG))) != NULL) in bta_sys_hw_api_enable() 364 p_msg->hdr.event = BTA_SYS_EVT_ENABLED_EVT; in bta_sys_hw_api_enable() 365 p_msg->hw_module = p_sys_hw_msg->hw_module; in bta_sys_hw_api_enable() 367 bta_sys_sendmsg(p_msg); in bta_sys_hw_api_enable() [all …]
|
/system/bt/bta/pan/ |
D | bta_pan_main.c | 367 BOOLEAN bta_pan_hdl_event(BT_HDR *p_msg) in bta_pan_hdl_event() argument 372 switch (p_msg->event) in bta_pan_hdl_event() 376 bta_pan_api_enable((tBTA_PAN_DATA *) p_msg); in bta_pan_hdl_event() 381 bta_pan_api_disable((tBTA_PAN_DATA *) p_msg); in bta_pan_hdl_event() 386 bta_pan_set_role((tBTA_PAN_DATA *) p_msg); in bta_pan_hdl_event() 391 bta_pan_api_open((tBTA_PAN_DATA *) p_msg); in bta_pan_hdl_event() 398 if ((p_scb = bta_pan_scb_by_handle(p_msg->layer_specific)) != NULL) in bta_pan_hdl_event() 400 bta_pan_sm_execute(p_scb, p_msg->event, (tBTA_PAN_DATA *) p_msg); in bta_pan_hdl_event() 406 if ((p_scb = bta_pan_scb_by_handle(p_msg->layer_specific)) != NULL) in bta_pan_hdl_event() 408 bta_pan_sm_execute(p_scb, p_msg->event, (tBTA_PAN_DATA *) p_msg); in bta_pan_hdl_event()
|
/system/bt/stack/mcap/ |
D | mca_cact.c | 98 tMCA_CCB_MSG *p_msg = (tMCA_CCB_MSG *)p_data; in mca_ccb_snd_req() local 104 MCA_TRACE_DEBUG ("mca_ccb_snd_req cong=%d req=%d", p_ccb->cong, p_msg->op_code); in mca_ccb_snd_req() 106 if ((p_ccb->status == MCA_CCB_STAT_PENDING) && (p_msg->op_code == MCA_OP_MDL_ABORT_REQ)) in mca_ccb_snd_req() 111 p_msg->mdl_id = p_dcb->mdl_id; in mca_ccb_snd_req() 121 p_ccb->p_tx_req = p_msg; in mca_ccb_snd_req() 129 *p++ = p_msg->op_code; in mca_ccb_snd_req() 130 UINT16_TO_BE_STREAM (p, p_msg->mdl_id); in mca_ccb_snd_req() 131 if (p_msg->op_code == MCA_OP_MDL_CREATE_REQ) in mca_ccb_snd_req() 133 *p++ = p_msg->mdep_id; in mca_ccb_snd_req() 134 *p++ = p_msg->param; in mca_ccb_snd_req() [all …]
|
/system/bt/bta/mce/ |
D | bta_mce_api.c | 100 tBTA_MCE_API_GET_REMOTE_MAS_INSTANCES *p_msg; in BTA_MceGetRemoteMasInstances() local 103 …if ((p_msg = (tBTA_MCE_API_GET_REMOTE_MAS_INSTANCES *)GKI_getbuf(sizeof(tBTA_MCE_API_GET_REMOTE_MA… in BTA_MceGetRemoteMasInstances() 105 p_msg->hdr.event = BTA_MCE_API_GET_REMOTE_MAS_INSTANCES_EVT; in BTA_MceGetRemoteMasInstances() 106 bdcpy(p_msg->bd_addr, bd_addr); in BTA_MceGetRemoteMasInstances() 107 bta_sys_sendmsg(p_msg); in BTA_MceGetRemoteMasInstances()
|
D | bta_mce_main.c | 63 BOOLEAN bta_mce_sm_execute(BT_HDR *p_msg) in bta_mce_sm_execute() argument 65 if(p_msg == NULL) return FALSE; in bta_mce_sm_execute() 68 UINT16 action = (p_msg->event & 0x00ff); in bta_mce_sm_execute() 73 (*bta_mce_action[action])((tBTA_MCE_MSG*)p_msg); in bta_mce_sm_execute()
|
/system/bt/stack/sdp/ |
D | sdpint.h | 258 extern void sdp_conn_rcv_l2e_conn_ind (BT_HDR *p_msg); 259 extern void sdp_conn_rcv_l2e_conn_cfm (BT_HDR *p_msg); 260 extern void sdp_conn_rcv_l2e_disc (BT_HDR *p_msg); 261 extern void sdp_conn_rcv_l2e_config_ind (BT_HDR *p_msg); 262 extern void sdp_conn_rcv_l2e_config_cfm (BT_HDR *p_msg); 263 extern void sdp_conn_rcv_l2e_conn_failed (BT_HDR *p_msg); 264 extern void sdp_conn_rcv_l2e_connected (BT_HDR *p_msg); 265 extern void sdp_conn_rcv_l2e_conn_failed (BT_HDR *p_msg); 266 extern void sdp_conn_rcv_l2e_data (BT_HDR *p_msg); 308 extern void sdp_server_handle_client_req (tCONN_CB *p_ccb, BT_HDR *p_msg); [all …]
|
/system/bt/btif/src/ |
D | btif_media_task.c | 287 static void btif_media_task_handle_inc_media(tBT_SBC_HDR*p_msg); 295 static void btif_media_task_enc_init(BT_HDR *p_msg); 296 static void btif_media_task_enc_update(BT_HDR *p_msg); 297 static void btif_media_task_audio_feeding_init(BT_HDR *p_msg); 298 static void btif_media_task_aa_tx_flush(BT_HDR *p_msg); 301 static void btif_media_task_aa_handle_decoder_reset(BT_HDR *p_msg); 1101 tBT_SBC_HDR *p_msg; in btif_media_task_avk_handle_timer() local 1123 p_msg = (tBT_SBC_HDR *)GKI_getfirst(&(btif_media_cb.RxSbcQ)); in btif_media_task_avk_handle_timer() 1124 if (p_msg == NULL) in btif_media_task_avk_handle_timer() 1126 num_sbc_frames = p_msg->num_frames_to_be_processed; /* num of frames in Que Packets */ in btif_media_task_avk_handle_timer() [all …]
|