Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothUtils.java37 public static class TypeValueEntry { class in BluetoothUtils
41 TypeValueEntry(int type, byte[] value) { in TypeValueEntry() method in BluetoothUtils.TypeValueEntry
85 public static List<TypeValueEntry> parseLengthTypeValueBytes(byte[] rawBytes) { in parseLengthTypeValueBytes()
94 List<TypeValueEntry> result = new ArrayList<>(); in parseLengthTypeValueBytes()
130 result.add(new TypeValueEntry(type, value)); in parseLengthTypeValueBytes()
142 public static byte[] serializeTypeValue(List<TypeValueEntry> typeValueEntries) { in serializeTypeValue()
145 for (TypeValueEntry entry : typeValueEntries) { in serializeTypeValue()
173 for (TypeValueEntry entry : typeValueEntries) { in serializeTypeValue()
DBluetoothLeAudioContentMetadata.java22 import android.bluetooth.BluetoothUtils.TypeValueEntry;
181 List<TypeValueEntry> entries = BluetoothUtils.parseLengthTypeValueBytes(rawBytes); in fromRawBytes()
188 for (TypeValueEntry entry : entries) { in fromRawBytes()
278 List<TypeValueEntry> entries = new ArrayList<>(); in build()
293 new TypeValueEntry( in build()
308 entries.add(new TypeValueEntry(LANGUAGE_TYPE, languageBytes)); in build()
DBluetoothLeAudioCodecConfigMetadata.java37 import android.bluetooth.BluetoothUtils.TypeValueEntry;
288 List<TypeValueEntry> entries = BluetoothUtils.parseLengthTypeValueBytes(rawBytes); in fromRawBytes()
297 for (TypeValueEntry entry : entries) { in fromRawBytes()
470 List<TypeValueEntry> entries = new ArrayList<>(); in build()
486 new TypeValueEntry( in build()
496 new TypeValueEntry( in build()
503 new TypeValueEntry( in build()
512 new TypeValueEntry( in build()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bass_client/
DBassClientStateMachine.java39 import android.bluetooth.BluetoothUtils.TypeValueEntry;
413 List<TypeValueEntry> entries = BluetoothUtils.parseLengthTypeValueBytes(rawBytes); in checkAndParseBroadcastName()
420 for (TypeValueEntry entry : entries) { in checkAndParseBroadcastName()
DBassClientService.java43 import android.bluetooth.BluetoothUtils.TypeValueEntry;
2183 List<TypeValueEntry> entries = BluetoothUtils.parseLengthTypeValueBytes(rawBytes); in checkAndParseBroadcastName()
2190 for (TypeValueEntry entry : entries) { in checkAndParseBroadcastName()