/packages/modules/Bluetooth/system/stack/hcic/ |
D | hcicmds.cc | 492 UINT16_TO_STREAM(pp, HCI_INQUIRY); in btsnd_hcic_inquiry() 508 UINT16_TO_STREAM(pp, HCI_INQUIRY_CANCEL); in btsnd_hcic_inq_cancel() 523 UINT16_TO_STREAM(pp, HCI_PERIODIC_INQUIRY_MODE); in btsnd_hcic_per_inq_mode() 526 UINT16_TO_STREAM(pp, max_period); in btsnd_hcic_per_inq_mode() 527 UINT16_TO_STREAM(pp, min_period); in btsnd_hcic_per_inq_mode() 541 UINT16_TO_STREAM(pp, HCI_EXIT_PERIODIC_INQUIRY_MODE); in btsnd_hcic_exit_per_inq() 556 UINT16_TO_STREAM(pp, HCI_CREATE_CONNECTION); in btsnd_hcic_create_conn() 559 UINT16_TO_STREAM(pp, packet_types); in btsnd_hcic_create_conn() 562 UINT16_TO_STREAM(pp, clock_offset); in btsnd_hcic_create_conn() 574 UINT16_TO_STREAM(pp, HCI_DISCONNECT); in btsnd_hcic_disconnect() [all …]
|
D | hciblecmds.cc | 119 UINT16_TO_STREAM(pp, HCI_BLE_WRITE_LOCAL_SPT_FEAT); in btsnd_hcic_ble_set_local_used_feat() 132 UINT16_TO_STREAM(pp, HCI_BLE_WRITE_RANDOM_ADDR); in btsnd_hcic_ble_set_random_addr() 153 UINT16_TO_STREAM(pp, HCI_BLE_WRITE_ADV_PARAMS); in btsnd_hcic_ble_write_adv_params() 156 UINT16_TO_STREAM(pp, adv_int_min); in btsnd_hcic_ble_write_adv_params() 157 UINT16_TO_STREAM(pp, adv_int_max); in btsnd_hcic_ble_write_adv_params() 174 UINT16_TO_STREAM(pp, HCI_BLE_READ_ADV_CHNL_TX_POWER); in btsnd_hcic_ble_read_adv_chnl_tx_power() 187 UINT16_TO_STREAM(pp, HCI_BLE_WRITE_ADV_DATA); in btsnd_hcic_ble_set_adv_data() 209 UINT16_TO_STREAM(pp, HCI_BLE_WRITE_SCAN_RSP_DATA); in btsnd_hcic_ble_set_scan_rsp_data() 233 UINT16_TO_STREAM(pp, HCI_BLE_WRITE_ADV_ENABLE); in btsnd_hcic_ble_set_adv_enable() 249 UINT16_TO_STREAM(pp, HCI_BLE_WRITE_SCAN_PARAMS); in btsnd_hcic_ble_set_scan_params() [all …]
|
/packages/modules/Bluetooth/system/stack/l2cap/ |
D | l2c_utils.cc | 310 UINT16_TO_STREAM(p, (p_lcb->Handle() | (L2CAP_PKT_START_NON_FLUSHABLE in l2cu_build_header() 313 UINT16_TO_STREAM(p, p_lcb->Handle() | l2cb.non_flushable_pbf); in l2cu_build_header() 316 UINT16_TO_STREAM(p, len + L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD); in l2cu_build_header() 317 UINT16_TO_STREAM(p, len + L2CAP_CMD_OVERHEAD); in l2cu_build_header() 320 UINT16_TO_STREAM(p, L2CAP_BLE_SIGNALLING_CID); in l2cu_build_header() 322 UINT16_TO_STREAM(p, L2CAP_SIGNALLING_CID); in l2cu_build_header() 328 UINT16_TO_STREAM(p, len); in l2cu_build_header() 383 UINT16_TO_STREAM(p, reason); in l2cu_send_peer_cmd_reject() 385 if (param_len >= 2) UINT16_TO_STREAM(p, p1); in l2cu_send_peer_cmd_reject() 387 if (param_len >= 4) UINT16_TO_STREAM(p, p2); in l2cu_send_peer_cmd_reject() [all …]
|
D | l2c_fcr.cc | 329 UINT16_TO_STREAM(p, ctrl_word); in prepare_I_frame() 334 UINT16_TO_STREAM(p, p_buf->len + L2CAP_FCS_LEN - L2CAP_PKT_OVERHEAD); in prepare_I_frame() 346 UINT16_TO_STREAM(p, fcs); in prepare_I_frame() 413 UINT16_TO_STREAM(p, L2CAP_FCR_OVERHEAD + L2CAP_FCS_LEN); in l2c_fcr_send_S_frame() 414 UINT16_TO_STREAM(p, p_ccb->remote_cid); in l2c_fcr_send_S_frame() 415 UINT16_TO_STREAM(p, ctrl_word); in l2c_fcr_send_S_frame() 420 UINT16_TO_STREAM(p, fcs); in l2c_fcr_send_S_frame() 1473 UINT16_TO_STREAM(p, p_xmit->len - L2CAP_PKT_OVERHEAD); in l2c_fcr_get_next_xmit_sdu_seg() 1475 UINT16_TO_STREAM(p, p_ccb->remote_cid); in l2c_fcr_get_next_xmit_sdu_seg() 1480 UINT16_TO_STREAM(p, sdu_len); in l2c_fcr_get_next_xmit_sdu_seg() [all …]
|
/packages/modules/Bluetooth/system/stack/gatt/ |
D | gatt_sr_hash.cc | 72 UINT16_TO_STREAM(p_data, attr_it->handle); in fill_database_info() 75 UINT16_TO_STREAM(p_data, GATT_UUID_PRI_SERVICE); in fill_database_info() 77 UINT16_TO_STREAM(p_data, GATT_UUID_SEC_SERVICE); in fill_database_info() 83 UINT16_TO_STREAM(p_data, attr_it->handle); in fill_database_info() 84 UINT16_TO_STREAM(p_data, GATT_UUID_INCLUDE_SERVICE); in fill_database_info() 85 UINT16_TO_STREAM(p_data, attr_it->p_value->incl_handle.s_handle); in fill_database_info() 86 UINT16_TO_STREAM(p_data, attr_it->p_value->incl_handle.e_handle); in fill_database_info() 91 UINT16_TO_STREAM(p_data, attr_it->handle); in fill_database_info() 92 UINT16_TO_STREAM(p_data, GATT_UUID_CHAR_DECLARE); in fill_database_info() 94 UINT16_TO_STREAM(p_data, attr_it->p_value->char_decl.char_val_handle); in fill_database_info() [all …]
|
D | att_protocol.cc | 61 UINT16_TO_STREAM(p, rx_mtu); in attp_build_mtu_cmd() 114 UINT16_TO_STREAM(p, err_handle); in attp_build_err_cmd() 147 UINT16_TO_STREAM(p, s_hdl); in attp_build_browse_cmd() 148 UINT16_TO_STREAM(p, e_hdl); in attp_build_browse_cmd() 175 UINT16_TO_STREAM(p, p_value_type->s_handle); in attp_build_read_by_type_value_cmd() 176 UINT16_TO_STREAM(p, p_value_type->e_handle); in attp_build_read_by_type_value_cmd() 212 UINT16_TO_STREAM(p, *(p_handle + i)); in attp_build_read_multi_cmd() 238 UINT16_TO_STREAM(p, handle); in attp_build_handle_cmd() 242 UINT16_TO_STREAM(p, offset); in attp_build_handle_cmd() 299 UINT16_TO_STREAM(p, handle); in attp_build_value_cmd() [all …]
|
D | gatt_db.cc | 203 UINT16_TO_STREAM(p, attr16.p_value->char_decl.char_val_handle); in read_attr_value() 206 UINT16_TO_STREAM(p, val_attr->uuid.As16Bit()); in read_attr_value() 224 UINT16_TO_STREAM(p, incl_handle.s_handle); in read_attr_value() 225 UINT16_TO_STREAM(p, incl_handle.e_handle); in read_attr_value() 228 UINT16_TO_STREAM(p, incl_handle.service_type.As16Bit()); in read_attr_value() 245 UINT16_TO_STREAM(p, char_ext_prop); in read_attr_value() 289 UINT16_TO_STREAM(p, attr.handle); in gatts_db_read_attr_value_by_type()
|
D | gatt_sr.cc | 197 UINT16_TO_STREAM(p, len); in build_read_multi_rsp() 556 UINT16_TO_STREAM(p, el.s_hdl); in gatt_build_primary_service_rsp() 562 UINT16_TO_STREAM(p, 0xFFFF); in gatt_build_primary_service_rsp() 564 UINT16_TO_STREAM(p, el.e_hdl); in gatt_build_primary_service_rsp() 609 UINT16_TO_STREAM(p, attr.handle); in gatt_build_find_info_rsp() 610 UINT16_TO_STREAM(p, attr.uuid.As16Bit()); in gatt_build_find_info_rsp() 613 UINT16_TO_STREAM(p, attr.handle); in gatt_build_find_info_rsp() 617 UINT16_TO_STREAM(p, attr.handle); in gatt_build_find_info_rsp()
|
D | gatt_main.cc | 931 UINT16_TO_STREAM(p, sGATT_DEFAULT_START_HANDLE); in gatt_send_srv_chg_ind() 932 UINT16_TO_STREAM(p, sGATT_LAST_HANDLE); in gatt_send_srv_chg_ind()
|
/packages/modules/Bluetooth/system/bta/gatt/ |
D | database.cc | 250 UINT16_TO_STREAM(p, service.handle); in Hash() 252 UINT16_TO_STREAM(p, GATT_UUID_PRI_SERVICE); in Hash() 254 UINT16_TO_STREAM(p, GATT_UUID_SEC_SERVICE); in Hash() 258 UINT16_TO_STREAM(p, service.uuid.As16Bit()); in Hash() 264 UINT16_TO_STREAM(p, is.handle); in Hash() 265 UINT16_TO_STREAM(p, GATT_UUID_INCLUDE_SERVICE); in Hash() 266 UINT16_TO_STREAM(p, is.start_handle); in Hash() 267 UINT16_TO_STREAM(p, is.end_handle); in Hash() 270 UINT16_TO_STREAM(p, is.uuid.As16Bit()); in Hash() 277 UINT16_TO_STREAM(p, c.declaration_handle); in Hash() [all …]
|
/packages/modules/Bluetooth/system/hci/test/ |
D | packet_fragmenter_test.cc | 105 UINT16_TO_STREAM(packet_data, test_handle_start); in manufacture_packet_for_fragmentation() 106 UINT16_TO_STREAM(packet_data, data_length); in manufacture_packet_for_fragmentation() 110 UINT16_TO_STREAM(packet_data, test_iso_handle_start_with_ts); in manufacture_packet_for_fragmentation() 111 UINT16_TO_STREAM(packet_data, data_length + 8); in manufacture_packet_for_fragmentation() 114 UINT16_TO_STREAM(packet_data, test_iso_handle_start_without_ts); in manufacture_packet_for_fragmentation() 115 UINT16_TO_STREAM(packet_data, data_length + 4); in manufacture_packet_for_fragmentation() 117 UINT16_TO_STREAM(packet_data, iso_packet_seq); in manufacture_packet_for_fragmentation() 118 UINT16_TO_STREAM(packet_data, data_length); in manufacture_packet_for_fragmentation() 252 UINT16_TO_STREAM(packet_data, test_handle_start); in manufacture_acl_packet_and_then_reassemble() 253 UINT16_TO_STREAM(packet_data, length_to_send); in manufacture_acl_packet_and_then_reassemble() [all …]
|
/packages/modules/Bluetooth/system/bta/le_audio/ |
D | storage_helper.cc | 99 UINT16_TO_STREAM(ptr, handle); in serializePacs() 100 UINT16_TO_STREAM(ptr, ccc_handle); in serializePacs() 115 UINT16_TO_STREAM(ptr, pac.codec_id.vendor_company_id); in serializePacs() 116 UINT16_TO_STREAM(ptr, pac.codec_id.vendor_codec_id); in serializePacs() 287 UINT16_TO_STREAM(ptr, ase.hdls.val_hdl); in SerializeAses() 288 UINT16_TO_STREAM(ptr, ase.hdls.ccc_hdl); in SerializeAses() 378 UINT16_TO_STREAM(ptr, leAudioDevice->ctp_hdls_.val_hdl); in SerializeHandles() 379 UINT16_TO_STREAM(ptr, leAudioDevice->ctp_hdls_.ccc_hdl); in SerializeHandles() 381 UINT16_TO_STREAM(ptr, leAudioDevice->snk_audio_locations_hdls_.val_hdl); in SerializeHandles() 382 UINT16_TO_STREAM(ptr, leAudioDevice->snk_audio_locations_hdls_.ccc_hdl); in SerializeHandles() [all …]
|
D | client_parser.cc | 315 UINT16_TO_STREAM(msg, conf.codec_id.vendor_company_id); in PrepareAseCtpCodecConfig() 316 UINT16_TO_STREAM(msg, conf.codec_id.vendor_codec_id); in PrepareAseCtpCodecConfig() 359 UINT16_TO_STREAM(msg, conf.max_sdu); in PrepareAseCtpConfigQos() 361 UINT16_TO_STREAM(msg, conf.max_transport_latency); in PrepareAseCtpConfigQos()
|
/packages/modules/Bluetooth/system/stack/test/ |
D | btm_iso_test.cc | 171 UINT16_TO_STREAM(p, handle); in InitIsoManager() 190 UINT16_TO_STREAM(p, cis->cis_conn_handle); in InitIsoManager() 202 UINT16_TO_STREAM(p, 0x00FA); // Max PDU mtos in InitIsoManager() 203 UINT16_TO_STREAM(p, 0x00FB); // Max PDU stom in InitIsoManager() 204 UINT16_TO_STREAM(p, 0x0C60); // ISO interval in InitIsoManager() 240 UINT16_TO_STREAM(p, volatile_test_big_params_evt_.max_pdu); in InitIsoManager() 241 UINT16_TO_STREAM(p, volatile_test_big_params_evt_.iso_interval); in InitIsoManager() 245 UINT16_TO_STREAM(p, in InitIsoManager() 277 UINT16_TO_STREAM(p, iso_handle); in InitIsoManager() 289 UINT16_TO_STREAM(p, iso_handle); in InitIsoManager() [all …]
|
D | stack_avrcp_test.cc | 46 UINT16_TO_STREAM(p, 0x0000); // character set ID in TEST_F() 47 UINT16_TO_STREAM(p, 0xffff); // attribute value length in TEST_F() 71 UINT16_TO_STREAM(p, 0x0000); // character set ID in TEST_F() 72 UINT16_TO_STREAM(p, 0xffff); // attribute value length in TEST_F() 125 UINT16_TO_STREAM(p, 0x1234); // uid_counter in TEST_F() 158 UINT16_TO_STREAM(p, 0x0000); // charset_id in TEST_F() 159 UINT16_TO_STREAM(p, 0x0000); // str_len in TEST_F()
|
/packages/modules/Bluetooth/system/hci/src/ |
D | packet_fragmenter.cc | 141 UINT16_TO_STREAM(stream, max_data_size); in fragment_and_dispatch_acl() 152 UINT16_TO_STREAM(stream, continuation_handle); in fragment_and_dispatch_acl() 153 UINT16_TO_STREAM(stream, remaining_length - HCI_ACL_PREAMBLE_SIZE); in fragment_and_dispatch_acl() 187 UINT16_TO_STREAM(stream, HCI_ISO_SET_COMPLETE_FLAG(handle)); in fragment_and_dispatch_iso() 193 UINT16_TO_STREAM(stream, max_data_size); in fragment_and_dispatch_iso() 205 UINT16_TO_STREAM(stream, in fragment_and_dispatch_iso() 208 UINT16_TO_STREAM(stream, in fragment_and_dispatch_iso() 211 UINT16_TO_STREAM(stream, remaining_length - HCI_ISO_PREAMBLE_SIZE); in fragment_and_dispatch_iso() 319 UINT16_TO_STREAM(stream, iso_full_len - HCI_ISO_PREAMBLE_SIZE); in reassemble_and_dispatch_iso() 480 UINT16_TO_STREAM(stream, full_length - HCI_ACL_PREAMBLE_SIZE); in reassemble_and_dispatch()
|
/packages/modules/Bluetooth/system/stack/btm/ |
D | btm_ble_adv_filter.cc | 335 UINT16_TO_STREAM(p, company_id); in BTM_LE_PF_manu_data() 343 UINT16_TO_STREAM(p, company_id_mask); in BTM_LE_PF_manu_data() 345 UINT16_TO_STREAM(p, (uint16_t)0xFFFF); in BTM_LE_PF_manu_data() 578 UINT16_TO_STREAM(p, uuid.As16Bit()); in BTM_LE_PF_uuid_filter() 595 UINT16_TO_STREAM(p, uuid_mask.As16Bit()); in BTM_LE_PF_uuid_filter() 855 UINT16_TO_STREAM(p, p_filt_params->feat_seln); in BTM_BleAdvFilterParamSetup() 857 UINT16_TO_STREAM(p, p_filt_params->list_logic_type); in BTM_BleAdvFilterParamSetup() 867 UINT16_TO_STREAM(p, p_filt_params->found_timeout); in BTM_BleAdvFilterParamSetup() 873 UINT16_TO_STREAM(p, p_filt_params->lost_timeout); in BTM_BleAdvFilterParamSetup() 876 UINT16_TO_STREAM(p, p_filt_params->num_of_tracking_entries); in BTM_BleAdvFilterParamSetup()
|
D | ble_advertiser_hci_interface.cc | 132 UINT16_TO_STREAM(pp, adv_int_min); in SetParameters() 133 UINT16_TO_STREAM(pp, adv_int_max); in SetParameters() 358 UINT16_TO_STREAM(pp, adv_int_min); in SetParameters() 359 UINT16_TO_STREAM(pp, adv_int_max); in SetParameters() 548 UINT16_TO_STREAM(pp, properties); in SetParameters() 642 UINT16_TO_STREAM(pp, set.duration); in Enable() 662 UINT16_TO_STREAM(pp, periodic_adv_int_min); in SetPeriodicAdvertisingParameters() 663 UINT16_TO_STREAM(pp, periodic_adv_int_max); in SetPeriodicAdvertisingParameters() 664 UINT16_TO_STREAM(pp, periodic_properties); in SetPeriodicAdvertisingParameters()
|
D | btm_iso_impl.h | 494 UINT16_TO_STREAM(packet_data, iso_handle); in prepare_ts_hci_packet() 495 UINT16_TO_STREAM(packet_data, iso_data_load_len); in prepare_ts_hci_packet() 500 UINT16_TO_STREAM(packet_data, seq_nb); in prepare_ts_hci_packet() 501 UINT16_TO_STREAM(packet_data, data_len); in prepare_ts_hci_packet()
|
/packages/modules/Bluetooth/system/stack/gap/ |
D | gap_ble.cc | 158 UINT16_TO_STREAM(p, attr_value.icon); in read_attr_value() 163 UINT16_TO_STREAM(p, attr_value.conn_param.int_min); /* int_min */ in read_attr_value() 164 UINT16_TO_STREAM(p, attr_value.conn_param.int_max); /* int_max */ in read_attr_value() 165 UINT16_TO_STREAM(p, attr_value.conn_param.latency); /* latency */ in read_attr_value() 166 UINT16_TO_STREAM(p, attr_value.conn_param.sp_tout); /* sp_tout */ in read_attr_value()
|
/packages/modules/Bluetooth/system/bta/le_audio/broadcaster/ |
D | broadcaster_types.cc | 69 UINT16_TO_STREAM(p_value, config.vendor_company_id); in EmitCodecConfiguration() 70 UINT16_TO_STREAM(p_value, config.vendor_codec_id); in EmitCodecConfiguration() 165 UINT16_TO_STREAM(data_ptr, kBroadcastAudioAnnouncementServiceUuid); in PrepareAdvertisingData() 176 UINT16_TO_STREAM(data_ptr, kBasicAudioAnnouncementServiceUuid); in PreparePeriodicData()
|
D | broadcaster.cc | 182 UINT16_TO_STREAM(pp, contexts.value()); in UpdateStreamingContextTypeOnAllSubgroups() 280 UINT16_TO_STREAM(pp, context_type.value()); in UpdateMetadata() 335 UINT16_TO_STREAM(pp, context_type.value()); in CreateAudioBroadcast()
|
/packages/modules/Bluetooth/system/stack/srvc/ |
D | srvc_dis.cc | 176 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/main/test/ |
D | main_shim_test.cc | 573 UINT16_TO_STREAM( in TEST_F() 578 UINT16_TO_STREAM(p, 0x123 | (L2CAP_PKT_START << L2CAP_PKT_TYPE_SHIFT)); in TEST_F()
|
/packages/modules/Bluetooth/system/stack/include/ |
D | bt_types.h | 146 #define UINT16_TO_STREAM(p, u16) \ macro
|