Home
last modified time | relevance | path

Searched refs:BT_HDR (Results 1 – 25 of 187) sorted by relevance

12345678

/system/bt/hci/include/
Dhci_packet_factory.h25 BT_HDR *(*make_reset)(void);
26 BT_HDR *(*make_read_buffer_size)(void);
27BT_HDR *(*make_host_buffer_size)(uint16_t acl_size, uint8_t sco_size, uint16_t acl_count, uint16_t…
28 BT_HDR *(*make_read_local_version_info)(void);
29 BT_HDR *(*make_read_bd_addr)(void);
30 BT_HDR *(*make_read_local_supported_commands)(void);
31 BT_HDR *(*make_read_local_extended_features)(uint8_t page_number);
32 BT_HDR *(*make_write_simple_pairing_mode)(uint8_t mode);
33 BT_HDR *(*make_write_secure_connections_host_support)(uint8_t mode);
34 BT_HDR *(*make_set_event_mask)(const bt_event_mask_t *event_mask);
[all …]
Dhci_packet_parser.h31 void (*parse_generic_command_complete)(BT_HDR *response);
34 BT_HDR *response,
40 BT_HDR *response,
45 BT_HDR *response,
50 BT_HDR *response,
56 BT_HDR *response,
64 BT_HDR *response,
69 BT_HDR *response,
75 BT_HDR *response,
81 BT_HDR *response,
[all …]
Dpacket_fragmenter.h25 typedef void (*transmit_finished_cb)(BT_HDR *packet, bool all_fragments_sent);
26 typedef void (*packet_reassembled_cb)(BT_HDR *packet);
27 typedef void (*packet_fragmented_cb)(BT_HDR *packet, bool send_transmit_finished);
49 void (*fragment_and_dispatch)(BT_HDR *packet);
53 void (*reassemble_and_dispatch)(BT_HDR *packet);
/system/bt/hci/src/
Dhci_packet_factory.c32 static BT_HDR *make_packet(size_t data_size);
33 static BT_HDR *make_command_no_params(uint16_t opcode);
34 static BT_HDR *make_command(uint16_t opcode, size_t parameter_size, uint8_t **stream_out);
38 static BT_HDR *make_reset(void) { in make_reset()
42 static BT_HDR *make_read_buffer_size(void) { in make_read_buffer_size()
46 static BT_HDR *make_host_buffer_size(uint16_t acl_size, uint8_t sco_size, uint16_t acl_count, uint1… in make_host_buffer_size()
49 BT_HDR *packet = make_command(HCI_HOST_BUFFER_SIZE, parameter_size, &stream); in make_host_buffer_size()
58 static BT_HDR *make_read_local_version_info(void) { in make_read_local_version_info()
62 static BT_HDR *make_read_bd_addr(void) { in make_read_bd_addr()
66 static BT_HDR *make_read_local_supported_commands(void) { in make_read_local_supported_commands()
[all …]
Dhci_packet_parser.c35 BT_HDR *response,
39 static void parse_generic_command_complete(BT_HDR *response) { in parse_generic_command_complete()
46 BT_HDR *response, in parse_read_buffer_size_response()
60 BT_HDR *response, in parse_read_local_version_info_response()
75 BT_HDR *response, in parse_read_local_supported_codecs_response()
92 BT_HDR *response, in parse_read_bd_addr_response()
103 BT_HDR *response, in parse_read_local_supported_commands_response()
115 BT_HDR *response, in parse_read_local_extended_features_response()
137 BT_HDR *response, in parse_ble_read_white_list_size_response()
148 BT_HDR *response, in parse_ble_read_buffer_size_response()
[all …]
/system/bt/stack/hcic/
Dhcicmds.c40 BT_HDR *p = (BT_HDR *)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_inquiry()
59 BT_HDR *p = (BT_HDR *)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_inq_cancel()
74 BT_HDR *p = (BT_HDR *)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_per_inq_mode()
95 BT_HDR *p = (BT_HDR *)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_exit_per_inq()
112 BT_HDR *p = (BT_HDR *)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_create_conn()
142 BT_HDR *p = (BT_HDR *)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_disconnect()
160 BT_HDR *p = (BT_HDR *)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_add_SCO_conn()
179 BT_HDR *p = (BT_HDR *)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_create_conn_cancel()
196 BT_HDR *p = (BT_HDR *)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_accept_conn()
214 BT_HDR *p = (BT_HDR *)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_reject_conn()
[all …]
Dhciblecmds.c40 BT_HDR *p = (BT_HDR *)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_ble_set_local_used_feat()
55 BT_HDR *p = (BT_HDR *)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_ble_set_random_addr()
75 BT_HDR *p = (BT_HDR *)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_ble_write_adv_params()
98 BT_HDR *p = (BT_HDR *)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_ble_read_adv_chnl_tx_power()
114 BT_HDR *p = (BT_HDR *)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_ble_set_adv_data()
140 BT_HDR *p = (BT_HDR *)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_ble_set_scan_rsp_data()
169 BT_HDR *p = (BT_HDR *)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_ble_set_adv_enable()
187 BT_HDR *p = (BT_HDR *)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_ble_set_scan_params()
208 BT_HDR *p = (BT_HDR *)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_ble_set_scan_enable()
233 BT_HDR *p = (BT_HDR *)osi_malloc(HCI_CMD_BUF_SIZE); in btsnd_hcic_ble_create_ll_conn()
[all …]
/system/bt/stack/gatt/
Datt_protocol.c48 BT_HDR *attp_build_mtu_cmd(UINT8 op_code, UINT16 rx_mtu) in attp_build_mtu_cmd()
51 BT_HDR *p_buf = in attp_build_mtu_cmd()
52 (BT_HDR *)osi_malloc(sizeof(BT_HDR) + GATT_HDR_SIZE + L2CAP_MIN_OFFSET); in attp_build_mtu_cmd()
72 BT_HDR *attp_build_exec_write_cmd (UINT8 op_code, UINT8 flag) in attp_build_exec_write_cmd()
74 BT_HDR *p_buf = (BT_HDR *)osi_malloc(GATT_DATA_BUF_SIZE); in attp_build_exec_write_cmd()
102 BT_HDR *attp_build_err_cmd(UINT8 cmd_code, UINT16 err_handle, UINT8 reason) in attp_build_err_cmd()
105 BT_HDR *p_buf = (BT_HDR *)osi_malloc(sizeof(BT_HDR) + L2CAP_MIN_OFFSET + 5); in attp_build_err_cmd()
128 BT_HDR *attp_build_browse_cmd(UINT8 op_code, UINT16 s_hdl, UINT16 e_hdl, tBT_UUID uuid) in attp_build_browse_cmd()
131 BT_HDR *p_buf = (BT_HDR *)osi_malloc(sizeof(BT_HDR) + payload_size + L2CAP_MIN_OFFSET); in attp_build_browse_cmd()
155 BT_HDR *attp_build_read_by_type_value_cmd (UINT16 payload_size, tGATT_FIND_TYPE_VALUE *p_value_type) in attp_build_read_by_type_value_cmd()
[all …]
/system/bt/bta/hf_client/
Dbta_hf_client_api.c92 BT_HDR *p_buf = (BT_HDR *)osi_malloc(sizeof(BT_HDR)); in BTA_HfClientDisable()
138 BT_HDR *p_buf = (BT_HDR *)osi_malloc(sizeof(BT_HDR)); in BTA_HfClientDeregister()
185 BT_HDR *p_buf = (BT_HDR *)osi_malloc(sizeof(BT_HDR)); in BTA_HfClientClose()
206 BT_HDR *p_buf = (BT_HDR *)osi_malloc(sizeof(BT_HDR)); in BTA_HfClientAudioOpen()
227 BT_HDR *p_buf = (BT_HDR *)osi_malloc(sizeof(BT_HDR)); in BTA_HfClientAudioClose()
/system/bt/bta/dm/
Dbta_dm_int.h149 BT_HDR hdr;
156 BT_HDR hdr;
163 BT_HDR hdr;
181 BT_HDR hdr;
195 BT_HDR hdr;
211 BT_HDR hdr;
221 BT_HDR hdr;
229 BT_HDR hdr;
237 BT_HDR hdr;
247 BT_HDR hdr;
[all …]
/system/bt/stack/smp/
Dsmp_utils.c135 typedef BT_HDR * (*tSMP_CMD_ACT)(UINT8 cmd_code, tSMP_CB *p_cb);
137 static BT_HDR *smp_build_pairing_cmd(UINT8 cmd_code, tSMP_CB *p_cb);
138 static BT_HDR *smp_build_confirm_cmd(UINT8 cmd_code, tSMP_CB *p_cb);
139 static BT_HDR *smp_build_rand_cmd(UINT8 cmd_code, tSMP_CB *p_cb);
140 static BT_HDR *smp_build_pairing_fail(UINT8 cmd_code, tSMP_CB *p_cb);
141 static BT_HDR *smp_build_identity_info_cmd(UINT8 cmd_code, tSMP_CB *p_cb);
142 static BT_HDR *smp_build_encrypt_info_cmd(UINT8 cmd_code, tSMP_CB *p_cb);
143 static BT_HDR *smp_build_security_request(UINT8 cmd_code, tSMP_CB *p_cb);
144 static BT_HDR *smp_build_signing_info_cmd(UINT8 cmd_code, tSMP_CB *p_cb);
145 static BT_HDR *smp_build_master_id_cmd(UINT8 cmd_code, tSMP_CB *p_cb);
[all …]
/system/bt/bta/ag/
Dbta_ag_api.c93 BT_HDR *p_buf = (BT_HDR *)osi_malloc(sizeof(BT_HDR)); in BTA_AgDisable()
143 BT_HDR *p_buf = (BT_HDR *)osi_malloc(sizeof(BT_HDR)); in BTA_AgDeregister()
191 BT_HDR *p_buf = (BT_HDR *)osi_malloc(sizeof(BT_HDR)); in BTA_AgClose()
212 BT_HDR *p_buf = (BT_HDR *)osi_malloc(sizeof(BT_HDR)); in BTA_AgAudioOpen()
233 BT_HDR *p_buf = (BT_HDR *)osi_malloc(sizeof(BT_HDR)); in BTA_AgAudioClose()
/system/bt/stack/include/
Dbtu.h37 void (*callback)(BT_HDR *);
41 void (*callback)(BT_HDR *);
42 BT_HDR *response;
47 void (*callback)(BT_HDR *);
49 BT_HDR *command;
74 extern void btu_hcif_process_event (UINT8 controller_id, BT_HDR *p_buf);
75 extern void btu_hcif_send_cmd (UINT8 controller_id, BT_HDR *p_msg);
/system/bt/bta/jv/
Dbta_jv_int.h75 BT_HDR hdr;
82 BT_HDR hdr;
165 BT_HDR hdr;
186 BT_HDR hdr;
206 BT_HDR hdr;
214 BT_HDR hdr;
226 BT_HDR hdr;
238 BT_HDR hdr;
251 BT_HDR hdr;
263 BT_HDR hdr;
[all …]
/system/bt/bta/pan/
Dbta_pan_ci.c54 BT_HDR *p_buf = (BT_HDR *)osi_malloc(sizeof(BT_HDR)); in bta_pan_ci_tx_ready()
77 BT_HDR *p_buf = (BT_HDR *)osi_malloc(sizeof(BT_HDR)); in bta_pan_ci_rx_ready()
127 BT_HDR *p_buf = (BT_HDR *)osi_malloc(PAN_BUF_SIZE); in bta_pan_ci_rx_write()
162 BT_HDR *p_buf, BOOLEAN ext) in bta_pan_ci_rx_writebuf()
189 BT_HDR * bta_pan_ci_readbuf(UINT16 handle, BD_ADDR src, BD_ADDR dst, UINT16* p_protocol, in bta_pan_ci_readbuf()
193 BT_HDR * p_buf; in bta_pan_ci_readbuf()
197 p_buf = (BT_HDR *)fixed_queue_try_dequeue(p_scb->data_queue); in bta_pan_ci_readbuf()
264 void bta_pan_ci_rx_writebuf(UINT16 handle, BD_ADDR src, BD_ADDR dst, UINT16 protocol, BT_HDR *p_buf… in bta_pan_ci_rx_writebuf()
274 BT_HDR * bta_pan_ci_readbuf(UINT16 handle, BD_ADDR src, BD_ADDR dst, UINT16 *p_protocol, in bta_pan_ci_readbuf()
Dbta_pan_int.h78 BT_HDR hdr; /* Event header */
85 BT_HDR hdr; /* Event header */
103 BT_HDR hdr; /* Event header */
112 BT_HDR hdr; /* Event header */
119 BT_HDR hdr; /* Event header */
130 BT_HDR hdr;
172 BT_HDR hdr;
202 extern BOOLEAN bta_pan_hdl_event(BT_HDR *p_msg);
/system/bt/bta/gatt/
Dbta_gatts_int.h69 BT_HDR hdr;
76 BT_HDR hdr;
84 BT_HDR hdr;
95 BT_HDR hdr;
104 BT_HDR hdr;
111 BT_HDR hdr;
118 BT_HDR hdr;
127 BT_HDR hdr;
135 BT_HDR hdr;
142 BT_HDR hdr;
[all …]
/system/bt/stack/avrc/
Davrc_opt.c47 static BT_HDR * avrc_vendor_msg(tAVRC_MSG_VENDOR *p_msg) in avrc_vendor_msg()
49 BT_HDR *p_cmd; in avrc_vendor_msg()
56 p_cmd = (BT_HDR *)osi_malloc(AVRC_META_CMD_BUF_SIZE); in avrc_vendor_msg()
59 p_cmd = (BT_HDR *)osi_malloc(AVRC_CMD_BUF_SIZE); in avrc_vendor_msg()
99 BT_HDR *p_cmd = (BT_HDR *)osi_malloc(AVRC_CMD_BUF_SIZE); in AVRC_UnitCmd()
142 BT_HDR *p_cmd = (BT_HDR *)osi_malloc(AVRC_CMD_BUF_SIZE); in AVRC_SubCmd()
184 BT_HDR *p_buf = avrc_vendor_msg(p_msg); in AVRC_VendorCmd()
219 BT_HDR *p_buf = avrc_vendor_msg(p_msg); in AVRC_VendorRsp()
Davrc_bld_ct.c41 static tAVRC_STS avrc_bld_next_cmd (tAVRC_NEXT_CMD *p_cmd, BT_HDR *p_pkt) in avrc_bld_next_cmd()
74 static tAVRC_STS avrc_bld_set_abs_volume_cmd (tAVRC_SET_VOLUME_CMD *p_cmd, BT_HDR *p_pkt) in avrc_bld_set_abs_volume_cmd()
99 static tAVRC_STS avrc_bld_register_notifn(BT_HDR * p_pkt, UINT8 event_id, UINT32 event_param) in avrc_bld_register_notifn()
127 static tAVRC_STS avrc_bld_get_capability_cmd(BT_HDR * p_pkt, UINT8 cap_id) in avrc_bld_get_capability_cmd()
149 static tAVRC_STS avrc_bld_list_player_app_attr_cmd(BT_HDR * p_pkt) in avrc_bld_list_player_app_attr_cmd()
170 static tAVRC_STS avrc_bld_list_player_app_values_cmd(BT_HDR * p_pkt, UINT8 attrib_id) in avrc_bld_list_player_app_values_cmd()
193 BT_HDR * p_pkt, UINT8 num_attrib_id, UINT8* attrib_ids) in avrc_bld_get_current_player_app_values_cmd()
220 static tAVRC_STS avrc_bld_set_current_player_app_values_cmd(BT_HDR * p_pkt, UINT8 num_attrib_id, tA… in avrc_bld_set_current_player_app_values_cmd()
251 static tAVRC_STS avrc_bld_get_player_app_setting_attr_text_cmd (BT_HDR * p_pkt, tAVRC_GET_APP_ATTR_… in avrc_bld_get_player_app_setting_attr_text_cmd()
280 static tAVRC_STS avrc_bld_get_player_app_setting_value_text_cmd (BT_HDR * p_pkt, tAVRC_GET_APP_VAL_… in avrc_bld_get_player_app_setting_value_text_cmd()
[all …]
/system/bt/btif/include/
Dbtif_media.h68 BT_HDR hdr;
81 BT_HDR hdr;
90 BT_HDR hdr;
97 BT_HDR hdr;
110 BT_HDR hdr;
206 extern BT_HDR *btif_media_aa_readbuf(void);
217 UINT8 btif_media_sink_enque_buf(BT_HDR *p_buf);
230 extern void btif_media_aa_writebuf(BT_HDR *pBuf, UINT32 timestamp, UINT16 seq_num);
/system/bt/hci/test/
Dpacket_fragmenter_test.cpp66 static BT_HDR *manufacture_packet_for_fragmentation(uint16_t event, const char *data) { in manufacture_packet_for_fragmentation()
73 BT_HDR *packet = (BT_HDR *)osi_malloc(size + sizeof(BT_HDR)); in manufacture_packet_for_fragmentation()
89 static void expect_packet_fragmented(uint16_t event, int max_acl_data_size, BT_HDR *packet, const c… in expect_packet_fragmented()
142 BT_HDR *packet = (BT_HDR *)osi_malloc(length_to_send + 4 + sizeof(BT_HDR)); in manufacture_packet_and_then_reassemble()
164 BT_HDR *packet = (BT_HDR *)osi_malloc(data_length + sizeof(BT_HDR)); in manufacture_packet_and_then_reassemble()
175 static void expect_packet_reassembled(uint16_t event, BT_HDR *packet, const char *expected_data) { in expect_packet_reassembled()
201 STUB_FUNCTION(void, fragmented_callback, (BT_HDR *packet, bool send_complete))
230 STUB_FUNCTION(void, reassembled_callback, (BT_HDR *packet))
249 STUB_FUNCTION(void, transmit_finished_callback, (UNUSED_ATTR BT_HDR *packet, UNUSED_ATTR bool sent_…
313 BT_HDR *packet = manufacture_packet_for_fragmentation(MSG_STACK_TO_HC_HCI_ACL, small_sample_data);
[all …]
/system/bt/bta/sdp/
Dbta_sdp_int.h59 BT_HDR hdr;
66 BT_HDR hdr;
74 BT_HDR hdr;
82 BT_HDR hdr;
108 extern BOOLEAN bta_sdp_sm_execute(BT_HDR *p_msg);
/system/bt/bta/av/
Dbta_av_api.c91 BT_HDR *p_buf = (BT_HDR *)osi_malloc(sizeof(BT_HDR)); in BTA_AvDisable()
142 BT_HDR *p_buf = (BT_HDR *)osi_malloc(sizeof(BT_HDR)); in BTA_AvDeregister()
189 BT_HDR *p_buf = (BT_HDR *)osi_malloc(sizeof(BT_HDR)); in BTA_AvClose()
228 BT_HDR *p_buf = (BT_HDR *) osi_malloc(sizeof(BT_HDR)); in BTA_AvStart()
246 BT_HDR *p_buf = (BT_HDR *)osi_malloc(sizeof(BT_HDR)); in BTA_AvOffloadStart()
287 BT_HDR *p_buf = in BTA_AvEnable_Sink()
288 (BT_HDR *)osi_malloc(sizeof(BT_HDR)); in BTA_AvEnable_Sink()
596 BT_HDR *p_pkt) in BTA_AvMetaRsp()
625 void BTA_AvMetaCmd(UINT8 rc_handle, UINT8 label, tBTA_AV_CMD cmd_code, BT_HDR *p_pkt) in BTA_AvMetaCmd()
/system/bt/stack/btu/
Dbtu_task.c66 extern void avdt_rcv_sync_info (BT_HDR *p_buf); /* this is for hci_test */
105 static void btu_hci_msg_process(BT_HDR *p_msg);
108 BT_HDR *p_msg = (BT_HDR *)fixed_queue_dequeue(queue); in btu_hci_msg_ready()
113 BT_HDR *p_msg = (BT_HDR *)fixed_queue_dequeue(queue); in btu_bta_msg_ready()
117 static void btu_hci_msg_process(BT_HDR *p_msg) { in btu_hci_msg_process()
/system/bt/stack/sdp/
Dsdpint.h64 #define SDP_DEVICE_NOTI_LEN sizeof (BT_HDR) + \
257 extern void sdp_conn_rcv_l2e_conn_ind (BT_HDR *p_msg);
258 extern void sdp_conn_rcv_l2e_conn_cfm (BT_HDR *p_msg);
259 extern void sdp_conn_rcv_l2e_disc (BT_HDR *p_msg);
260 extern void sdp_conn_rcv_l2e_config_ind (BT_HDR *p_msg);
261 extern void sdp_conn_rcv_l2e_config_cfm (BT_HDR *p_msg);
262 extern void sdp_conn_rcv_l2e_conn_failed (BT_HDR *p_msg);
263 extern void sdp_conn_rcv_l2e_connected (BT_HDR *p_msg);
264 extern void sdp_conn_rcv_l2e_conn_failed (BT_HDR *p_msg);
265 extern void sdp_conn_rcv_l2e_data (BT_HDR *p_msg);
[all …]

12345678