Home
last modified time | relevance | path

Searched refs:UINT8_TO_STREAM (Results 1 – 25 of 37) sorted by relevance

12

/system/bt/stack/hcic/
Dhciblecmds.cc57 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_WRITE_RANDOM_ADDR_CMD); in btsnd_hcic_ble_set_random_addr()
77 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_BLE_WRITE_ADV_PARAMS); in btsnd_hcic_ble_write_adv_params()
81 UINT8_TO_STREAM(pp, adv_type); in btsnd_hcic_ble_write_adv_params()
82 UINT8_TO_STREAM(pp, addr_type_own); in btsnd_hcic_ble_write_adv_params()
83 UINT8_TO_STREAM(pp, addr_type_dir); in btsnd_hcic_ble_write_adv_params()
85 UINT8_TO_STREAM(pp, channel_map); in btsnd_hcic_ble_write_adv_params()
86 UINT8_TO_STREAM(pp, adv_filter_policy); in btsnd_hcic_ble_write_adv_params()
98 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_READ_CMD); in btsnd_hcic_ble_read_adv_chnl_tx_power()
111 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_BLE_WRITE_ADV_DATA + 1); in btsnd_hcic_ble_set_adv_data()
119 UINT8_TO_STREAM(pp, data_len); in btsnd_hcic_ble_set_adv_data()
[all …]
Dhcicmds.cc46 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_INQUIRY); in btsnd_hcic_inquiry()
49 UINT8_TO_STREAM(pp, duration); in btsnd_hcic_inquiry()
50 UINT8_TO_STREAM(pp, response_cnt); in btsnd_hcic_inquiry()
62 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_INQ_CANCEL); in btsnd_hcic_inq_cancel()
77 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_PER_INQ_MODE); in btsnd_hcic_per_inq_mode()
82 UINT8_TO_STREAM(pp, duration); in btsnd_hcic_per_inq_mode()
83 UINT8_TO_STREAM(pp, response_cnt); in btsnd_hcic_per_inq_mode()
95 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_EXIT_PER_INQ); in btsnd_hcic_exit_per_inq()
115 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_CREATE_CONN); in btsnd_hcic_create_conn()
117 UINT8_TO_STREAM(pp, (HCIC_PARAM_SIZE_CREATE_CONN - 1)); in btsnd_hcic_create_conn()
[all …]
/system/nfc/src/nfc/nci/
Dnci_hmsgs.cc57 UINT8_TO_STREAM(pp, NCI_CORE_PARAM_SIZE_RESET); in nci_snd_core_reset()
58 UINT8_TO_STREAM(pp, reset_type); in nci_snd_core_reset()
88 UINT8_TO_STREAM(pp, NCI_CORE_PARAM_SIZE_INIT(nci_version)); in nci_snd_core_init()
90 UINT8_TO_STREAM(pp, NCI2_0_CORE_INIT_CMD_BYTE_0); in nci_snd_core_init()
91 UINT8_TO_STREAM(pp, NCI2_0_CORE_INIT_CMD_BYTE_1); in nci_snd_core_init()
122 UINT8_TO_STREAM(pp, (uint8_t)(num_ids + 1)); in nci_snd_core_get_config()
123 UINT8_TO_STREAM(pp, num_ids); in nci_snd_core_get_config()
154 UINT8_TO_STREAM(pp, (uint8_t)(tlv_size + 1)); in nci_snd_core_set_config()
171 UINT8_TO_STREAM(pp, num); in nci_snd_core_set_config()
204 UINT8_TO_STREAM(pp, size); in nci_snd_core_conn_create()
[all …]
/system/bt/stack/btm/
Dble_advertiser_hci_interface.cc130 UINT8_TO_STREAM(pp, BTM_BLE_MULTI_ADV_SET_PARAM); in SetParameters()
135 UINT8_TO_STREAM(pp, 0x00); // ADV_IND in SetParameters()
137 UINT8_TO_STREAM(pp, 0x02); // ADV_SCAN_IND in SetParameters()
139 UINT8_TO_STREAM(pp, 0x03); // ADV_NONCONN_IND in SetParameters()
147 UINT8_TO_STREAM(pp, own_address_type); in SetParameters()
149 UINT8_TO_STREAM(pp, peer_address_type); in SetParameters()
151 UINT8_TO_STREAM(pp, channel_map); in SetParameters()
152 UINT8_TO_STREAM(pp, filter_policy); in SetParameters()
153 UINT8_TO_STREAM(pp, handle); in SetParameters()
177 UINT8_TO_STREAM(pp, BTM_BLE_MULTI_ADV_WRITE_ADV_DATA); in SetAdvertisingData()
[all …]
Dbtm_ble_adv_filter.cc307 UINT8_TO_STREAM(p, BTM_BLE_META_PF_LOCAL_NAME); in BTM_LE_PF_local_name()
308 UINT8_TO_STREAM(p, action); in BTM_LE_PF_local_name()
309 UINT8_TO_STREAM(p, filt_index); in BTM_LE_PF_local_name()
352 UINT8_TO_STREAM(p, BTM_BLE_META_PF_MANU_DATA); in BTM_LE_PF_manu_data()
353 UINT8_TO_STREAM(p, action); in BTM_LE_PF_manu_data()
354 UINT8_TO_STREAM(p, filt_index); in BTM_LE_PF_manu_data()
404 UINT8_TO_STREAM(p, BTM_BLE_META_PF_SRVC_DATA); in BTM_LE_PF_srvc_data_pattern()
405 UINT8_TO_STREAM(p, action); in BTM_LE_PF_srvc_data_pattern()
406 UINT8_TO_STREAM(p, filt_index); in BTM_LE_PF_srvc_data_pattern()
499 UINT8_TO_STREAM(p, BTM_BLE_META_PF_ADDR); in BTM_LE_PF_addr_filter()
[all …]
Dbtm_ble_batchscan.cc242 UINT8_TO_STREAM(pp, BTM_BLE_BATCH_SCAN_READ_RESULTS); in btm_ble_read_batchscan_reports()
243 UINT8_TO_STREAM(pp, scan_mode); in btm_ble_read_batchscan_reports()
311 UINT8_TO_STREAM(pp, BTM_BLE_BATCH_SCAN_SET_STORAGE_PARAM); in btm_ble_set_storage_config()
312 UINT8_TO_STREAM(pp, batch_scan_full_max); in btm_ble_set_storage_config()
313 UINT8_TO_STREAM(pp, batch_scan_trunc_max); in btm_ble_set_storage_config()
314 UINT8_TO_STREAM(pp, batch_scan_notify_threshold); in btm_ble_set_storage_config()
334 UINT8_TO_STREAM(p, BTM_BLE_BATCH_SCAN_SET_PARAMS); in btm_ble_set_batchscan_param()
335 UINT8_TO_STREAM(p, scan_mode); in btm_ble_set_batchscan_param()
338 UINT8_TO_STREAM(p, addr_type); in btm_ble_set_batchscan_param()
339 UINT8_TO_STREAM(p, discard_rule); in btm_ble_set_batchscan_param()
[all …]
Dbtm_ble_privacy.cc424 UINT8_TO_STREAM(p, BTM_BLE_META_REMOVE_IRK_ENTRY); in btm_ble_remove_resolving_list_entry()
425 UINT8_TO_STREAM(p, p_dev_rec->ble.identity_addr_type); in btm_ble_remove_resolving_list_entry()
454 UINT8_TO_STREAM(p, BTM_BLE_META_CLEAR_IRK_LIST); in btm_ble_clear_resolving_list()
483 UINT8_TO_STREAM(p, BTM_BLE_META_READ_IRK_ENTRY); in btm_ble_read_resolving_list_entry()
484 UINT8_TO_STREAM(p, p_dev_rec->ble.resolving_list_index); in btm_ble_read_resolving_list_entry()
589 UINT8_TO_STREAM(p, BTM_BLE_META_IRK_ENABLE); in btm_ble_vendor_enable_irk_feature()
590 UINT8_TO_STREAM(p, enable ? 0x01 : 0x00); in btm_ble_vendor_enable_irk_feature()
750 UINT8_TO_STREAM(p, BTM_BLE_META_ADD_IRK_ENTRY); in btm_ble_resolving_list_load_dev()
752 UINT8_TO_STREAM(p, p_dev_rec->ble.identity_addr_type); in btm_ble_resolving_list_load_dev()
/system/nfc/src/nfc/tags/
Dce_t3t.cc94 UINT8_TO_STREAM(p, (p_msg->len + 1)); in ce_t3t_send_to_lower()
173 UINT8_TO_STREAM(p_dst, opcode); in ce_t3t_send_rsp()
179 UINT8_TO_STREAM(p_dst, status1); in ce_t3t_send_rsp()
180 UINT8_TO_STREAM(p_dst, status2); in ce_t3t_send_rsp()
385 UINT8_TO_STREAM(p_dst, T3T_MSG_OPC_CHECK_RSP); in ce_t3t_handle_check_cmd()
394 UINT8_TO_STREAM(p_dst, T3T_MSG_RSP_STATUS_OK); in ce_t3t_handle_check_cmd()
395 UINT8_TO_STREAM(p_dst, T3T_MSG_RSP_STATUS_OK); in ce_t3t_handle_check_cmd()
396 UINT8_TO_STREAM(p_dst, p_cb->cur_cmd.num_blocks); in ce_t3t_handle_check_cmd()
423 UINT8_TO_STREAM(p_dst, T3T_MSG_RSP_STATUS_ERROR); in ce_t3t_handle_check_cmd()
424 UINT8_TO_STREAM(p_dst, T3T_MSG_RSP_STATUS2_ERROR_MEMORY); in ce_t3t_handle_check_cmd()
[all …]
Drw_t3t.cc566 UINT8_TO_STREAM(p, (p_msg->len + 1)); in rw_t3t_send_to_lower()
658 UINT8_TO_STREAM(p, T3T_MSG_OPC_UPDATE_CMD); in rw_t3t_send_update_ndef_attribute_cmd()
664 UINT8_TO_STREAM(p, 1); /* Number of services (only 1 service: NDEF) */ in rw_t3t_send_update_ndef_attribute_cmd()
669 UINT8_TO_STREAM(p, 1); /* Number of blocks to write in this command */ in rw_t3t_send_update_ndef_attribute_cmd()
672 UINT8_TO_STREAM(p, T3T_MSG_MASK_TWO_BYTE_BLOCK_DESC_FORMAT); in rw_t3t_send_update_ndef_attribute_cmd()
673 UINT8_TO_STREAM(p, 0); in rw_t3t_send_update_ndef_attribute_cmd()
678 UINT8_TO_STREAM(p, T3T_MSG_NDEF_VERSION); in rw_t3t_send_update_ndef_attribute_cmd()
679 UINT8_TO_STREAM(p, p_cb->ndef_attrib.nbr); in rw_t3t_send_update_ndef_attribute_cmd()
680 UINT8_TO_STREAM(p, p_cb->ndef_attrib.nbw); in rw_t3t_send_update_ndef_attribute_cmd()
694 UINT8_TO_STREAM(p, write_f); in rw_t3t_send_update_ndef_attribute_cmd()
[all …]
Drw_i93.cc747 UINT8_TO_STREAM(p, flags); in rw_i93_send_cmd_inventory()
750 UINT8_TO_STREAM(p, I93_CMD_INVENTORY); in rw_i93_send_cmd_inventory()
754 UINT8_TO_STREAM(p, afi); /* Optional AFI */ in rw_i93_send_cmd_inventory()
759 UINT8_TO_STREAM(p, I93_UID_BYTE_LEN * 8); /* Mask Length */ in rw_i93_send_cmd_inventory()
763 UINT8_TO_STREAM(p, 0x00); /* Mask Length */ in rw_i93_send_cmd_inventory()
801 UINT8_TO_STREAM(p, (I93_FLAG_ADDRESS_SET | RW_I93_FLAG_SUB_CARRIER | in rw_i93_send_cmd_stay_quiet()
805 UINT8_TO_STREAM(p, I93_CMD_STAY_QUIET); in rw_i93_send_cmd_stay_quiet()
859 UINT8_TO_STREAM(p, flags); in rw_i93_send_cmd_read_single_block()
863 UINT8_TO_STREAM(p, I93_CMD_EXT_READ_SINGLE_BLOCK); in rw_i93_send_cmd_read_single_block()
865 UINT8_TO_STREAM(p, I93_CMD_READ_SINGLE_BLOCK); in rw_i93_send_cmd_read_single_block()
[all …]
/system/nfc/src/nfa/dm/
Dnfa_dm_discover.cc319 UINT8_TO_STREAM(p, NFC_PMID_LA_BIT_FRAME_SDD); in nfa_dm_set_rf_listen_mode_config()
320 UINT8_TO_STREAM(p, NCI_PARAM_LEN_LA_BIT_FRAME_SDD); in nfa_dm_set_rf_listen_mode_config()
321 UINT8_TO_STREAM(p, 0x04); in nfa_dm_set_rf_listen_mode_config()
322 UINT8_TO_STREAM(p, NFC_PMID_LA_PLATFORM_CONFIG); in nfa_dm_set_rf_listen_mode_config()
323 UINT8_TO_STREAM(p, NCI_PARAM_LEN_LA_PLATFORM_CONFIG); in nfa_dm_set_rf_listen_mode_config()
324 UINT8_TO_STREAM(p, platform); in nfa_dm_set_rf_listen_mode_config()
325 UINT8_TO_STREAM(p, NFC_PMID_LA_SEL_INFO); in nfa_dm_set_rf_listen_mode_config()
326 UINT8_TO_STREAM(p, NCI_PARAM_LEN_LA_SEL_INFO); in nfa_dm_set_rf_listen_mode_config()
327 UINT8_TO_STREAM(p, sens_info); in nfa_dm_set_rf_listen_mode_config()
331 UINT8_TO_STREAM(p, NFC_PMID_LB_SENSB_INFO); in nfa_dm_set_rf_listen_mode_config()
[all …]
/system/bt/hci/src/
Dhci_packet_factory.cc52 UINT8_TO_STREAM(stream, sco_size); in make_host_buffer_size()
76 UINT8_TO_STREAM(stream, page_number); in make_read_local_extended_features()
86 UINT8_TO_STREAM(stream, mode); in make_write_simple_pairing_mode()
96 UINT8_TO_STREAM(stream, mode); in make_write_secure_connections_host_support()
116 UINT8_TO_STREAM(stream, supported_host); in make_ble_write_host_support()
117 UINT8_TO_STREAM(stream, simultaneous_host); in make_ble_write_host_support()
184 UINT8_TO_STREAM(stream, parameter_size); in make_command()
/system/bt/stack/gatt/
Datt_protocol.cc54 UINT8_TO_STREAM(p, op_code); in attp_build_mtu_cmd()
80 UINT8_TO_STREAM(p, op_code); in attp_build_exec_write_cmd()
84 UINT8_TO_STREAM(p, flag); in attp_build_exec_write_cmd()
106 UINT8_TO_STREAM(p, GATT_RSP_ERROR); in attp_build_err_cmd()
107 UINT8_TO_STREAM(p, cmd_code); in attp_build_err_cmd()
109 UINT8_TO_STREAM(p, reason); in attp_build_err_cmd()
139 UINT8_TO_STREAM(p, op_code); in attp_build_browse_cmd()
167 UINT8_TO_STREAM(p, GATT_REQ_FIND_TYPE_VALUE); in attp_build_read_by_type_value_cmd()
201 UINT8_TO_STREAM(p, GATT_REQ_READ_MULTI); in attp_build_read_multi_cmd()
227 UINT8_TO_STREAM(p, op_code); in attp_build_handle_cmd()
[all …]
Dgatt_attr.cc199 UINT8_TO_STREAM(p, gatt_cb.gatt_svr_supported_feat_mask); in read_attr_value()
212 UINT8_TO_STREAM(p, 0); in read_attr_value()
Dgatt_auth.cc60 UINT8_TO_STREAM(p, GATT_SIGN_CMD_WRITE); in gatt_sign_data()
/system/bt/stack/smp/
Dsmp_utils.cc456 UINT8_TO_STREAM(p, cmd_code); in smp_build_pairing_cmd()
457 UINT8_TO_STREAM(p, p_cb->local_io_capability); in smp_build_pairing_cmd()
458 UINT8_TO_STREAM(p, p_cb->loc_oob_flag); in smp_build_pairing_cmd()
459 UINT8_TO_STREAM(p, p_cb->loc_auth_req); in smp_build_pairing_cmd()
460 UINT8_TO_STREAM(p, p_cb->loc_enc_size); in smp_build_pairing_cmd()
461 UINT8_TO_STREAM(p, p_cb->local_i_key); in smp_build_pairing_cmd()
462 UINT8_TO_STREAM(p, p_cb->local_r_key); in smp_build_pairing_cmd()
488 UINT8_TO_STREAM(p, SMP_OPCODE_CONFIRM); in smp_build_confirm_cmd()
512 UINT8_TO_STREAM(p, SMP_OPCODE_RAND); in smp_build_rand_cmd()
537 UINT8_TO_STREAM(p, SMP_OPCODE_ENCRYPT_INFO); in smp_build_encrypt_info_cmd()
[all …]
Dsmp_keys.cc240 UINT8_TO_STREAM(p, op_code); in smp_concatenate_local()
241 UINT8_TO_STREAM(p, p_cb->local_io_capability); in smp_concatenate_local()
242 UINT8_TO_STREAM(p, p_cb->loc_oob_flag); in smp_concatenate_local()
243 UINT8_TO_STREAM(p, p_cb->loc_auth_req); in smp_concatenate_local()
244 UINT8_TO_STREAM(p, p_cb->loc_enc_size); in smp_concatenate_local()
245 UINT8_TO_STREAM(p, p_cb->local_i_key); in smp_concatenate_local()
246 UINT8_TO_STREAM(p, p_cb->local_r_key); in smp_concatenate_local()
259 UINT8_TO_STREAM(p, op_code); in smp_concatenate_peer()
260 UINT8_TO_STREAM(p, p_cb->peer_io_caps); in smp_concatenate_peer()
261 UINT8_TO_STREAM(p, p_cb->peer_oob_flag); in smp_concatenate_peer()
[all …]
/system/nfc/src/nfc/nfc/
Dnfc_main.cc962 UINT8_TO_STREAM(pp, NCI_CON_CREATE_TAG_NFCEE_VAL); in NFC_ConnCreate()
963 UINT8_TO_STREAM(pp, 2); in NFC_ConnCreate()
964 UINT8_TO_STREAM(pp, id); in NFC_ConnCreate()
965 UINT8_TO_STREAM(pp, protocol); in NFC_ConnCreate()
969 UINT8_TO_STREAM(pp, NCI_CON_CREATE_TAG_RF_DISC_ID); in NFC_ConnCreate()
970 UINT8_TO_STREAM(pp, 1); in NFC_ConnCreate()
971 UINT8_TO_STREAM(pp, id); in NFC_ConnCreate()
1198 UINT8_TO_STREAM(p, NCI_RF_PARAM_ID_TECH_N_MODE); in NFC_UpdateRFCommParams()
1199 UINT8_TO_STREAM(p, 1); in NFC_UpdateRFCommParams()
1200 UINT8_TO_STREAM(p, p_params->rf_tech_n_mode); in NFC_UpdateRFCommParams()
[all …]
/system/bt/stack/test/
Dstack_avrcp_test.cc59 UINT8_TO_STREAM(p, AVRC_SCOPE_NOW_PLAYING); // scope in TEST_F()
75 UINT8_TO_STREAM(p, AVRC_DIR_UP); // direction in TEST_F()
76 UINT8_TO_STREAM(p, 0); // attr_count in TEST_F()
/system/bt/stack/l2cap/
Dl2c_utils.cc350 UINT8_TO_STREAM(p, cmd); in l2cu_build_header()
351 UINT8_TO_STREAM(p, id); in l2cu_build_header()
577 UINT8_TO_STREAM(p, L2CAP_CFG_TYPE_MTU); in l2cu_send_peer_config_req()
578 UINT8_TO_STREAM(p, L2CAP_CFG_MTU_OPTION_LEN); in l2cu_send_peer_config_req()
582 UINT8_TO_STREAM(p, L2CAP_CFG_TYPE_FLUSH_TOUT); in l2cu_send_peer_config_req()
583 UINT8_TO_STREAM(p, L2CAP_CFG_FLUSH_OPTION_LEN); in l2cu_send_peer_config_req()
587 UINT8_TO_STREAM(p, L2CAP_CFG_TYPE_QOS); in l2cu_send_peer_config_req()
588 UINT8_TO_STREAM(p, L2CAP_CFG_QOS_OPTION_LEN); in l2cu_send_peer_config_req()
589 UINT8_TO_STREAM(p, p_cfg->qos.qos_flags); in l2cu_send_peer_config_req()
590 UINT8_TO_STREAM(p, p_cfg->qos.service_type); in l2cu_send_peer_config_req()
[all …]
/system/nfc/src/nfa/ce/
Dnfa_ce_act.cc343 UINT8_TO_STREAM(p_params, NFC_PMID_LF_T3T_ID1 + t3t_idx); /* type */ in nfc_ce_t3t_set_listen_params()
345 UINT8_TO_STREAM(p_params, NCI_PARAM_LEN_LF_T3T_ID(NFC_GetNCIVersion())); in nfc_ce_t3t_set_listen_params()
363 UINT8_TO_STREAM(p_params, NFC_PMID_LF_T3T_FLAGS2); /* type */ in nfc_ce_t3t_set_listen_params()
364 UINT8_TO_STREAM(p_params, NCI_PARAM_LEN_LF_T3T_FLAGS2); /* length */ in nfc_ce_t3t_set_listen_params()
370 UINT8_TO_STREAM(p_params, NCI_PARAM_ID_LF_T3T_RD_ALLOWED); /* type */ in nfc_ce_t3t_set_listen_params()
371 UINT8_TO_STREAM(p_params, NCI_PARAM_LEN_LF_T3T_RD_ALLOWED); /* length */ in nfc_ce_t3t_set_listen_params()
373 UINT8_TO_STREAM(p_params, NCI_PARAM_ID_LF_CON_ADV_FEAT); /* type */ in nfc_ce_t3t_set_listen_params()
374 UINT8_TO_STREAM(p_params, NCI_PARAM_LEN_LF_CON_ADV_FEAT); /* length */ in nfc_ce_t3t_set_listen_params()
376 UINT8_TO_STREAM(p_params, adv_Feat); in nfc_ce_t3t_set_listen_params()
379 UINT8_TO_STREAM(p_params, NCI_PARAM_ID_LF_T3T_PMM); /* type */ in nfc_ce_t3t_set_listen_params()
[all …]
/system/nfc/src/include/
Dnfc_types.h62 #define UINT8_TO_STREAM(p, u8) \ macro
/system/bt/bta/dm/
Dbta_dm_act.cc3338 UINT8_TO_STREAM(p, local_name_len + 1); in bta_dm_set_eir()
3339 UINT8_TO_STREAM(p, data_type); in bta_dm_set_eir()
3363 UINT8_TO_STREAM(p, num_uuid * Uuid::kNumBytes16 + 1); in bta_dm_set_eir()
3364 UINT8_TO_STREAM(p, data_type); in bta_dm_set_eir()
3405 UINT8_TO_STREAM(p_length, num_uuid * Uuid::kNumBytes16 + 1); in bta_dm_set_eir()
3406 UINT8_TO_STREAM(p_type, data_type); in bta_dm_set_eir()
3436 UINT8_TO_STREAM(p_length, num_uuid * Uuid::kNumBytes32 + 1); in bta_dm_set_eir()
3437 UINT8_TO_STREAM(p_type, data_type); in bta_dm_set_eir()
3465 UINT8_TO_STREAM(p_length, num_uuid * Uuid::kNumBytes128 + 1); in bta_dm_set_eir()
3466 UINT8_TO_STREAM(p_type, data_type); in bta_dm_set_eir()
[all …]
/system/bt/stack/srvc/
Dsrvc_dis.cc169 UINT8_TO_STREAM(p, dis_cb.dis_value.pnp_id.vendor_id_src); in dis_read_attr_value()
/system/bt/stack/avct/
Davct_lcb_act.cc530 UINT8_TO_STREAM(p, nosp); in avct_lcb_send_msg()

12