Home
last modified time | relevance | path

Searched refs:ARRAY_TO_STREAM (Results 1 – 23 of 23) sorted by relevance

/packages/modules/Bluetooth/system/bta/has/
Dhas_preset.cc55 ARRAY_TO_STREAM(pp, name_.c_str(), (int)name_.size()); in ToCharacteristicValue()
75 ARRAY_TO_STREAM(p_out, name_.c_str(), (int)name_.size()); in Serialize()
/packages/modules/Bluetooth/system/stack/smp/
Dsmp_utils.cc533 ARRAY_TO_STREAM(p, p_cb->confirm, OCTET16_LEN); in smp_build_confirm_cmd()
557 ARRAY_TO_STREAM(p, p_cb->rand, OCTET16_LEN); in smp_build_rand_cmd()
582 ARRAY_TO_STREAM(p, p_cb->ltk, OCTET16_LEN); in smp_build_encrypt_info_cmd()
607 ARRAY_TO_STREAM(p, p_cb->enc_rand, BT_OCTET8_LEN); in smp_build_central_id_cmd()
635 ARRAY_TO_STREAM(p, irk.data(), OCTET16_LEN); in smp_build_identity_info_cmd()
686 ARRAY_TO_STREAM(p, p_cb->csrk, OCTET16_LEN); in smp_build_signing_info_cmd()
767 ARRAY_TO_STREAM(p, p_publ_key, 2 * BT_OCTET32_LEN); in smp_build_pair_public_key_cmd()
792 ARRAY_TO_STREAM(p, p_cb->commitment, OCTET16_LEN); in smp_build_pairing_commitment_cmd()
817 ARRAY_TO_STREAM(p, p_cb->dhkey_check, OCTET16_LEN); in smp_build_pair_dhkey_check_cmd()
/packages/modules/Bluetooth/system/bta/gatt/
Ddatabase.cc268 ARRAY_TO_STREAM(p, service.uuid.To128BitLE(), (int)Uuid::kNumBytes128); in Hash()
280 ARRAY_TO_STREAM(p, is.uuid.To128BitLE(), (int)Uuid::kNumBytes128); in Hash()
293 ARRAY_TO_STREAM(p, c.uuid.To128BitLE(), (int)Uuid::kNumBytes128); in Hash()
/packages/modules/Bluetooth/system/stack/hcic/
Dhciblecmds.cc172 ARRAY_TO_STREAM(pp, p_data, data_len); in btsnd_hcic_ble_set_adv_data()
269 ARRAY_TO_STREAM(pp, rand, HCIC_BLE_RAND_DI_SIZE); in btsnd_hcic_ble_start_enc()
271 ARRAY_TO_STREAM(pp, ltk.data(), HCIC_BLE_ENCRYPT_KEY_SIZE); in btsnd_hcic_ble_start_enc()
287 ARRAY_TO_STREAM(pp, ltk.data(), HCIC_BLE_ENCRYPT_KEY_SIZE); in btsnd_hcic_ble_ltk_req_reply()
559 ARRAY_TO_STREAM(pp, buf_ptr, 16); in btsnd_hcic_create_big()
599 ARRAY_TO_STREAM(pp, codec_conf.data(), static_cast<int>(codec_conf.size())); in btsnd_hcic_setup_iso_data_path()
Dhcicmds.cc934 if (filt_cond_len) ARRAY_TO_STREAM(pp, filt_cond, filt_cond_len); in btsnd_hcic_set_event_filter()
992 ARRAY_TO_STREAM(pp, name, len); in btsnd_hcic_change_name()
1625 ARRAY_TO_STREAM(pp, vendor_config.data(), size); in btsnd_hcic_configure_data_path()
/packages/modules/Bluetooth/system/bta/le_audio/broadcaster/
Dbroadcaster_types.cc80 ARRAY_TO_STREAM( in EmitCodecConfiguration()
118 ARRAY_TO_STREAM(p_value, vec.data(), name_len); in EmitBroadcastName()
/packages/modules/Bluetooth/system/bta/le_audio/
Dclient_parser.cc343 ARRAY_TO_STREAM(msg, conf.codec_config.data(), in PrepareAseCtpCodecConfig()
425 ARRAY_TO_STREAM(msg, conf.metadata.data(), in PrepareAseCtpEnable()
522 ARRAY_TO_STREAM(msg, conf.metadata.data(), in PrepareAseCtpUpdateMetadata()
Dstorage_helper.cc127 ARRAY_TO_STREAM(ptr, pac.codec_spec_caps_raw.data(), in serializePacs()
135 ARRAY_TO_STREAM(ptr, pac.metadata.data(), (int)pac.metadata.size()); in serializePacs()
Dle_audio_types.h741 ARRAY_TO_STREAM(ptr, value.data(), (int)value.size()); in Add()
748 ARRAY_TO_STREAM(ptr, value.c_str(), (int)value.size()); in Add()
Dle_audio_types.cc442 ARRAY_TO_STREAM(p_buf, value.second.data(), in RawPacket()
/packages/modules/Bluetooth/system/stack/include/
Dbt_types.h127 #define ARRAY_TO_STREAM(p, a, len) \ macro
/packages/modules/Bluetooth/system/stack/gatt/
Dgatt_auth.cc67 ARRAY_TO_STREAM(p, p_attr->value, p_attr->len); in gatt_sign_data()
Dgatt_sr.cc225 ARRAY_TO_STREAM(p, p_rsp->attr_value.value, (uint16_t) len); in build_read_multi_rsp()
644 ARRAY_TO_STREAM(p, attr.uuid.To128BitLE(), (int)Uuid::kNumBytes128); in gatt_build_find_info_rsp()
648 ARRAY_TO_STREAM(p, attr.uuid.To128BitLE(), (int)Uuid::kNumBytes128); in gatt_build_find_info_rsp()
Datt_protocol.cc348 ARRAY_TO_STREAM(p, p_data, len); in attp_build_value_cmd()
Dgatt_db.cc213 ARRAY_TO_STREAM(p, val_attr->uuid.To128BitLE(), (int)Uuid::kNumBytes128); in read_attr_value()
Dgatt_utils.cc565 ARRAY_TO_STREAM(p, uuid.To128BitLE(), (int)Uuid::kNumBytes128); in gatt_build_uuid_to_stream()
568 ARRAY_TO_STREAM(p, uuid.To128BitLE(), (int)Uuid::kNumBytes128); in gatt_build_uuid_to_stream()
Dgatt_attr.cc1124 ARRAY_TO_STREAM(p, db_hash.data(), (uint16_t)db_hash.size()); in gatt_sr_read_db_hash()
Dgatt_api.cc517 ARRAY_TO_STREAM(p, notif.value, notif.len); in GATTS_HandleMultipleValueNotification()
/packages/modules/Bluetooth/system/stack/srvc/
Dsrvc_dis.cc164 ARRAY_TO_STREAM(p, pp, p_value->len); in dis_read_attr_value()
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_ble_privacy.cc539 ARRAY_TO_STREAM(p, p_dev_rec->sec_rec.ble_keys.irk, OCTET16_LEN); in btm_ble_ble_unsupported_resolving_list_load_dev()
/packages/modules/Bluetooth/system/stack/gap/
Dgap_ble.cc157 ARRAY_TO_STREAM(p, p_dev_name, p_value->len); in read_attr_value()
/packages/modules/Bluetooth/system/bta/av/
Dbta_av_aact.cc3117 ARRAY_TO_STREAM(p_param, offload_start->scms_t_enable, in bta_av_vendor_offload_start()
3126 ARRAY_TO_STREAM(p_param, offload_start->codec_info, in bta_av_vendor_offload_start()
3183 ARRAY_TO_STREAM(p_param, vendor_specific_parameters.data(), in bta_av_vendor_offload_start_v2()
/packages/modules/Bluetooth/system/stack/l2cap/
Dl2c_utils.cc996 ARRAY_TO_STREAM(p, p_data, data_len); in l2cu_send_peer_echo_rsp()