Home
last modified time | relevance | path

Searched refs:layer_specific (Results 1 – 25 of 75) sorted by relevance

123

/external/bluetooth/bluedroid/bta/av/
Dbta_av_api.c121 p_buf->hdr.layer_specific = chnl; in BTA_AvRegister()
152 p_buf->layer_specific = hndl; in BTA_AvDeregister()
176 p_buf->hdr.layer_specific = handle; in BTA_AvOpen()
201 p_buf->layer_specific = handle; in BTA_AvClose()
291 p_buf->hdr.layer_specific = hndl; in BTA_AvReconfig()
319 p_buf->hdr.layer_specific = hndl; in BTA_AvProtectReq()
353 p_buf->hdr.layer_specific = hndl; in BTA_AvProtectRsp()
387 p_buf->hdr.layer_specific = rc_handle; in BTA_AvRemoteCmd()
415 p_buf->hdr.layer_specific = rc_handle; in BTA_AvVendorCmd()
454 p_buf->hdr.layer_specific = rc_handle; in BTA_AvVendorRsp()
[all …]
Dbta_av_ci.c51 p_buf->layer_specific = chnl; in bta_av_ci_src_data_ready()
77 p_buf->hdr.layer_specific = hndl; in bta_av_ci_setconfig()
Dbta_av_act.c570 if(p_data->hdr.layer_specific < BTA_AV_NUM_RCB) in bta_av_rc_remote_cmd()
572 p_rcb = &p_cb->rcb[p_data->hdr.layer_specific]; in bta_av_rc_remote_cmd()
597 if(p_data->hdr.layer_specific < BTA_AV_NUM_RCB) in bta_av_rc_vendor_cmd()
599 p_rcb = &p_cb->rcb[p_data->hdr.layer_specific]; in bta_av_rc_vendor_cmd()
620 if(p_data->hdr.layer_specific < BTA_AV_NUM_RCB) in bta_av_rc_vendor_rsp()
622 p_rcb = &p_cb->rcb[p_data->hdr.layer_specific]; in bta_av_rc_vendor_rsp()
642 if ((p_cb->features & BTA_AV_FEAT_METADATA) && (p_data->hdr.layer_specific < BTA_AV_NUM_RCB)) in bta_av_rc_meta_rsp()
647 p_rcb = &p_cb->rcb[p_data->hdr.layer_specific]; in bta_av_rc_meta_rsp()
934 UINT16 handle = p_data->hdr.layer_specific; in bta_av_rc_close()
1079 int index = (p_data->hdr.layer_specific & BTA_AV_HNDL_MSK) - 1; in bta_av_conn_chg()
[all …]
Dbta_av_main.c229 p_buf->layer_specific = p_scb->hndl; in bta_av_timer_cback()
421 p_msg->hdr.layer_specific = event; in bta_av_conn_cback()
484 registr.chnl = (tBTA_AV_CHNL)p_data->hdr.layer_specific; in bta_av_api_register()
668 tBTA_AV_SCB *p_scb = bta_av_hndl_to_scb(p_data->hdr.layer_specific); in bta_av_api_deregister()
695 UINT8 chnl = (UINT8)p_data->hdr.layer_specific; in bta_av_ci_data()
853 p_buf->hdr.layer_specific = p_scb->hndl; in bta_av_sys_rs_cback()
1213 APPL_TRACE_EVENT1("handle=0x%x", p_msg->layer_specific); in bta_av_hdl_event()
1215 bta_av_ssm_execute( bta_av_hndl_to_scb(p_msg->layer_specific), in bta_av_hdl_event()
/external/bluetooth/bluedroid/bta/ag/
Dbta_ag_api.c167 p_buf->layer_specific = handle; in BTA_AgDeregister()
192 p_buf->hdr.layer_specific = handle; in BTA_AgOpen()
218 p_buf->layer_specific = handle; in BTA_AgClose()
241 p_buf->layer_specific = handle; in BTA_AgAudioOpen()
264 p_buf->layer_specific = handle; in BTA_AgAudioClose()
289 p_buf->hdr.layer_specific = handle; in BTA_AgResult()
318 p_buf->hdr.layer_specific = handle; in BTA_AgSetCodec()
Dbta_ag_ci.c60 p_buf->hdr.layer_specific = handle; in bta_ag_ci_rx_write()
95 p_buf->hdr.layer_specific = handle; in bta_ag_ci_slc_ready()
/external/bluetooth/bluedroid/bta/hh/
Dbta_hh_main.c216 cback_data.dev_info.handle = (UINT8)p_data->api_maintdev.hdr.layer_specific; in bta_hh_sm_execute()
227 cback_data.dev_status.handle = (UINT8)p_data->api_sndcmd.hdr.layer_specific; in bta_hh_sm_execute()
232 cback_data.hs_data.handle = (UINT8)p_data->api_sndcmd.hdr.layer_specific; in bta_hh_sm_execute()
242 cback_data.dev_status.handle = (UINT8)p_data->api_sndcmd.hdr.layer_specific; in bta_hh_sm_execute()
247 APPL_TRACE_ERROR1("wrong device handle: [%d]", p_data->hdr.layer_specific); in bta_hh_sm_execute()
333 index = bta_hh_cb.cb_index[p_msg->layer_specific]; in bta_hh_hdl_event()
347 else if (p_msg->layer_specific < BTA_HH_MAX_KNOWN ) in bta_hh_hdl_event()
348 index = bta_hh_cb.cb_index[p_msg->layer_specific]; in bta_hh_hdl_event()
354 … APPL_TRACE_DEBUG2("bta_hh_hdl_event:: handle = %d dev_cb[%d] ", p_msg->layer_specific, index); in bta_hh_hdl_event()
Dbta_hh_api.c123 p_buf->layer_specific = (UINT16) dev_handle; in BTA_HhClose()
150 p_buf->hdr.layer_specific = BTA_HH_INVALID_HANDLE; in BTA_HhOpen()
179 p_buf->hdr.layer_specific = (UINT16) dev_handle; in bta_hh_snd_write_dev()
319 p_buf->layer_specific = (UINT16) dev_handle; in BTA_HhGetDscpInfo()
351 p_buf->hdr.layer_specific = BTA_HH_INVALID_HANDLE; in BTA_HhAddDev()
395 p_buf->hdr.layer_specific = (UINT16) dev_handle; in BTA_HhRemoveDev()
/external/bluetooth/bluedroid/bta/gatt/
Dbta_gatts_api.c173 p_buf->hdr.layer_specific = service_id; in BTA_GATTS_AddIncludeService()
206 p_buf->hdr.layer_specific = service_id; in BTA_GATTS_AddCharacteristic()
248 p_buf->hdr.layer_specific = service_id; in BTA_GATTS_AddCharDescriptor()
281 p_buf->layer_specific = service_id; in BTA_GATTS_DeleteService()
309 p_buf->hdr.layer_specific = service_id; in BTA_GATTS_StartService()
336 p_buf->layer_specific = service_id; in BTA_GATTS_StopService()
369 p_buf->hdr.layer_specific = conn_id; in BTA_GATTS_HandleValueIndication()
409 p_buf->hdr.layer_specific = conn_id; in BTA_GATTS_SendRsp()
505 p_buf->layer_specific = conn_id; in BTA_GATTS_Close()
Dbta_gatts_act.c362 attr_id = GATTS_AddIncludeService(p_msg->api_add_incl_srvc.hdr.layer_specific, in bta_gatts_add_include_srvc()
366 cb_data.add_result.service_id = p_msg->api_add_incl_srvc.hdr.layer_specific; in bta_gatts_add_include_srvc()
396 attr_id = GATTS_AddCharacteristic(p_msg->api_add_char.hdr.layer_specific, in bta_gatts_add_char()
401 cb_data.add_result.service_id = p_msg->api_add_incl_srvc.hdr.layer_specific; in bta_gatts_add_char()
434 attr_id = GATTS_AddCharDescriptor(p_msg->api_add_char_descr.hdr.layer_specific, in bta_gatts_add_char_descr()
439 cb_data.add_result.service_id = p_msg->api_add_incl_srvc.hdr.layer_specific; in bta_gatts_add_char_descr()
473 cb_data.srvc_oper.service_id = p_msg->api_add_incl_srvc.hdr.layer_specific; in bta_gatts_delete_service()
506 cb_data.srvc_oper.service_id = p_msg->api_add_incl_srvc.hdr.layer_specific; in bta_gatts_start_service()
560 if (GATTS_SendRsp (p_msg->api_rsp.hdr.layer_specific, in bta_gatts_send_rsp()
590 status = GATTS_HandleValueIndication (p_msg->api_indicate.hdr.layer_specific, in bta_gatts_indicate_handle()
[all …]
Dbta_gattc_ci.c59 p_evt->hdr.layer_specific = conn_id; in bta_gattc_ci_cache_open()
93 p_evt->hdr.layer_specific = conn_id; in bta_gattc_ci_cache_load()
131 p_evt->hdr.layer_specific = conn_id; in bta_gattc_ci_cache_save()
Dbta_gattc_api.c186 p_buf->layer_specific = conn_id; in BTA_GATTC_Close()
219 p_buf->hdr.layer_specific = conn_id; in BTA_GATTC_ServiceSearchRequest()
508 p_buf->hdr.layer_specific = conn_id; in BTA_GATTC_ReadCharacteristic()
542 p_buf->hdr.layer_specific = conn_id; in BTA_GATTC_ReadCharDescr()
581 p_buf->hdr.layer_specific = conn_id; in BTA_GATTC_ReadMultiple()
630 p_buf->hdr.layer_specific = conn_id; in BTA_GATTC_WriteCharValue()
677 p_buf->hdr.layer_specific = conn_id; in BTA_GATTC_WriteCharDescr()
724 p_buf->hdr.layer_specific = conn_id; in BTA_GATTC_PrepareWrite()
766 p_buf->hdr.layer_specific = conn_id; in BTA_GATTC_ExecuteWrite()
799 p_buf->hdr.layer_specific = conn_id; in BTA_GATTC_SendIndConfirm()
Dbta_gattc_act.c295 buf.layer_specific = p_cb->clcb[i].bta_conn_id; in bta_gattc_deregister()
473 gattc_data.hdr.layer_specific = p_clcb->bta_conn_id; in bta_gattc_open()
515 gattc_data.hdr.layer_specific = p_clcb->bta_conn_id = conn_id; in bta_gattc_init_bk_conn()
627 APPL_TRACE_DEBUG1("bta_gattc_conn conn_id=%d",p_data->hdr.layer_specific); in bta_gattc_conn()
630 p_clcb->bta_conn_id = p_data->hdr.layer_specific; in bta_gattc_conn()
631 GATT_GetConnectionInfor(p_data->hdr.layer_specific, &gatt_if, p_clcb->bda); in bta_gattc_conn()
683 cb_data.close.conn_id = p_data->hdr.layer_specific; in bta_gattc_close_fail()
1090 if (GATTC_SendHandleValueConfirm(p_data->api_confirm.hdr.layer_specific, handle) in bta_gattc_confirm()
1302 APPL_TRACE_DEBUG1("bta_gattc_ignore_op_cmpl op = %d", p_data->hdr.layer_specific); in bta_gattc_ignore_op_cmpl()
1534 p_buf->layer_specific = conn_id; in bta_gattc_conn_cback()
[all …]
/external/libnfc-nci/src/nfc/nci/
Dnci_hmsgs.c54 p->layer_specific = 0; in nci_snd_core_reset()
86 p->layer_specific = 0; in nci_snd_core_init()
117 p->layer_specific = 0; in nci_snd_core_get_config()
204 p->layer_specific = 0; in nci_snd_core_conn_create()
242 p->layer_specific = 0; in nci_snd_core_conn_close()
278 p->layer_specific = 0; in nci_snd_nfcee_discover()
311 p->layer_specific = 0; in nci_snd_nfcee_mode_set()
348 p->layer_specific = 0; in nci_snd_discover_cmd()
390 p->layer_specific = 0; in nci_snd_discover_select_cmd()
425 p->layer_specific = 0; in nci_snd_deactivate_cmd()
[all …]
/external/bluetooth/bluedroid/bta/pan/
Dbta_pan_ci.c59 p_buf->layer_specific = handle; in bta_pan_ci_tx_ready()
84 p_buf->layer_specific = handle; in bta_pan_ci_rx_ready()
111 p_buf->hdr.layer_specific = handle; in bta_pan_ci_tx_flow()
151 p_buf->layer_specific = handle; in bta_pan_ci_rx_write()
183 p_buf->layer_specific = handle; in bta_pan_ci_rx_writebuf()
Dbta_pan_act.c106 p_buf->hdr.layer_specific = handle; in bta_pan_conn_state_cback()
137 p_buf->layer_specific = handle; in bta_pan_data_flow_cb()
213 p_event->layer_specific = handle; in bta_pan_data_buf_ind_cback()
489 p_buf->hdr.layer_specific = p_scb->handle; in bta_pan_api_close()
554 data.handle = p_data->hdr.layer_specific; in bta_pan_conn_close()
660 p_buf->layer_specific = p_scb->handle; in bta_pan_tx_path()
/external/bluetooth/bluedroid/hci/src/
Dhci_h4.c212 p_buf->layer_specific = 0; in get_acl_data_length_cback()
401 p_return_buf->layer_specific = 0; in acl_rx_frame_buffer_alloc()
639 lay_spec = p_msg->layer_specific; in hci_h4_send_msg()
650 p_msg->layer_specific = lay_spec; in hci_h4_send_msg()
670 if (p_msg->layer_specific) in hci_h4_send_msg()
672 if (--p_msg->layer_specific == 0) in hci_h4_send_msg()
692 lay_spec = p_msg->layer_specific; in hci_h4_send_msg()
701 p_msg->layer_specific = lay_spec; in hci_h4_send_msg()
722 (p_msg->layer_specific == lay_spec)) in hci_h4_send_msg()
848 p_cb->p_rcv_msg->layer_specific = 0; in hci_h4_receive_msg()
[all …]
Dhci_mct.c195 p_buf->layer_specific = 0; in get_acl_data_length_cback()
396 p_return_buf->layer_specific = 0; in acl_rx_frame_buffer_alloc()
649 if (p_msg->layer_specific) in hci_mct_send_msg()
651 if (--p_msg->layer_specific == 0) in hci_mct_send_msg()
696 (p_msg->layer_specific == lay_spec)) in hci_mct_send_msg()
781 p_cb->p_rcv_msg->layer_specific = 0; in hci_mct_receive_evt_msg()
1106 p_buf->layer_specific = opcode; in hci_mct_send_int_cmd()
1140 p_buf->layer_specific = 0; in hci_mct_get_acl_data_length()
/external/libnfc-nci/src/nfc/llcp/
Dllcp_api.c794 p_ui_pdu += p_buf->layer_specific; in LLCP_ReadLogicalLinkData()
797 … if (max_data_len >= (UINT32) (ui_pdu_length - LLCP_PDU_HEADER_SIZE - p_buf->layer_specific)) in LLCP_ReadLogicalLinkData()
800 … *p_data_len = (UINT32) (ui_pdu_length - LLCP_PDU_HEADER_SIZE - p_buf->layer_specific); in LLCP_ReadLogicalLinkData()
803 … p_buf->layer_specific = 0; /* reset offset to read from the first byte of next UI PDU */ in LLCP_ReadLogicalLinkData()
812 p_buf->layer_specific += max_data_len; in LLCP_ReadLogicalLinkData()
881 … flushed_length += (UINT32) (ui_pdu_length - LLCP_PDU_HEADER_SIZE - p_buf->layer_specific); in LLCP_FlushLogicalLinkRxData()
884 p_buf->layer_specific = 0; /* offset */ in LLCP_FlushLogicalLinkRxData()
1226 p_i_pdu += p_buf->layer_specific; in LLCP_ReadDataLinkData()
1229 if (max_data_len >= (UINT32) (i_pdu_length - p_buf->layer_specific)) in LLCP_ReadDataLinkData()
1232 *p_data_len = (UINT32) (i_pdu_length - p_buf->layer_specific); in LLCP_ReadDataLinkData()
[all …]
/external/bluetooth/bluedroid/stack/avrc/
Davrc_opt.c70 p_cmd->layer_specific = AVCT_DATA_CTRL; in avrc_vendor_msg()
111 p_cmd->layer_specific = AVCT_DATA_CTRL; in AVRC_UnitCmd()
157 p_cmd->layer_specific = AVCT_DATA_CTRL; in AVRC_SubCmd()
/external/libnfc-nci/halimpl/bcm2079x/hal/hal/
Dnfc_hal_hci_ci.c49 p_msg->hdr.layer_specific = 0; in nfc_hal_nv_ci_read()
82 p_msg->nv_write.hdr.layer_specific = 0; in nfc_hal_nv_ci_write()
Dnfc_hal_api.c165 p_msg->layer_specific = 0; in HAL_NfcCoreInitialized()
207 p_msg->layer_specific = (mt == NCI_MT_CMD) ? NFC_HAL_WAIT_RSP_CMD : 0; in HAL_NfcWrite()
Dnfc_hal_nci.c87 STREAM_TO_UINT16 (p_msg->layer_specific, pp); in nfc_hal_nci_assemble_nci_msg()
91 if (nfc_hal_cb.ncit_cb.p_frag_msg->layer_specific != p_msg->layer_specific) in nfc_hal_nci_assemble_nci_msg()
94 …rent messages 0x%x, 0x%x!!", nfc_hal_cb.ncit_cb.p_frag_msg->layer_specific, p_msg->layer_specific); in nfc_hal_nci_assemble_nci_msg()
139 p_msg->layer_specific = nfc_hal_cb.ncit_cb.nci_ras; in nfc_hal_nci_assemble_nci_msg()
/external/libnfc-nci/src/nfc/nfc/
Dnfc_ncif.c221 p->layer_specific = pbf; in nfc_ncif_send_data()
281 if (p_buf->layer_specific == NFC_WAIT_RSP_VSC) in nfc_ncif_check_cmd_queue()
350 p_buf->layer_specific = 0; in nfc_ncif_send_cmd()
1383 if (p_evt->layer_specific & NFC_RAS_FRAGMENTED) in nfc_data_event()
1391 if (p_evt->layer_specific) in nfc_data_event()
1446 p_msg->layer_specific = 0; in nfc_ncif_proc_data()
1448 p_msg->layer_specific = NFC_RAS_FRAGMENTED; in nfc_ncif_proc_data()
1450 if (p_last && (p_last->layer_specific & NFC_RAS_FRAGMENTED)) in nfc_ncif_proc_data()
1478 p_last->layer_specific |= NFC_RAS_TOO_BIG; in nfc_ncif_proc_data()
1485 if ((p_last->layer_specific & NFC_RAS_TOO_BIG) == 0) in nfc_ncif_proc_data()
[all …]
/external/bluetooth/bluedroid/stack/l2cap/
Dl2c_main.c150 if ((p_msg->layer_specific == 0) && (rcv_cid == L2CAP_SIGNALLING_CID) in l2c_rcv_acl_data()
154 handle, p_msg->layer_specific, rcv_cid, cmd_code, in l2c_rcv_acl_data()
156 p_msg->layer_specific = 2; in l2c_rcv_acl_data()
167 … handle, p_msg->layer_specific, rcv_cid, cmd_code, l2cb.rcv_hold_q.count); in l2c_rcv_acl_data()
826 if (!timed_out || (!p_buf->layer_specific) || (--p_buf->layer_specific == 0)) in l2c_process_held_packets()
829 p_buf->layer_specific = 0xFFFF; in l2c_process_held_packets()
972 p_data->layer_specific = flags; in l2c_data_write()

123