Home
last modified time | relevance | path

Searched refs:UINT16_TO_STREAM (Results 1 – 25 of 47) sorted by relevance

12

/packages/modules/Bluetooth/system/stack/hcic/
Dhcicmds.cc489 UINT16_TO_STREAM(pp, HCI_DISCONNECT); in btsnd_hcic_disconnect()
491 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_disconnect()
504 UINT16_TO_STREAM(pp, HCI_ADD_SCO_CONNECTION); in btsnd_hcic_add_SCO_conn()
507 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_add_SCO_conn()
508 UINT16_TO_STREAM(pp, packet_types); in btsnd_hcic_add_SCO_conn()
520 UINT16_TO_STREAM(pp, HCI_CREATE_CONNECTION_CANCEL); in btsnd_hcic_create_conn_cancel()
535 UINT16_TO_STREAM(pp, HCI_REJECT_CONNECTION_REQUEST); in btsnd_hcic_reject_conn()
552 UINT16_TO_STREAM(pp, HCI_LINK_KEY_REQUEST_REPLY); in btsnd_hcic_link_key_req_reply()
568 UINT16_TO_STREAM(pp, HCI_LINK_KEY_REQUEST_NEG_REPLY); in btsnd_hcic_link_key_neg_reply()
585 UINT16_TO_STREAM(pp, HCI_PIN_CODE_REQUEST_REPLY); in btsnd_hcic_pin_code_req_reply()
[all …]
Dhciblecmds.cc127 UINT16_TO_STREAM(pp, HCI_BLE_WRITE_ADV_PARAMS); in btsnd_hcic_ble_write_adv_params()
130 UINT16_TO_STREAM(pp, adv_int_min); in btsnd_hcic_ble_write_adv_params()
131 UINT16_TO_STREAM(pp, adv_int_max); in btsnd_hcic_ble_write_adv_params()
148 UINT16_TO_STREAM(pp, HCI_BLE_READ_ADV_CHNL_TX_POWER); in btsnd_hcic_ble_read_adv_chnl_tx_power()
161 UINT16_TO_STREAM(pp, HCI_BLE_WRITE_ADV_DATA); in btsnd_hcic_ble_set_adv_data()
184 UINT16_TO_STREAM(pp, HCI_BLE_WRITE_ADV_ENABLE); in btsnd_hcic_ble_set_adv_enable()
200 UINT16_TO_STREAM(pp, HCI_BLE_WRITE_SCAN_PARAMS); in btsnd_hcic_ble_set_scan_params()
204 UINT16_TO_STREAM(pp, scan_int); in btsnd_hcic_ble_set_scan_params()
205 UINT16_TO_STREAM(pp, scan_win); in btsnd_hcic_ble_set_scan_params()
219 UINT16_TO_STREAM(pp, HCI_BLE_WRITE_SCAN_ENABLE); in btsnd_hcic_ble_set_scan_enable()
[all …]
/packages/modules/Bluetooth/system/stack/gatt/
Dgatt_sr_hash.cc74 UINT16_TO_STREAM(p_data, attr_it->handle); in fill_database_info()
77 UINT16_TO_STREAM(p_data, GATT_UUID_PRI_SERVICE); in fill_database_info()
79 UINT16_TO_STREAM(p_data, GATT_UUID_SEC_SERVICE); in fill_database_info()
85 UINT16_TO_STREAM(p_data, attr_it->handle); in fill_database_info()
86 UINT16_TO_STREAM(p_data, GATT_UUID_INCLUDE_SERVICE); in fill_database_info()
87 UINT16_TO_STREAM(p_data, attr_it->p_value->incl_handle.s_handle); in fill_database_info()
88 UINT16_TO_STREAM(p_data, attr_it->p_value->incl_handle.e_handle); in fill_database_info()
93 UINT16_TO_STREAM(p_data, attr_it->handle); in fill_database_info()
94 UINT16_TO_STREAM(p_data, GATT_UUID_CHAR_DECLARE); in fill_database_info()
96 UINT16_TO_STREAM(p_data, attr_it->p_value->char_decl.char_val_handle); in fill_database_info()
[all …]
Datt_protocol.cc63 UINT16_TO_STREAM(p, rx_mtu); in attp_build_mtu_cmd()
116 UINT16_TO_STREAM(p, err_handle); in attp_build_err_cmd()
149 UINT16_TO_STREAM(p, s_hdl); in attp_build_browse_cmd()
150 UINT16_TO_STREAM(p, e_hdl); in attp_build_browse_cmd()
183 UINT16_TO_STREAM(p, p_value_type->s_handle); in attp_build_read_by_type_value_cmd()
184 UINT16_TO_STREAM(p, p_value_type->e_handle); in attp_build_read_by_type_value_cmd()
221 UINT16_TO_STREAM(p, *(p_handle + i)); in attp_build_read_multi_cmd()
247 UINT16_TO_STREAM(p, handle); in attp_build_handle_cmd()
251 UINT16_TO_STREAM(p, offset); in attp_build_handle_cmd()
325 UINT16_TO_STREAM(p, handle); in attp_build_value_cmd()
[all …]
Dgatt_db.cc207 UINT16_TO_STREAM(p, attr16.p_value->char_decl.char_val_handle); in read_attr_value()
210 UINT16_TO_STREAM(p, val_attr->uuid.As16Bit()); in read_attr_value()
228 UINT16_TO_STREAM(p, incl_handle.s_handle); in read_attr_value()
229 UINT16_TO_STREAM(p, incl_handle.e_handle); in read_attr_value()
232 UINT16_TO_STREAM(p, incl_handle.service_type.As16Bit()); in read_attr_value()
249 UINT16_TO_STREAM(p, char_ext_prop); in read_attr_value()
293 UINT16_TO_STREAM(p, attr.handle); in gatts_db_read_attr_value_by_type()
Dgatt_sr.cc220 UINT16_TO_STREAM(p, (uint16_t) len); in build_read_multi_rsp()
586 UINT16_TO_STREAM(p, el.s_hdl); in gatt_build_primary_service_rsp()
592 UINT16_TO_STREAM(p, 0xFFFF); in gatt_build_primary_service_rsp()
594 UINT16_TO_STREAM(p, el.e_hdl); in gatt_build_primary_service_rsp()
639 UINT16_TO_STREAM(p, attr.handle); in gatt_build_find_info_rsp()
640 UINT16_TO_STREAM(p, attr.uuid.As16Bit()); in gatt_build_find_info_rsp()
643 UINT16_TO_STREAM(p, attr.handle); in gatt_build_find_info_rsp()
647 UINT16_TO_STREAM(p, attr.handle); in gatt_build_find_info_rsp()
/packages/modules/Bluetooth/system/stack/l2cap/
Dl2c_utils.cc309 UINT16_TO_STREAM(p, (p_lcb->Handle() | (L2CAP_PKT_START_NON_FLUSHABLE in l2cu_build_header()
312 UINT16_TO_STREAM(p, p_lcb->Handle() | l2cb.non_flushable_pbf); in l2cu_build_header()
315 UINT16_TO_STREAM(p, len + L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD); in l2cu_build_header()
316 UINT16_TO_STREAM(p, len + L2CAP_CMD_OVERHEAD); in l2cu_build_header()
319 UINT16_TO_STREAM(p, L2CAP_BLE_SIGNALLING_CID); in l2cu_build_header()
321 UINT16_TO_STREAM(p, L2CAP_SIGNALLING_CID); in l2cu_build_header()
327 UINT16_TO_STREAM(p, len); in l2cu_build_header()
382 UINT16_TO_STREAM(p, reason); in l2cu_send_peer_cmd_reject()
384 if (param_len >= 2) UINT16_TO_STREAM(p, p1); in l2cu_send_peer_cmd_reject()
386 if (param_len >= 4) UINT16_TO_STREAM(p, p2); in l2cu_send_peer_cmd_reject()
[all …]
Dl2c_fcr.cc330 UINT16_TO_STREAM(p, ctrl_word); in prepare_I_frame()
335 UINT16_TO_STREAM(p, p_buf->len + L2CAP_FCS_LEN - L2CAP_PKT_OVERHEAD); in prepare_I_frame()
347 UINT16_TO_STREAM(p, fcs); in prepare_I_frame()
414 UINT16_TO_STREAM(p, L2CAP_FCR_OVERHEAD + L2CAP_FCS_LEN); in l2c_fcr_send_S_frame()
415 UINT16_TO_STREAM(p, p_ccb->remote_cid); in l2c_fcr_send_S_frame()
416 UINT16_TO_STREAM(p, ctrl_word); in l2c_fcr_send_S_frame()
421 UINT16_TO_STREAM(p, fcs); in l2c_fcr_send_S_frame()
1470 UINT16_TO_STREAM(p, p_xmit->len - L2CAP_PKT_OVERHEAD); in l2c_fcr_get_next_xmit_sdu_seg()
1472 UINT16_TO_STREAM(p, p_ccb->remote_cid); in l2c_fcr_get_next_xmit_sdu_seg()
1477 UINT16_TO_STREAM(p, sdu_len); in l2c_fcr_get_next_xmit_sdu_seg()
[all …]
/packages/modules/Bluetooth/system/bta/gatt/
Ddatabase.cc258 UINT16_TO_STREAM(p, service.handle); in Hash()
260 UINT16_TO_STREAM(p, GATT_UUID_PRI_SERVICE); in Hash()
262 UINT16_TO_STREAM(p, GATT_UUID_SEC_SERVICE); in Hash()
266 UINT16_TO_STREAM(p, service.uuid.As16Bit()); in Hash()
272 UINT16_TO_STREAM(p, is.handle); in Hash()
273 UINT16_TO_STREAM(p, GATT_UUID_INCLUDE_SERVICE); in Hash()
274 UINT16_TO_STREAM(p, is.start_handle); in Hash()
275 UINT16_TO_STREAM(p, is.end_handle); in Hash()
278 UINT16_TO_STREAM(p, is.uuid.As16Bit()); in Hash()
285 UINT16_TO_STREAM(p, c.declaration_handle); in Hash()
[all …]
/packages/modules/Bluetooth/system/hci/test/
Dpacket_fragmenter_test.cc96 UINT16_TO_STREAM(packet_data, test_iso_handle_start_with_ts); in manufacture_packet_for_fragmentation()
97 UINT16_TO_STREAM(packet_data, data_length + 8); in manufacture_packet_for_fragmentation()
100 UINT16_TO_STREAM(packet_data, test_iso_handle_start_without_ts); in manufacture_packet_for_fragmentation()
101 UINT16_TO_STREAM(packet_data, data_length + 4); in manufacture_packet_for_fragmentation()
103 UINT16_TO_STREAM(packet_data, iso_packet_seq); in manufacture_packet_for_fragmentation()
104 UINT16_TO_STREAM(packet_data, data_length); in manufacture_packet_for_fragmentation()
228 UINT16_TO_STREAM(packet_data, test_iso_handle_complete_with_ts); in manufacture_iso_packet_and_then_reassemble()
230 UINT16_TO_STREAM(packet_data, test_iso_handle_start_with_ts); in manufacture_iso_packet_and_then_reassemble()
234 UINT16_TO_STREAM(packet_data, test_iso_handle_complete_without_ts); in manufacture_iso_packet_and_then_reassemble()
236 UINT16_TO_STREAM(packet_data, test_iso_handle_start_without_ts); in manufacture_iso_packet_and_then_reassemble()
[all …]
/packages/modules/Bluetooth/system/bta/le_audio/
Dstorage_helper.cc103 UINT16_TO_STREAM(ptr, handle); in serializePacs()
104 UINT16_TO_STREAM(ptr, ccc_handle); in serializePacs()
119 UINT16_TO_STREAM(ptr, pac.codec_id.vendor_company_id); in serializePacs()
120 UINT16_TO_STREAM(ptr, pac.codec_id.vendor_codec_id); in serializePacs()
294 UINT16_TO_STREAM(ptr, ase.hdls.val_hdl); in SerializeAses()
295 UINT16_TO_STREAM(ptr, ase.hdls.ccc_hdl); in SerializeAses()
387 UINT16_TO_STREAM(ptr, leAudioDevice->ctp_hdls_.val_hdl); in SerializeHandles()
388 UINT16_TO_STREAM(ptr, leAudioDevice->ctp_hdls_.ccc_hdl); in SerializeHandles()
390 UINT16_TO_STREAM(ptr, leAudioDevice->snk_audio_locations_hdls_.val_hdl); in SerializeHandles()
391 UINT16_TO_STREAM(ptr, leAudioDevice->snk_audio_locations_hdls_.ccc_hdl); in SerializeHandles()
[all …]
Dclient_parser.cc339 UINT16_TO_STREAM(msg, conf.codec_id.vendor_company_id); in PrepareAseCtpCodecConfig()
340 UINT16_TO_STREAM(msg, conf.codec_id.vendor_codec_id); in PrepareAseCtpCodecConfig()
376 UINT16_TO_STREAM(msg, conf.max_sdu); in PrepareAseCtpConfigQos()
378 UINT16_TO_STREAM(msg, conf.max_transport_latency); in PrepareAseCtpConfigQos()
/packages/modules/Bluetooth/system/stack/test/
Dstack_avrcp_test.cc47 UINT16_TO_STREAM(p, 0x0000); // character set ID in TEST_F()
48 UINT16_TO_STREAM(p, 0xffff); // attribute value length in TEST_F()
72 UINT16_TO_STREAM(p, 0x0000); // character set ID in TEST_F()
73 UINT16_TO_STREAM(p, 0xffff); // attribute value length in TEST_F()
126 UINT16_TO_STREAM(p, 0x1234); // uid_counter in TEST_F()
159 UINT16_TO_STREAM(p, 0x0000); // charset_id in TEST_F()
160 UINT16_TO_STREAM(p, 0x0000); // str_len in TEST_F()
Dbtm_iso_test.cc198 UINT16_TO_STREAM(p, handle); in InitIsoManager()
218 UINT16_TO_STREAM(p, cis->cis_conn_handle); in InitIsoManager()
230 UINT16_TO_STREAM(p, 0x00FA); // Max PDU mtos in InitIsoManager()
231 UINT16_TO_STREAM(p, 0x00FB); // Max PDU stom in InitIsoManager()
232 UINT16_TO_STREAM(p, 0x0C60); // ISO interval in InitIsoManager()
268 UINT16_TO_STREAM(p, volatile_test_big_params_evt_.max_pdu); in InitIsoManager()
269 UINT16_TO_STREAM(p, volatile_test_big_params_evt_.iso_interval); in InitIsoManager()
273 UINT16_TO_STREAM(p, in InitIsoManager()
305 UINT16_TO_STREAM(p, iso_handle); in InitIsoManager()
317 UINT16_TO_STREAM(p, iso_handle); in InitIsoManager()
[all …]
/packages/modules/Bluetooth/system/hci/src/
Dpacket_fragmenter.cc114 UINT16_TO_STREAM(stream, HCI_ISO_SET_COMPLETE_FLAG(handle)); in fragment_and_dispatch()
120 UINT16_TO_STREAM(stream, max_data_size); in fragment_and_dispatch()
132 UINT16_TO_STREAM(stream, in fragment_and_dispatch()
135 UINT16_TO_STREAM(stream, in fragment_and_dispatch()
138 UINT16_TO_STREAM(stream, remaining_length - HCI_ISO_PREAMBLE_SIZE); in fragment_and_dispatch()
250 UINT16_TO_STREAM(stream, iso_full_len - HCI_ISO_PREAMBLE_SIZE); in reassemble_and_dispatch()
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_ble_adv_filter.cc365 UINT16_TO_STREAM(p, p_filt_params->feat_seln); in BTM_BleAdvFilterParamSetup()
367 UINT16_TO_STREAM(p, p_filt_params->list_logic_type); in BTM_BleAdvFilterParamSetup()
377 UINT16_TO_STREAM(p, p_filt_params->found_timeout); in BTM_BleAdvFilterParamSetup()
383 UINT16_TO_STREAM(p, p_filt_params->lost_timeout); in BTM_BleAdvFilterParamSetup()
386 UINT16_TO_STREAM(p, p_filt_params->num_of_tracking_entries); in BTM_BleAdvFilterParamSetup()
Dbtm_ble.cc189 UINT16_TO_STREAM(pp, handle); in BTM_BleReadPhy()
232 UINT16_TO_STREAM(pp, handle); in BTM_BleSetPhy()
236 UINT16_TO_STREAM(pp, phy_options); in BTM_BleSetPhy()
Dbtm_iso_impl.h531 UINT16_TO_STREAM(packet_data, iso_handle); in prepare_hci_packet()
532 UINT16_TO_STREAM(packet_data, iso_data_load_len); in prepare_hci_packet()
534 UINT16_TO_STREAM(packet_data, seq_nb); in prepare_hci_packet()
535 UINT16_TO_STREAM(packet_data, data_len); in prepare_hci_packet()
/packages/modules/Bluetooth/system/bta/le_audio/broadcaster/
Dbroadcaster_types.cc74 UINT16_TO_STREAM(p_value, config.vendor_company_id); in EmitCodecConfiguration()
75 UINT16_TO_STREAM(p_value, config.vendor_codec_id); in EmitCodecConfiguration()
195 UINT16_TO_STREAM(data_ptr, kBroadcastAudioAnnouncementServiceUuid); in PrepareAdvertisingData()
206 UINT16_TO_STREAM(data_ptr, kPublicBroadcastAnnouncementServiceUuid); in PrepareAdvertisingData()
229 UINT16_TO_STREAM(data_ptr, kBasicAudioAnnouncementServiceUuid); in PreparePeriodicData()
Dbroadcaster.cc267 UINT16_TO_STREAM(pp, contexts.value()); in UpdateStreamingContextTypeOnAllSubgroups()
375 UINT16_TO_STREAM(pp, context_type.value()); in UpdateMetadata()
544 UINT16_TO_STREAM(pp, context_type.value()); in CreateAudioBroadcast()
/packages/modules/Bluetooth/system/stack/gap/
Dgap_ble.cc162 UINT16_TO_STREAM(p, attr_value.icon); in read_attr_value()
167 UINT16_TO_STREAM(p, attr_value.conn_param.int_min); /* int_min */ in read_attr_value()
168 UINT16_TO_STREAM(p, attr_value.conn_param.int_max); /* int_max */ in read_attr_value()
169 UINT16_TO_STREAM(p, attr_value.conn_param.latency); /* latency */ in read_attr_value()
170 UINT16_TO_STREAM(p, attr_value.conn_param.sp_tout); /* sp_tout */ in read_attr_value()
/packages/modules/Bluetooth/system/stack/srvc/
Dsrvc_dis.cc176 UINT16_TO_STREAM(p, dis_cb.dis_value.pnp_id.vendor_id); in dis_read_attr_value()
177 UINT16_TO_STREAM(p, dis_cb.dis_value.pnp_id.product_id); in dis_read_attr_value()
178 UINT16_TO_STREAM(p, dis_cb.dis_value.pnp_id.product_version); in dis_read_attr_value()
/packages/modules/Bluetooth/system/bta/av/
Dbta_av_aact.cc3116 UINT16_TO_STREAM(p_param, offload_start->max_latency); in bta_av_vendor_offload_start()
3123 UINT16_TO_STREAM(p_param, offload_start->acl_hdl); in bta_av_vendor_offload_start()
3124 UINT16_TO_STREAM(p_param, offload_start->l2c_rcid); in bta_av_vendor_offload_start()
3125 UINT16_TO_STREAM(p_param, offload_start->mtu); in bta_av_vendor_offload_start()
3165 UINT16_TO_STREAM(p_param, connection_handle); in bta_av_vendor_offload_start_v2()
3167 UINT16_TO_STREAM(p_param, l2cap_channel_handle); in bta_av_vendor_offload_start_v2()
3172 UINT16_TO_STREAM(p_param, mtu); in bta_av_vendor_offload_start_v2()
3218 UINT16_TO_STREAM(p_param, connection_handle); in bta_av_vendor_offload_stop()
3220 UINT16_TO_STREAM(p_param, l2cap_channel_handle); in bta_av_vendor_offload_stop()
/packages/modules/Bluetooth/system/stack/include/
Dbt_types.h102 #define UINT16_TO_STREAM(p, u16) \ macro
/packages/modules/Bluetooth/system/bta/ras/
Dras_client.cc486 UINT16_TO_STREAM(value_ptr, GATT_CHAR_CLIENT_CONFIG_NOTIFICATION); in SubscribeCharacteristic()
488 UINT16_TO_STREAM(value_ptr, GATT_CHAR_CLIENT_CONFIG_INDICTION); in SubscribeCharacteristic()

12