Home
last modified time | relevance | path

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

12

/packages/modules/Bluetooth/system/stack/hcic/
Dhciblecmds.cc133 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_WRITE_RANDOM_ADDR_CMD); in btsnd_hcic_ble_set_random_addr()
154 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_BLE_WRITE_ADV_PARAMS); in btsnd_hcic_ble_write_adv_params()
158 UINT8_TO_STREAM(pp, adv_type); in btsnd_hcic_ble_write_adv_params()
159 UINT8_TO_STREAM(pp, addr_type_own); in btsnd_hcic_ble_write_adv_params()
160 UINT8_TO_STREAM(pp, addr_type_dir); in btsnd_hcic_ble_write_adv_params()
162 UINT8_TO_STREAM(pp, channel_map); in btsnd_hcic_ble_write_adv_params()
163 UINT8_TO_STREAM(pp, adv_filter_policy); in btsnd_hcic_ble_write_adv_params()
175 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_READ_CMD); in btsnd_hcic_ble_read_adv_chnl_tx_power()
188 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_BLE_WRITE_ADV_DATA + 1); in btsnd_hcic_ble_set_adv_data()
196 UINT8_TO_STREAM(pp, data_len); in btsnd_hcic_ble_set_adv_data()
[all …]
Dhcicmds.cc493 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_INQUIRY); in btsnd_hcic_inquiry()
496 UINT8_TO_STREAM(pp, duration); in btsnd_hcic_inquiry()
497 UINT8_TO_STREAM(pp, response_cnt); in btsnd_hcic_inquiry()
509 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_INQ_CANCEL); in btsnd_hcic_inq_cancel()
524 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_PER_INQ_MODE); in btsnd_hcic_per_inq_mode()
529 UINT8_TO_STREAM(pp, duration); in btsnd_hcic_per_inq_mode()
530 UINT8_TO_STREAM(pp, response_cnt); in btsnd_hcic_per_inq_mode()
542 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_EXIT_PER_INQ); in btsnd_hcic_exit_per_inq()
557 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_CREATE_CONN); in btsnd_hcic_create_conn()
560 UINT8_TO_STREAM(pp, page_scan_rep_mode); in btsnd_hcic_create_conn()
[all …]
/packages/modules/Bluetooth/system/stack/btm/
Dble_advertiser_hci_interface.cc131 UINT8_TO_STREAM(pp, BTM_BLE_MULTI_ADV_SET_PARAM); in SetParameters()
136 UINT8_TO_STREAM(pp, 0x00); // ADV_IND in SetParameters()
138 UINT8_TO_STREAM(pp, 0x02); // ADV_SCAN_IND in SetParameters()
140 UINT8_TO_STREAM(pp, 0x03); // ADV_NONCONN_IND in SetParameters()
148 UINT8_TO_STREAM(pp, own_address_type); in SetParameters()
150 UINT8_TO_STREAM(pp, peer_address_type); in SetParameters()
152 UINT8_TO_STREAM(pp, channel_map); in SetParameters()
153 UINT8_TO_STREAM(pp, filter_policy); in SetParameters()
154 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.cc282 UINT8_TO_STREAM(p, BTM_BLE_META_PF_LOCAL_NAME); in BTM_LE_PF_local_name()
283 UINT8_TO_STREAM(p, action); in BTM_LE_PF_local_name()
284 UINT8_TO_STREAM(p, filt_index); in BTM_LE_PF_local_name()
328 UINT8_TO_STREAM(p, BTM_BLE_META_PF_MANU_DATA); in BTM_LE_PF_manu_data()
329 UINT8_TO_STREAM(p, action); in BTM_LE_PF_manu_data()
330 UINT8_TO_STREAM(p, filt_index); in BTM_LE_PF_manu_data()
380 UINT8_TO_STREAM(p, BTM_BLE_META_PF_SRVC_DATA); in BTM_LE_PF_srvc_data_pattern()
381 UINT8_TO_STREAM(p, action); in BTM_LE_PF_srvc_data_pattern()
382 UINT8_TO_STREAM(p, filt_index); in BTM_LE_PF_srvc_data_pattern()
476 UINT8_TO_STREAM(p, BTM_BLE_META_PF_ADDR); in BTM_LE_PF_addr_filter()
[all …]
Dbtm_ble_batchscan.cc277 UINT8_TO_STREAM(pp, BTM_BLE_BATCH_SCAN_READ_RESULTS); in btm_ble_read_batchscan_reports()
278 UINT8_TO_STREAM(pp, scan_mode); in btm_ble_read_batchscan_reports()
351 UINT8_TO_STREAM(pp, BTM_BLE_BATCH_SCAN_SET_STORAGE_PARAM); in btm_ble_set_storage_config()
352 UINT8_TO_STREAM(pp, batch_scan_full_max); in btm_ble_set_storage_config()
353 UINT8_TO_STREAM(pp, batch_scan_trunc_max); in btm_ble_set_storage_config()
354 UINT8_TO_STREAM(pp, batch_scan_notify_threshold); in btm_ble_set_storage_config()
374 UINT8_TO_STREAM(p, BTM_BLE_BATCH_SCAN_SET_PARAMS); in btm_ble_set_batchscan_param()
375 UINT8_TO_STREAM(p, scan_mode); in btm_ble_set_batchscan_param()
378 UINT8_TO_STREAM(p, addr_type); in btm_ble_set_batchscan_param()
379 UINT8_TO_STREAM(p, discard_rule); in btm_ble_set_batchscan_param()
[all …]
Dbtm_ble_privacy.cc442 UINT8_TO_STREAM(p, BTM_BLE_META_REMOVE_IRK_ENTRY); in btm_ble_remove_resolving_list_entry()
443 UINT8_TO_STREAM(p, p_dev_rec->ble.identity_address_with_type.type); in btm_ble_remove_resolving_list_entry()
471 UINT8_TO_STREAM(p, BTM_BLE_META_CLEAR_IRK_LIST); in btm_ble_clear_resolving_list()
504 UINT8_TO_STREAM(p, BTM_BLE_META_READ_IRK_ENTRY); in btm_ble_read_resolving_list_entry()
505 UINT8_TO_STREAM(p, p_dev_rec->ble.resolving_list_index); in btm_ble_read_resolving_list_entry()
522 UINT8_TO_STREAM(p, BTM_BLE_META_ADD_IRK_ENTRY); in btm_ble_ble_unsupported_resolving_list_load_dev()
524 UINT8_TO_STREAM(p, p_dev_rec->ble.identity_address_with_type.type); in btm_ble_ble_unsupported_resolving_list_load_dev()
/packages/modules/Bluetooth/system/bta/le_audio/
Dclient_parser.cc307 UINT8_TO_STREAM(msg, kCtpOpcodeCodecConfiguration); in PrepareAseCtpCodecConfig()
309 UINT8_TO_STREAM(msg, confs.size()); in PrepareAseCtpCodecConfig()
311 UINT8_TO_STREAM(msg, conf.ase_id); in PrepareAseCtpCodecConfig()
312 UINT8_TO_STREAM(msg, conf.target_latency); in PrepareAseCtpCodecConfig()
313 UINT8_TO_STREAM(msg, conf.target_phy); in PrepareAseCtpCodecConfig()
314 UINT8_TO_STREAM(msg, conf.codec_id.coding_format); in PrepareAseCtpCodecConfig()
321 UINT8_TO_STREAM(msg, codec_spec_conf_len); in PrepareAseCtpCodecConfig()
349 UINT8_TO_STREAM(msg, kCtpOpcodeQosConfiguration); in PrepareAseCtpConfigQos()
350 UINT8_TO_STREAM(msg, confs.size()); in PrepareAseCtpConfigQos()
353 UINT8_TO_STREAM(msg, conf.ase_id); in PrepareAseCtpConfigQos()
[all …]
Dstorage_helper.cc90 UINT8_TO_STREAM(ptr, LEAUDIO_PACS_STORAGE_CURRENT_LAYOUT_MAGIC); in serializePacs()
91 UINT8_TO_STREAM(ptr, num_of_pacs); in serializePacs()
101 UINT8_TO_STREAM(ptr, pac_recs.size()); in serializePacs()
111 UINT8_TO_STREAM(ptr, pac_len - 1 /* Minus size */); in serializePacs()
114 UINT8_TO_STREAM(ptr, pac.codec_id.coding_format); in serializePacs()
121 UINT8_TO_STREAM(ptr, pac.codec_spec_caps.RawPacketSize()); in serializePacs()
128 UINT8_TO_STREAM(ptr, pac.metadata.size()); in serializePacs()
275 UINT8_TO_STREAM(ptr, LEAUDIO_ASE_STORAGE_CURRENT_LAYOUT_MAGIC); in SerializeAses()
276 UINT8_TO_STREAM(ptr, num_of_ases); in SerializeAses()
289 UINT8_TO_STREAM(ptr, ase.id); in SerializeAses()
[all …]
Dstate_machine_test.cc552 UINT8_TO_STREAM(p, ase->id == types::ase::kAseIdInvalid in InjectAseStateNotification()
555 UINT8_TO_STREAM(p, new_state); in InjectAseStateNotification()
557 UINT8_TO_STREAM(p, conf->framing); in InjectAseStateNotification()
558 UINT8_TO_STREAM(p, conf->preferred_phy); in InjectAseStateNotification()
559 UINT8_TO_STREAM(p, conf->preferred_retrans_nb); in InjectAseStateNotification()
567 UINT8_TO_STREAM(p, conf->codec_id.coding_format); in InjectAseStateNotification()
572 UINT8_TO_STREAM(p, conf->codec_spec_conf.size()); in InjectAseStateNotification()
587 UINT8_TO_STREAM(p, ase->id); in InjectAseStateNotification()
588 UINT8_TO_STREAM(p, new_state); in InjectAseStateNotification()
590 UINT8_TO_STREAM(p, conf->cig_id); in InjectAseStateNotification()
[all …]
Dle_audio_types.cc465 UINT8_TO_STREAM(p_buf, value.second.size() + 1); in RawPacket()
466 UINT8_TO_STREAM(p_buf, value.first); in RawPacket()
575 UINT8_TO_STREAM(streaming_context_ltv_entry_buf, in AppendMetadataLtvEntryForStreamingContext()
578 UINT8_TO_STREAM(streaming_context_ltv_entry_buf, in AppendMetadataLtvEntryForStreamingContext()
/packages/modules/Bluetooth/system/stack/test/
Dbtm_iso_test.cc165 UINT8_TO_STREAM(p, this->volatile_test_cig_create_cmpl_evt_.status); in InitIsoManager()
166 UINT8_TO_STREAM(p, cig_id); in InitIsoManager()
167 UINT8_TO_STREAM( in InitIsoManager()
189 UINT8_TO_STREAM(p, HCI_SUCCESS); in InitIsoManager()
195 UINT8_TO_STREAM(p, 0x01); // phy mtos in InitIsoManager()
196 UINT8_TO_STREAM(p, 0x02); // phy stom in InitIsoManager()
197 UINT8_TO_STREAM(p, 0x01); // nse in InitIsoManager()
198 UINT8_TO_STREAM(p, 0x02); // bn mtos in InitIsoManager()
199 UINT8_TO_STREAM(p, 0x03); // bn stom in InitIsoManager()
200 UINT8_TO_STREAM(p, 0x04); // ft mtos in InitIsoManager()
[all …]
Dstack_avrcp_test.cc44 UINT8_TO_STREAM(p, 0x01); // number of attributes in TEST_F()
68 UINT8_TO_STREAM(p, 0x04); // status in TEST_F()
69 UINT8_TO_STREAM(p, 0x01); // number of attribute in TEST_F()
110 UINT8_TO_STREAM(p, AVRC_SCOPE_NOW_PLAYING); // scope in TEST_F()
126 UINT8_TO_STREAM(p, AVRC_DIR_UP); // direction in TEST_F()
127 UINT8_TO_STREAM(p, 0); // attr_count in TEST_F()
/packages/modules/Bluetooth/system/stack/smp/
Dsmp_utils.cc482 UINT8_TO_STREAM(p, cmd_code); in smp_build_pairing_cmd()
483 UINT8_TO_STREAM(p, p_cb->local_io_capability); in smp_build_pairing_cmd()
484 UINT8_TO_STREAM(p, p_cb->loc_oob_flag); in smp_build_pairing_cmd()
485 UINT8_TO_STREAM(p, p_cb->loc_auth_req); in smp_build_pairing_cmd()
486 UINT8_TO_STREAM(p, p_cb->loc_enc_size); in smp_build_pairing_cmd()
487 UINT8_TO_STREAM(p, p_cb->local_i_key); in smp_build_pairing_cmd()
488 UINT8_TO_STREAM(p, p_cb->local_r_key); in smp_build_pairing_cmd()
514 UINT8_TO_STREAM(p, SMP_OPCODE_CONFIRM); in smp_build_confirm_cmd()
538 UINT8_TO_STREAM(p, SMP_OPCODE_RAND); in smp_build_rand_cmd()
563 UINT8_TO_STREAM(p, SMP_OPCODE_ENCRYPT_INFO); in smp_build_encrypt_info_cmd()
[all …]
Dsmp_keys.cc221 UINT8_TO_STREAM(p, op_code); in smp_concatenate_local()
222 UINT8_TO_STREAM(p, p_cb->local_io_capability); in smp_concatenate_local()
223 UINT8_TO_STREAM(p, p_cb->loc_oob_flag); in smp_concatenate_local()
224 UINT8_TO_STREAM(p, p_cb->loc_auth_req); in smp_concatenate_local()
225 UINT8_TO_STREAM(p, p_cb->loc_enc_size); in smp_concatenate_local()
226 UINT8_TO_STREAM(p, p_cb->local_i_key); in smp_concatenate_local()
227 UINT8_TO_STREAM(p, p_cb->local_r_key); in smp_concatenate_local()
240 UINT8_TO_STREAM(p, op_code); in smp_concatenate_peer()
241 UINT8_TO_STREAM(p, p_cb->peer_io_caps); in smp_concatenate_peer()
242 UINT8_TO_STREAM(p, p_cb->peer_oob_flag); in smp_concatenate_peer()
[all …]
/packages/modules/Bluetooth/system/stack/gatt/
Datt_protocol.cc60 UINT8_TO_STREAM(p, op_code); in attp_build_mtu_cmd()
86 UINT8_TO_STREAM(p, op_code); in attp_build_exec_write_cmd()
90 UINT8_TO_STREAM(p, flag); in attp_build_exec_write_cmd()
112 UINT8_TO_STREAM(p, GATT_RSP_ERROR); in attp_build_err_cmd()
113 UINT8_TO_STREAM(p, cmd_code); in attp_build_err_cmd()
115 UINT8_TO_STREAM(p, reason); in attp_build_err_cmd()
146 UINT8_TO_STREAM(p, op_code); in attp_build_browse_cmd()
174 UINT8_TO_STREAM(p, GATT_REQ_FIND_TYPE_VALUE); in attp_build_read_by_type_value_cmd()
209 UINT8_TO_STREAM(p, op_code); in attp_build_read_multi_cmd()
235 UINT8_TO_STREAM(p, op_code); in attp_build_handle_cmd()
[all …]
Dgatt_sr_hash.cc93 UINT8_TO_STREAM(p_data, attr_it->p_value->char_decl.property); in fill_database_info()
Dgatt_attr.cc226 UINT8_TO_STREAM(p, gatt_cb.gatt_svr_supported_feat_mask); in read_attr_value()
1003 UINT8_TO_STREAM(p, tcb.cl_supp_feat); in gatt_sr_read_cl_supp_feat()
/packages/modules/Bluetooth/system/bta/has/
Dhas_ctp.cc144 UINT8_TO_STREAM( in ToCharacteristicValue()
146 UINT8_TO_STREAM(pp, index); in ToCharacteristicValue()
147 UINT8_TO_STREAM(pp, num_of_indices); in ToCharacteristicValue()
153 UINT8_TO_STREAM( in ToCharacteristicValue()
155 UINT8_TO_STREAM(pp, index); in ToCharacteristicValue()
164 UINT8_TO_STREAM( in ToCharacteristicValue()
173 UINT8_TO_STREAM( in ToCharacteristicValue()
175 UINT8_TO_STREAM(pp, index); in ToCharacteristicValue()
Dhas_preset.cc47 UINT8_TO_STREAM(pp, index_); in ToCharacteristicValue()
48 UINT8_TO_STREAM(pp, properties_); in ToCharacteristicValue()
66 UINT8_TO_STREAM(p_out, name_len + 2); in Serialize()
68 UINT8_TO_STREAM(p_out, index_); in Serialize()
69 UINT8_TO_STREAM(p_out, properties_); in Serialize()
Dhas_types.h310 UINT8_TO_STREAM(p_out, kHasDeviceBinaryBlobHdr); in SerializePresets()
311 UINT8_TO_STREAM(p_out, has_presets.size()); in SerializePresets()
/packages/modules/Bluetooth/system/stack/l2cap/
Dl2c_utils.cc326 UINT8_TO_STREAM(p, cmd); in l2cu_build_header()
327 UINT8_TO_STREAM(p, signal_id); in l2cu_build_header()
605 UINT8_TO_STREAM(p, L2CAP_CFG_TYPE_MTU); in l2cu_send_peer_config_req()
606 UINT8_TO_STREAM(p, L2CAP_CFG_MTU_OPTION_LEN); in l2cu_send_peer_config_req()
610 UINT8_TO_STREAM(p, L2CAP_CFG_TYPE_FLUSH_TOUT); in l2cu_send_peer_config_req()
611 UINT8_TO_STREAM(p, L2CAP_CFG_FLUSH_OPTION_LEN); in l2cu_send_peer_config_req()
615 UINT8_TO_STREAM(p, L2CAP_CFG_TYPE_QOS); in l2cu_send_peer_config_req()
616 UINT8_TO_STREAM(p, L2CAP_CFG_QOS_OPTION_LEN); in l2cu_send_peer_config_req()
617 UINT8_TO_STREAM(p, p_cfg->qos.qos_flags); in l2cu_send_peer_config_req()
618 UINT8_TO_STREAM(p, p_cfg->qos.service_type); in l2cu_send_peer_config_req()
[all …]
/packages/modules/Bluetooth/system/bta/le_audio/broadcaster/
Dbroadcaster_types.cc68 UINT8_TO_STREAM(p_value, config.codec_id); in EmitCodecConfiguration()
73 UINT8_TO_STREAM(p_value, ltv_raw_sz); in EmitCodecConfiguration()
89 UINT8_TO_STREAM(p_value, ltv_raw_sz); in EmitMetadata()
110 UINT8_TO_STREAM(p_value, bis_config.bis_index); in EmitBisConfigs()
113 UINT8_TO_STREAM(p_value, ltv_raw_sz); in EmitBisConfigs()
130 UINT8_TO_STREAM(p_value, subgroup_config.bis_configs.size()); in EmitSubgroup()
150 UINT8_TO_STREAM(p_value, in.subgroup_configs.size()); in ToRawPacket()
163 UINT8_TO_STREAM(data_ptr, 6); in PrepareAdvertisingData()
164 UINT8_TO_STREAM(data_ptr, BTM_BLE_AD_TYPE_SERVICE_DATA_TYPE); in PrepareAdvertisingData()
175 UINT8_TO_STREAM(data_ptr, BTM_BLE_AD_TYPE_SERVICE_DATA_TYPE); in PreparePeriodicData()
[all …]
/packages/modules/Bluetooth/system/bta/dm/
Dbta_dm_act.cc3008 UINT8_TO_STREAM(p, local_name_len + 1); in bta_dm_set_eir()
3009 UINT8_TO_STREAM(p, data_type); in bta_dm_set_eir()
3033 UINT8_TO_STREAM(p, num_uuid * Uuid::kNumBytes16 + 1); in bta_dm_set_eir()
3034 UINT8_TO_STREAM(p, data_type); in bta_dm_set_eir()
3075 UINT8_TO_STREAM(p_length, num_uuid * Uuid::kNumBytes16 + 1); in bta_dm_set_eir()
3076 UINT8_TO_STREAM(p_type, data_type); in bta_dm_set_eir()
3106 UINT8_TO_STREAM(p_length, num_uuid * Uuid::kNumBytes32 + 1); in bta_dm_set_eir()
3107 UINT8_TO_STREAM(p_type, data_type); in bta_dm_set_eir()
3135 UINT8_TO_STREAM(p_length, num_uuid * Uuid::kNumBytes128 + 1); in bta_dm_set_eir()
3136 UINT8_TO_STREAM(p_type, data_type); in bta_dm_set_eir()
[all …]
/packages/modules/Bluetooth/system/bta/groups/
Dgroups.cc184 UINT8_TO_STREAM(ptr, GROUP_STORAGE_CURRENT_LAYOUT_MAGIC); in SerializeGroups()
185 UINT8_TO_STREAM(ptr, num_groups); in SerializeGroups()
190 UINT8_TO_STREAM(ptr, id); in SerializeGroups()
/packages/modules/Bluetooth/system/bta/csis/
Dcsis_client.cc565 UINT8_TO_STREAM(ptr, CSIS_STORAGE_CURRENT_LAYOUT_MAGIC); in SerializeSets()
566 UINT8_TO_STREAM(ptr, num_sets); in SerializeSets()
578 UINT8_TO_STREAM(ptr, gid); in SerializeSets()
579 UINT8_TO_STREAM(ptr, csis_group->GetDesiredSize()); in SerializeSets()
580 UINT8_TO_STREAM(ptr, csis_inst->GetRank()); in SerializeSets()

12