Home
last modified time | relevance | path

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

12

/packages/modules/Bluetooth/system/stack/hcic/
Dhciblecmds.cc128 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_BLE_WRITE_ADV_PARAMS); in btsnd_hcic_ble_write_adv_params()
132 UINT8_TO_STREAM(pp, adv_type); in btsnd_hcic_ble_write_adv_params()
133 UINT8_TO_STREAM(pp, addr_type_own); in btsnd_hcic_ble_write_adv_params()
134 UINT8_TO_STREAM(pp, addr_type_dir); in btsnd_hcic_ble_write_adv_params()
136 UINT8_TO_STREAM(pp, channel_map); in btsnd_hcic_ble_write_adv_params()
137 UINT8_TO_STREAM(pp, adv_filter_policy); in btsnd_hcic_ble_write_adv_params()
149 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_READ_CMD); in btsnd_hcic_ble_read_adv_chnl_tx_power()
162 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_BLE_WRITE_ADV_DATA + 1); in btsnd_hcic_ble_set_adv_data()
170 UINT8_TO_STREAM(pp, data_len); in btsnd_hcic_ble_set_adv_data()
185 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_WRITE_ADV_ENABLE); in btsnd_hcic_ble_set_adv_enable()
[all …]
Dhcicmds.cc490 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_DISCONNECT); in btsnd_hcic_disconnect()
492 UINT8_TO_STREAM(pp, reason); in btsnd_hcic_disconnect()
505 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_ADD_SCO_CONN); in btsnd_hcic_add_SCO_conn()
521 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_CREATE_CONN_CANCEL); in btsnd_hcic_create_conn_cancel()
536 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_REJECT_CONN); in btsnd_hcic_reject_conn()
539 UINT8_TO_STREAM(pp, reason); in btsnd_hcic_reject_conn()
553 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_LINK_KEY_REQ_REPLY); in btsnd_hcic_link_key_req_reply()
569 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_LINK_KEY_NEG_REPLY); in btsnd_hcic_link_key_neg_reply()
586 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_PIN_CODE_REQ_REPLY); in btsnd_hcic_pin_code_req_reply()
589 UINT8_TO_STREAM(pp, pin_code_len); in btsnd_hcic_pin_code_req_reply()
[all …]
/packages/modules/Bluetooth/system/bta/le_audio/
Dclient_parser.cc331 UINT8_TO_STREAM(msg, kCtpOpcodeCodecConfiguration); in PrepareAseCtpCodecConfig()
333 UINT8_TO_STREAM(msg, confs.size()); in PrepareAseCtpCodecConfig()
335 UINT8_TO_STREAM(msg, conf.ase_id); in PrepareAseCtpCodecConfig()
336 UINT8_TO_STREAM(msg, conf.target_latency); in PrepareAseCtpCodecConfig()
337 UINT8_TO_STREAM(msg, conf.target_phy); in PrepareAseCtpCodecConfig()
338 UINT8_TO_STREAM(msg, conf.codec_id.coding_format); in PrepareAseCtpCodecConfig()
342 UINT8_TO_STREAM(msg, conf.codec_config.size()); in PrepareAseCtpCodecConfig()
366 UINT8_TO_STREAM(msg, kCtpOpcodeQosConfiguration); in PrepareAseCtpConfigQos()
367 UINT8_TO_STREAM(msg, confs.size()); in PrepareAseCtpConfigQos()
370 UINT8_TO_STREAM(msg, conf.ase_id); in PrepareAseCtpConfigQos()
[all …]
Dstorage_helper.cc94 UINT8_TO_STREAM(ptr, LEAUDIO_PACS_STORAGE_CURRENT_LAYOUT_MAGIC); in serializePacs()
95 UINT8_TO_STREAM(ptr, num_of_pacs); in serializePacs()
105 UINT8_TO_STREAM(ptr, pac_recs.size()); in serializePacs()
115 UINT8_TO_STREAM(ptr, pac_len - 1 /* Minus size */); in serializePacs()
118 UINT8_TO_STREAM(ptr, pac.codec_id.coding_format); in serializePacs()
125 UINT8_TO_STREAM(ptr, pac.codec_spec_caps_raw.size()); in serializePacs()
133 UINT8_TO_STREAM(ptr, pac.metadata.size()); in serializePacs()
280 UINT8_TO_STREAM(ptr, LEAUDIO_ASE_STORAGE_CURRENT_LAYOUT_MAGIC); in SerializeAses()
281 UINT8_TO_STREAM(ptr, num_of_ases); in SerializeAses()
296 UINT8_TO_STREAM(ptr, ase.id); in SerializeAses()
[all …]
Dle_audio_types.cc440 UINT8_TO_STREAM(p_buf, value.second.size() + 1); in RawPacket()
441 UINT8_TO_STREAM(p_buf, value.first); in RawPacket()
619 UINT8_TO_STREAM(streaming_context_ltv_entry_buf, in AppendMetadataLtvEntryForStreamingContext()
622 UINT8_TO_STREAM(streaming_context_ltv_entry_buf, in AppendMetadataLtvEntryForStreamingContext()
Dstate_machine_test.cc792 UINT8_TO_STREAM(p, ase->id == types::ase::kAseIdInvalid in InjectAseStateNotification()
795 UINT8_TO_STREAM(p, new_state); in InjectAseStateNotification()
797 UINT8_TO_STREAM(p, conf->framing); in InjectAseStateNotification()
798 UINT8_TO_STREAM(p, conf->preferred_phy); in InjectAseStateNotification()
799 UINT8_TO_STREAM(p, conf->preferred_retrans_nb); in InjectAseStateNotification()
807 UINT8_TO_STREAM(p, conf->codec_id.coding_format); in InjectAseStateNotification()
812 UINT8_TO_STREAM(p, conf->codec_spec_conf.size()); in InjectAseStateNotification()
827 UINT8_TO_STREAM(p, ase->id == types::ase::kAseIdInvalid in InjectAseStateNotification()
830 UINT8_TO_STREAM(p, new_state); in InjectAseStateNotification()
832 UINT8_TO_STREAM(p, conf->cig_id); in InjectAseStateNotification()
[all …]
/packages/modules/Bluetooth/system/bta/le_audio/broadcaster/
Dbroadcaster_types.cc73 UINT8_TO_STREAM(p_value, config.codec_id); in EmitCodecConfiguration()
78 UINT8_TO_STREAM(p_value, codec_spec_raw_sz); in EmitCodecConfiguration()
100 UINT8_TO_STREAM(p_value, ltv_raw_sz); in EmitMetadata()
114 UINT8_TO_STREAM(p_value, name_len + 1); in EmitBroadcastName()
115 UINT8_TO_STREAM(p_value, BTM_BLE_AD_TYPE_BROADCAST_NAME); in EmitBroadcastName()
136 UINT8_TO_STREAM(p_value, bis_config.bis_index); in EmitBisConfigs()
139 UINT8_TO_STREAM(p_value, ltv_raw_sz); in EmitBisConfigs()
156 UINT8_TO_STREAM(p_value, subgroup_config.bis_configs.size()); in EmitSubgroup()
176 UINT8_TO_STREAM(p_value, in.subgroup_configs.size()); in ToRawPacket()
193 UINT8_TO_STREAM(data_ptr, 6); in PrepareAdvertisingData()
[all …]
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_ble_adv_filter.cc358 UINT8_TO_STREAM(p, BTM_BLE_META_PF_FEAT_SEL); in BTM_BleAdvFilterParamSetup()
359 UINT8_TO_STREAM(p, BTM_BLE_SCAN_COND_ADD); in BTM_BleAdvFilterParamSetup()
362 UINT8_TO_STREAM(p, filt_index); in BTM_BleAdvFilterParamSetup()
369 UINT8_TO_STREAM(p, p_filt_params->filt_logic_type); in BTM_BleAdvFilterParamSetup()
371 UINT8_TO_STREAM(p, p_filt_params->rssi_high_thres); in BTM_BleAdvFilterParamSetup()
373 UINT8_TO_STREAM(p, p_filt_params->dely_mode); in BTM_BleAdvFilterParamSetup()
379 UINT8_TO_STREAM(p, p_filt_params->found_timeout_cnt); in BTM_BleAdvFilterParamSetup()
381 UINT8_TO_STREAM(p, p_filt_params->rssi_low_thres); in BTM_BleAdvFilterParamSetup()
400 UINT8_TO_STREAM(p, BTM_BLE_META_PF_FEAT_SEL); in BTM_BleAdvFilterParamSetup()
401 UINT8_TO_STREAM(p, BTM_BLE_SCAN_COND_DELETE); in BTM_BleAdvFilterParamSetup()
[all …]
Dbtm_ble_privacy.cc455 UINT8_TO_STREAM(p, BTM_BLE_META_REMOVE_IRK_ENTRY); in btm_ble_remove_resolving_list_entry()
456 UINT8_TO_STREAM(p, p_dev_rec->ble.identity_address_with_type.type); in btm_ble_remove_resolving_list_entry()
484 UINT8_TO_STREAM(p, BTM_BLE_META_CLEAR_IRK_LIST); in btm_ble_clear_resolving_list()
520 UINT8_TO_STREAM(p, BTM_BLE_META_READ_IRK_ENTRY); in btm_ble_read_resolving_list_entry()
521 UINT8_TO_STREAM(p, p_dev_rec->ble.resolving_list_index); in btm_ble_read_resolving_list_entry()
538 UINT8_TO_STREAM(p, BTM_BLE_META_ADD_IRK_ENTRY); in btm_ble_ble_unsupported_resolving_list_load_dev()
540 UINT8_TO_STREAM(p, p_dev_rec->ble.identity_address_with_type.type); in btm_ble_ble_unsupported_resolving_list_load_dev()
Dbtm_ble.cc233 UINT8_TO_STREAM(pp, all_phys); in BTM_BleSetPhy()
234 UINT8_TO_STREAM(pp, tx_phys); in BTM_BleSetPhy()
235 UINT8_TO_STREAM(pp, rx_phys); in BTM_BleSetPhy()
/packages/modules/Bluetooth/system/stack/test/
Dbtm_iso_test.cc192 UINT8_TO_STREAM(p, this->volatile_test_cig_create_cmpl_evt_.status); in InitIsoManager()
193 UINT8_TO_STREAM(p, cig_id); in InitIsoManager()
194 UINT8_TO_STREAM( in InitIsoManager()
217 UINT8_TO_STREAM(p, HCI_SUCCESS); in InitIsoManager()
223 UINT8_TO_STREAM(p, 0x01); // phy mtos in InitIsoManager()
224 UINT8_TO_STREAM(p, 0x02); // phy stom in InitIsoManager()
225 UINT8_TO_STREAM(p, 0x01); // nse in InitIsoManager()
226 UINT8_TO_STREAM(p, 0x02); // bn mtos in InitIsoManager()
227 UINT8_TO_STREAM(p, 0x03); // bn stom in InitIsoManager()
228 UINT8_TO_STREAM(p, 0x04); // ft mtos in InitIsoManager()
[all …]
Dstack_avrcp_test.cc45 UINT8_TO_STREAM(p, 0x01); // number of attributes in TEST_F()
69 UINT8_TO_STREAM(p, 0x04); // status in TEST_F()
70 UINT8_TO_STREAM(p, 0x01); // number of attribute in TEST_F()
111 UINT8_TO_STREAM(p, AVRC_SCOPE_NOW_PLAYING); // scope in TEST_F()
127 UINT8_TO_STREAM(p, AVRC_DIR_UP); // direction in TEST_F()
128 UINT8_TO_STREAM(p, 0); // attr_count in TEST_F()
/packages/modules/Bluetooth/system/stack/smp/
Dsmp_utils.cc501 UINT8_TO_STREAM(p, cmd_code); in smp_build_pairing_cmd()
502 UINT8_TO_STREAM(p, p_cb->local_io_capability); in smp_build_pairing_cmd()
503 UINT8_TO_STREAM(p, p_cb->loc_oob_flag); in smp_build_pairing_cmd()
504 UINT8_TO_STREAM(p, p_cb->loc_auth_req); in smp_build_pairing_cmd()
505 UINT8_TO_STREAM(p, p_cb->loc_enc_size); in smp_build_pairing_cmd()
506 UINT8_TO_STREAM(p, p_cb->local_i_key); in smp_build_pairing_cmd()
507 UINT8_TO_STREAM(p, p_cb->local_r_key); in smp_build_pairing_cmd()
532 UINT8_TO_STREAM(p, SMP_OPCODE_CONFIRM); in smp_build_confirm_cmd()
556 UINT8_TO_STREAM(p, SMP_OPCODE_RAND); in smp_build_rand_cmd()
581 UINT8_TO_STREAM(p, SMP_OPCODE_ENCRYPT_INFO); in smp_build_encrypt_info_cmd()
[all …]
Dsmp_keys.cc228 UINT8_TO_STREAM(p, op_code); in smp_concatenate_local()
229 UINT8_TO_STREAM(p, p_cb->local_io_capability); in smp_concatenate_local()
230 UINT8_TO_STREAM(p, p_cb->loc_oob_flag); in smp_concatenate_local()
231 UINT8_TO_STREAM(p, p_cb->loc_auth_req); in smp_concatenate_local()
232 UINT8_TO_STREAM(p, p_cb->loc_enc_size); in smp_concatenate_local()
233 UINT8_TO_STREAM(p, p_cb->local_i_key); in smp_concatenate_local()
234 UINT8_TO_STREAM(p, p_cb->local_r_key); in smp_concatenate_local()
247 UINT8_TO_STREAM(p, op_code); in smp_concatenate_peer()
248 UINT8_TO_STREAM(p, p_cb->peer_io_caps); in smp_concatenate_peer()
249 UINT8_TO_STREAM(p, p_cb->peer_oob_flag); in smp_concatenate_peer()
[all …]
/packages/modules/Bluetooth/system/bta/has/
Dhas_ctp.cc147 UINT8_TO_STREAM( in ToCharacteristicValue()
149 UINT8_TO_STREAM(pp, index); in ToCharacteristicValue()
150 UINT8_TO_STREAM(pp, num_of_indices); in ToCharacteristicValue()
156 UINT8_TO_STREAM( in ToCharacteristicValue()
158 UINT8_TO_STREAM(pp, index); in ToCharacteristicValue()
167 UINT8_TO_STREAM( in ToCharacteristicValue()
176 UINT8_TO_STREAM( in ToCharacteristicValue()
178 UINT8_TO_STREAM(pp, index); in ToCharacteristicValue()
Dhas_preset.cc53 UINT8_TO_STREAM(pp, index_); in ToCharacteristicValue()
54 UINT8_TO_STREAM(pp, properties_); in ToCharacteristicValue()
71 UINT8_TO_STREAM(p_out, name_len + 2); in Serialize()
73 UINT8_TO_STREAM(p_out, index_); in Serialize()
74 UINT8_TO_STREAM(p_out, properties_); in Serialize()
Dhas_types.h314 UINT8_TO_STREAM(p_out, kHasDeviceBinaryBlobHdr); in SerializePresets()
315 UINT8_TO_STREAM(p_out, has_presets.size()); in SerializePresets()
/packages/modules/Bluetooth/system/stack/l2cap/
Dl2c_utils.cc325 UINT8_TO_STREAM(p, cmd); in l2cu_build_header()
326 UINT8_TO_STREAM(p, signal_id); in l2cu_build_header()
604 UINT8_TO_STREAM(p, L2CAP_CFG_TYPE_MTU); in l2cu_send_peer_config_req()
605 UINT8_TO_STREAM(p, L2CAP_CFG_MTU_OPTION_LEN); in l2cu_send_peer_config_req()
609 UINT8_TO_STREAM(p, L2CAP_CFG_TYPE_FLUSH_TOUT); in l2cu_send_peer_config_req()
610 UINT8_TO_STREAM(p, L2CAP_CFG_FLUSH_OPTION_LEN); in l2cu_send_peer_config_req()
614 UINT8_TO_STREAM(p, L2CAP_CFG_TYPE_QOS); in l2cu_send_peer_config_req()
615 UINT8_TO_STREAM(p, L2CAP_CFG_QOS_OPTION_LEN); in l2cu_send_peer_config_req()
616 UINT8_TO_STREAM(p, p_cfg->qos.qos_flags); in l2cu_send_peer_config_req()
617 UINT8_TO_STREAM(p, p_cfg->qos.service_type); in l2cu_send_peer_config_req()
[all …]
/packages/modules/Bluetooth/system/stack/gatt/
Datt_protocol.cc62 UINT8_TO_STREAM(p, op_code); in attp_build_mtu_cmd()
88 UINT8_TO_STREAM(p, op_code); in attp_build_exec_write_cmd()
92 UINT8_TO_STREAM(p, flag); in attp_build_exec_write_cmd()
114 UINT8_TO_STREAM(p, GATT_RSP_ERROR); in attp_build_err_cmd()
115 UINT8_TO_STREAM(p, cmd_code); in attp_build_err_cmd()
117 UINT8_TO_STREAM(p, reason); in attp_build_err_cmd()
148 UINT8_TO_STREAM(p, op_code); in attp_build_browse_cmd()
182 UINT8_TO_STREAM(p, GATT_REQ_FIND_TYPE_VALUE); in attp_build_read_by_type_value_cmd()
218 UINT8_TO_STREAM(p, op_code); in attp_build_read_multi_cmd()
244 UINT8_TO_STREAM(p, op_code); in attp_build_handle_cmd()
[all …]
Dgatt_sr_hash.cc95 UINT8_TO_STREAM(p_data, attr_it->p_value->char_decl.property); in fill_database_info()
/packages/modules/Bluetooth/system/bta/dm/
Dbta_dm_act.cc1160 UINT8_TO_STREAM(p, local_name_len + 1); in bta_dm_set_eir()
1161 UINT8_TO_STREAM(p, data_type); in bta_dm_set_eir()
1202 UINT8_TO_STREAM(p_length, num_uuid * Uuid::kNumBytes16 + 1); in bta_dm_set_eir()
1203 UINT8_TO_STREAM(p_type, data_type); in bta_dm_set_eir()
1232 UINT8_TO_STREAM(p_length, num_uuid * Uuid::kNumBytes32 + 1); in bta_dm_set_eir()
1233 UINT8_TO_STREAM(p_type, data_type); in bta_dm_set_eir()
1261 UINT8_TO_STREAM(p_length, num_uuid * Uuid::kNumBytes128 + 1); in bta_dm_set_eir()
1262 UINT8_TO_STREAM(p_type, data_type); in bta_dm_set_eir()
1271 UINT8_TO_STREAM(p, p_bta_dm_eir_cfg->bta_dm_eir_flag_len + 1); in bta_dm_set_eir()
1272 UINT8_TO_STREAM(p, HCI_EIR_FLAGS_TYPE); in bta_dm_set_eir()
[all …]
/packages/modules/Bluetooth/system/bta/groups/
Dgroups.cc187 UINT8_TO_STREAM(ptr, GROUP_STORAGE_CURRENT_LAYOUT_MAGIC); in SerializeGroups()
188 UINT8_TO_STREAM(ptr, num_groups); in SerializeGroups()
193 UINT8_TO_STREAM(ptr, id); in SerializeGroups()
/packages/modules/Bluetooth/system/stack/include/
Dbt_types.h107 #define UINT8_TO_STREAM(p, u8) \ macro
/packages/modules/Bluetooth/system/bta/av/
Dbta_av_aact.cc3120 UINT8_TO_STREAM(p_param, offload_start->bits_per_sample); in bta_av_vendor_offload_start()
3121 UINT8_TO_STREAM(p_param, offload_start->ch_mode); in bta_av_vendor_offload_start()
3170 UINT8_TO_STREAM(p_param, 0x0); in bta_av_vendor_offload_start_v2()
3174 UINT8_TO_STREAM(p_param, scmst_info.enable_status); in bta_av_vendor_offload_start_v2()
3176 UINT8_TO_STREAM(p_param, scmst_info.cp_header); in bta_av_vendor_offload_start_v2()
3181 UINT8_TO_STREAM(p_param, in bta_av_vendor_offload_start_v2()
3223 UINT8_TO_STREAM(p_param, 0x0); in bta_av_vendor_offload_stop()
/packages/modules/Bluetooth/system/bta/csis/
Dcsis_client.cc593 UINT8_TO_STREAM(ptr, CSIS_STORAGE_CURRENT_LAYOUT_MAGIC); in SerializeSets()
594 UINT8_TO_STREAM(ptr, num_sets); in SerializeSets()
606 UINT8_TO_STREAM(ptr, gid); in SerializeSets()
607 UINT8_TO_STREAM(ptr, csis_group->GetDesiredSize()); in SerializeSets()
608 UINT8_TO_STREAM(ptr, csis_inst->GetRank()); in SerializeSets()

12