Home
last modified time | relevance | path

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

12

/system/bt/stack/hcic/
Dhcicmds.cc45 UINT16_TO_STREAM(pp, HCI_INQUIRY); in btsnd_hcic_inquiry()
61 UINT16_TO_STREAM(pp, HCI_INQUIRY_CANCEL); in btsnd_hcic_inq_cancel()
76 UINT16_TO_STREAM(pp, HCI_PERIODIC_INQUIRY_MODE); in btsnd_hcic_per_inq_mode()
79 UINT16_TO_STREAM(pp, max_period); in btsnd_hcic_per_inq_mode()
80 UINT16_TO_STREAM(pp, min_period); in btsnd_hcic_per_inq_mode()
94 UINT16_TO_STREAM(pp, HCI_EXIT_PERIODIC_INQUIRY_MODE); in btsnd_hcic_exit_per_inq()
113 UINT16_TO_STREAM(pp, HCI_CREATE_CONNECTION); in btsnd_hcic_create_conn()
120 UINT16_TO_STREAM(pp, packet_types); in btsnd_hcic_create_conn()
123 UINT16_TO_STREAM(pp, clock_offset); in btsnd_hcic_create_conn()
137 UINT16_TO_STREAM(pp, HCI_DISCONNECT); in btsnd_hcic_disconnect()
[all …]
Dhciblecmds.cc43 UINT16_TO_STREAM(pp, HCI_BLE_WRITE_LOCAL_SPT_FEAT); in btsnd_hcic_ble_set_local_used_feat()
56 UINT16_TO_STREAM(pp, HCI_BLE_WRITE_RANDOM_ADDR); in btsnd_hcic_ble_set_random_addr()
76 UINT16_TO_STREAM(pp, HCI_BLE_WRITE_ADV_PARAMS); in btsnd_hcic_ble_write_adv_params()
79 UINT16_TO_STREAM(pp, adv_int_min); in btsnd_hcic_ble_write_adv_params()
80 UINT16_TO_STREAM(pp, adv_int_max); in btsnd_hcic_ble_write_adv_params()
97 UINT16_TO_STREAM(pp, HCI_BLE_READ_ADV_CHNL_TX_POWER); in btsnd_hcic_ble_read_adv_chnl_tx_power()
110 UINT16_TO_STREAM(pp, HCI_BLE_WRITE_ADV_DATA); in btsnd_hcic_ble_set_adv_data()
132 UINT16_TO_STREAM(pp, HCI_BLE_WRITE_SCAN_RSP_DATA); in btsnd_hcic_ble_set_scan_rsp_data()
156 UINT16_TO_STREAM(pp, HCI_BLE_WRITE_ADV_ENABLE); in btsnd_hcic_ble_set_adv_enable()
172 UINT16_TO_STREAM(pp, HCI_BLE_WRITE_SCAN_PARAMS); in btsnd_hcic_ble_set_scan_params()
[all …]
/system/bt/stack/l2cap/
Dl2c_utils.cc329 UINT16_TO_STREAM(p, (p_lcb->handle | (L2CAP_PKT_START_NON_FLUSHABLE in l2cu_build_header()
333 UINT16_TO_STREAM(p, p_lcb->handle | l2cb.non_flushable_pbf); in l2cu_build_header()
335 UINT16_TO_STREAM( in l2cu_build_header()
340 UINT16_TO_STREAM(p, len + L2CAP_PKT_OVERHEAD + L2CAP_CMD_OVERHEAD); in l2cu_build_header()
341 UINT16_TO_STREAM(p, len + L2CAP_CMD_OVERHEAD); in l2cu_build_header()
344 UINT16_TO_STREAM(p, L2CAP_BLE_SIGNALLING_CID); in l2cu_build_header()
346 UINT16_TO_STREAM(p, L2CAP_SIGNALLING_CID); in l2cu_build_header()
352 UINT16_TO_STREAM(p, len); in l2cu_build_header()
407 UINT16_TO_STREAM(p, reason); in l2cu_send_peer_cmd_reject()
409 if (param_len >= 2) UINT16_TO_STREAM(p, p1); in l2cu_send_peer_cmd_reject()
[all …]
Dl2c_fcr.cc449 UINT16_TO_STREAM(p, ctrl_word); in prepare_I_frame()
455 UINT16_TO_STREAM(p, p_buf->len + L2CAP_FCS_LEN - L2CAP_PKT_OVERHEAD); in prepare_I_frame()
467 UINT16_TO_STREAM(p, fcs); in prepare_I_frame()
539 UINT16_TO_STREAM(p, L2CAP_FCR_OVERHEAD + L2CAP_FCS_LEN); in l2c_fcr_send_S_frame()
540 UINT16_TO_STREAM(p, p_ccb->remote_cid); in l2c_fcr_send_S_frame()
541 UINT16_TO_STREAM(p, ctrl_word); in l2c_fcr_send_S_frame()
547 UINT16_TO_STREAM(p, fcs); in l2c_fcr_send_S_frame()
552 UINT16_TO_STREAM(p, L2CAP_FCR_OVERHEAD); in l2c_fcr_send_S_frame()
1736 UINT16_TO_STREAM(p, p_xmit->len - L2CAP_PKT_OVERHEAD); in l2c_fcr_get_next_xmit_sdu_seg()
1738 UINT16_TO_STREAM(p, p_ccb->remote_cid); in l2c_fcr_get_next_xmit_sdu_seg()
[all …]
Dl2c_csm.cc1374 UINT16_TO_STREAM(p, p_buf->len - L2CAP_PKT_OVERHEAD); in l2c_enqueue_peer_data()
1375 UINT16_TO_STREAM(p, p_ccb->remote_cid); in l2c_enqueue_peer_data()
/system/bt/stack/gatt/
Datt_protocol.cc55 UINT16_TO_STREAM(p, rx_mtu); in attp_build_mtu_cmd()
108 UINT16_TO_STREAM(p, err_handle); in attp_build_err_cmd()
140 UINT16_TO_STREAM(p, s_hdl); in attp_build_browse_cmd()
141 UINT16_TO_STREAM(p, e_hdl); in attp_build_browse_cmd()
168 UINT16_TO_STREAM(p, p_value_type->s_handle); in attp_build_read_by_type_value_cmd()
169 UINT16_TO_STREAM(p, p_value_type->e_handle); in attp_build_read_by_type_value_cmd()
204 UINT16_TO_STREAM(p, *(p_handle + i)); in attp_build_read_multi_cmd()
230 UINT16_TO_STREAM(p, handle); in attp_build_handle_cmd()
234 UINT16_TO_STREAM(p, offset); in attp_build_handle_cmd()
291 UINT16_TO_STREAM(p, handle); in attp_build_value_cmd()
[all …]
Dgatt_db.cc201 UINT16_TO_STREAM(p, attr16.p_value->char_decl.char_val_handle); in read_attr_value()
204 UINT16_TO_STREAM(p, val_attr->uuid.As16Bit()); in read_attr_value()
222 UINT16_TO_STREAM(p, incl_handle.s_handle); in read_attr_value()
223 UINT16_TO_STREAM(p, incl_handle.e_handle); in read_attr_value()
226 UINT16_TO_STREAM(p, incl_handle.service_type.As16Bit()); in read_attr_value()
271 UINT16_TO_STREAM(p, attr.handle); in gatts_db_read_attr_value_by_type()
Dgatt_sr.cc492 UINT16_TO_STREAM(p, el.s_hdl); in gatt_build_primary_service_rsp()
498 UINT16_TO_STREAM(p, 0xFFFF); in gatt_build_primary_service_rsp()
500 UINT16_TO_STREAM(p, el.e_hdl); in gatt_build_primary_service_rsp()
545 UINT16_TO_STREAM(p, attr.handle); in gatt_build_find_info_rsp()
546 UINT16_TO_STREAM(p, attr.uuid.As16Bit()); in gatt_build_find_info_rsp()
549 UINT16_TO_STREAM(p, attr.handle); in gatt_build_find_info_rsp()
553 UINT16_TO_STREAM(p, attr.handle); in gatt_build_find_info_rsp()
Dgatt_auth.cc61 UINT16_TO_STREAM(p, p_attr->handle); in gatt_sign_data()
Dgatt_main.cc912 UINT16_TO_STREAM(p, 1); in gatt_send_srv_chg_ind()
913 UINT16_TO_STREAM(p, 0xFFFF); in gatt_send_srv_chg_ind()
/system/bt/hci/test/
Dpacket_fragmenter_test.cc78 UINT16_TO_STREAM(packet_data, test_handle_start); in manufacture_packet_for_fragmentation()
79 UINT16_TO_STREAM(packet_data, data_length); in manufacture_packet_for_fragmentation()
154 UINT16_TO_STREAM(packet_data, test_handle_start); in manufacture_packet_and_then_reassemble()
155 UINT16_TO_STREAM(packet_data, length_to_send); in manufacture_packet_and_then_reassemble()
156 UINT16_TO_STREAM(packet_data, l2cap_length); in manufacture_packet_and_then_reassemble()
159 UINT16_TO_STREAM(packet_data, test_handle_continuation); in manufacture_packet_and_then_reassemble()
160 UINT16_TO_STREAM(packet_data, length_to_send); in manufacture_packet_and_then_reassemble()
/system/bt/stack/test/
Dstack_avrcp_test.cc74 UINT16_TO_STREAM(p, 0x1234); // uid_counter in TEST_F()
107 UINT16_TO_STREAM(p, 0x0000); // charset_id in TEST_F()
108 UINT16_TO_STREAM(p, 0x0000); // str_len in TEST_F()
/system/bt/hci/src/
Dhci_packet_factory.cc51 UINT16_TO_STREAM(stream, acl_size); in make_host_buffer_size()
53 UINT16_TO_STREAM(stream, acl_count); in make_host_buffer_size()
54 UINT16_TO_STREAM(stream, sco_count); in make_host_buffer_size()
183 UINT16_TO_STREAM(stream, opcode); in make_command()
Dpacket_fragmenter.cc88 UINT16_TO_STREAM(stream, max_data_size); in fragment_and_dispatch()
99 UINT16_TO_STREAM(stream, continuation_handle); in fragment_and_dispatch()
100 UINT16_TO_STREAM(stream, remaining_length - HCI_ACL_PREAMBLE_SIZE); in fragment_and_dispatch()
197 UINT16_TO_STREAM(stream, full_length - HCI_ACL_PREAMBLE_SIZE); in reassemble_and_dispatch()
/system/bt/stack/btm/
Dbtm_ble_adv_filter.cc359 UINT16_TO_STREAM(p, company_id); in BTM_LE_PF_manu_data()
367 UINT16_TO_STREAM(p, company_id_mask); in BTM_LE_PF_manu_data()
369 UINT16_TO_STREAM(p, (uint16_t)0xFFFF); in BTM_LE_PF_manu_data()
560 UINT16_TO_STREAM(p, uuid.As16Bit()); in BTM_LE_PF_uuid_filter()
577 UINT16_TO_STREAM(p, uuid_mask.As16Bit()); in BTM_LE_PF_uuid_filter()
773 UINT16_TO_STREAM(p, p_filt_params->feat_seln); in BTM_BleAdvFilterParamSetup()
775 UINT16_TO_STREAM(p, p_filt_params->list_logic_type); in BTM_BleAdvFilterParamSetup()
785 UINT16_TO_STREAM(p, p_filt_params->found_timeout); in BTM_BleAdvFilterParamSetup()
791 UINT16_TO_STREAM(p, p_filt_params->lost_timeout); in BTM_BleAdvFilterParamSetup()
794 UINT16_TO_STREAM(p, p_filt_params->num_of_tracking_entries); in BTM_BleAdvFilterParamSetup()
Dble_advertiser_hci_interface.cc131 UINT16_TO_STREAM(pp, adv_int_min); in SetParameters()
132 UINT16_TO_STREAM(pp, adv_int_max); in SetParameters()
359 UINT16_TO_STREAM(pp, adv_int_min); in SetParameters()
360 UINT16_TO_STREAM(pp, adv_int_max); in SetParameters()
551 UINT16_TO_STREAM(pp, properties); in SetParameters()
645 UINT16_TO_STREAM(pp, set.duration); in Enable()
665 UINT16_TO_STREAM(pp, periodic_adv_int_min); in SetPeriodicAdvertisingParameters()
666 UINT16_TO_STREAM(pp, periodic_adv_int_max); in SetPeriodicAdvertisingParameters()
667 UINT16_TO_STREAM(pp, periodic_properties); in SetPeriodicAdvertisingParameters()
Dbtm_ble.cc891 UINT16_TO_STREAM(pp, handle); in BTM_BleReadPhy()
958 UINT16_TO_STREAM(pp, handle); in BTM_BleSetPhy()
962 UINT16_TO_STREAM(pp, phy_options); in BTM_BleSetPhy()
/system/bt/stack/gap/
Dgap_ble.cc148 UINT16_TO_STREAM(p, attr_value.icon); in read_attr_value()
153 UINT16_TO_STREAM(p, attr_value.conn_param.int_min); /* int_min */ in read_attr_value()
154 UINT16_TO_STREAM(p, attr_value.conn_param.int_max); /* int_max */ in read_attr_value()
155 UINT16_TO_STREAM(p, attr_value.conn_param.latency); /* latency */ in read_attr_value()
156 UINT16_TO_STREAM(p, attr_value.conn_param.sp_tout); /* sp_tout */ in read_attr_value()
/system/bt/stack/srvc/
Dsrvc_dis.cc170 UINT16_TO_STREAM(p, dis_cb.dis_value.pnp_id.vendor_id); in dis_read_attr_value()
171 UINT16_TO_STREAM(p, dis_cb.dis_value.pnp_id.product_id); in dis_read_attr_value()
172 UINT16_TO_STREAM(p, dis_cb.dis_value.pnp_id.product_version); in dis_read_attr_value()
/system/nfc/src/include/
Dnfc_types.h57 #define UINT16_TO_STREAM(p, u16) \ macro
/system/nfc/src/nfc/tags/
Drw_t3t.cc665 UINT16_TO_STREAM( in rw_t3t_send_update_ndef_attribute_cmd()
793 UINT16_TO_STREAM( in rw_t3t_send_next_ndef_update_cmd()
819 UINT16_TO_STREAM( in rw_t3t_send_next_ndef_update_cmd()
930 UINT16_TO_STREAM(p, T3T_MSG_NDEF_SC_RO); in rw_t3t_send_next_ndef_check_cmd()
932 UINT16_TO_STREAM(p, T3T_MSG_NDEF_SC_RW); in rw_t3t_send_next_ndef_check_cmd()
956 UINT16_TO_STREAM( in rw_t3t_send_next_ndef_check_cmd()
1020 UINT16_TO_STREAM((*p), cur_service_code); in rw_t3t_message_set_block_list()
1051 UINT16_TO_STREAM((*p), p_t3t_blocks[i].block_number); in rw_t3t_message_set_block_list()
1161 UINT16_TO_STREAM( in rw_t3t_check_mc_block()
1730 UINT16_TO_STREAM( in rw_t3t_handle_ndef_detect_poll_rsp()
[all …]
Drw_i93.cc873 UINT16_TO_STREAM(p, block_number); /* Block number */ in rw_i93_send_cmd_read_single_block()
947 UINT16_TO_STREAM(p, block_number); /* Block number */ in rw_i93_send_cmd_write_single_block()
1086 UINT16_TO_STREAM(p, first_block_number); /* First block number */ in rw_i93_send_cmd_read_multi_blocks()
1093 UINT16_TO_STREAM( in rw_i93_send_cmd_read_multi_blocks()
1154 UINT16_TO_STREAM(p, first_block_number); /* Block number */ in rw_i93_send_cmd_write_multi_blocks()
1155 UINT16_TO_STREAM( in rw_i93_send_cmd_write_multi_blocks()
1596 UINT16_TO_STREAM(p, first_block_number); /* First block number */ in rw_i93_send_cmd_get_multi_block_sec()
1597 UINT16_TO_STREAM( in rw_i93_send_cmd_get_multi_block_sec()
/system/bt/stack/smp/
Dsmp_keys.cc202 UINT16_TO_STREAM(p, p_cb->div); in smp_compute_csrk()
203 UINT16_TO_STREAM(p, r); in smp_compute_csrk()
/system/bt/btif/src/
Dbtif_bqr.cc278 UINT16_TO_STREAM(p_param, bqr_config.minimum_report_interval_ms); in ConfigureBqr()
/system/bt/bta/av/
Dbta_av_aact.cc3122 UINT16_TO_STREAM(p_param, offload_start->max_latency); in bta_av_vendor_offload_start()
3123 UINT16_TO_STREAM(p_param, offload_start->scms_t_enable); in bta_av_vendor_offload_start()
3128 UINT16_TO_STREAM(p_param, offload_start->acl_hdl); in bta_av_vendor_offload_start()
3129 UINT16_TO_STREAM(p_param, offload_start->l2c_rcid); in bta_av_vendor_offload_start()
3130 UINT16_TO_STREAM(p_param, offload_start->mtu); in bta_av_vendor_offload_start()

12