Home
last modified time | relevance | path

Searched refs:TypeValueEntry (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothLeAudioContentMetadata.java22 import android.bluetooth.BluetoothUtils.TypeValueEntry;
178 List<TypeValueEntry> entries = BluetoothUtils.parseLengthTypeValueBytes(rawBytes); in fromRawBytes()
185 for (TypeValueEntry entry : entries) { in fromRawBytes()
275 List<TypeValueEntry> entries = new ArrayList<>(); in build()
290 new TypeValueEntry( in build()
305 entries.add(new TypeValueEntry(LANGUAGE_TYPE, languageBytes)); in build()
DBluetoothUtils.java48 public static class TypeValueEntry { class in BluetoothUtils
52 TypeValueEntry(int type, byte[] value) { in TypeValueEntry() method in BluetoothUtils.TypeValueEntry
98 public static List<TypeValueEntry> parseLengthTypeValueBytes(byte[] rawBytes) { in parseLengthTypeValueBytes()
107 List<TypeValueEntry> result = new ArrayList<>(); in parseLengthTypeValueBytes()
143 result.add(new TypeValueEntry(type, value)); in parseLengthTypeValueBytes()
155 public static byte[] serializeTypeValue(List<TypeValueEntry> typeValueEntries) { in serializeTypeValue()
158 for (TypeValueEntry entry : typeValueEntries) { in serializeTypeValue()
186 for (TypeValueEntry entry : typeValueEntries) { in serializeTypeValue()
DBluetoothLeAudioCodecConfigMetadata.java44 import android.bluetooth.BluetoothUtils.TypeValueEntry;
284 List<TypeValueEntry> entries = BluetoothUtils.parseLengthTypeValueBytes(rawBytes); in fromRawBytes()
293 for (TypeValueEntry entry : entries) { in fromRawBytes()
460 List<TypeValueEntry> entries = new ArrayList<>(); in build()
476 new TypeValueEntry( in build()
486 new TypeValueEntry( in build()
493 new TypeValueEntry( in build()
502 new TypeValueEntry( in build()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bass_client/
DBassUtils.java22 import android.bluetooth.BluetoothUtils.TypeValueEntry;
120 List<TypeValueEntry> entries = BluetoothUtils.parseLengthTypeValueBytes(rawBytes); in getBroadcastName()
127 for (TypeValueEntry entry : entries) { in getBroadcastName()