Home
last modified time | relevance | path

Searched refs:BluetoothUuid (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBluetoothUtil.java29 import android.bluetooth.BluetoothUuid;
54 if (BluetoothUuid.AudioSink.equals(uuid)) return "AudioSink"; in uuidToString()
55 if (BluetoothUuid.AudioSource.equals(uuid)) return "AudioSource"; in uuidToString()
56 if (BluetoothUuid.AdvAudioDist.equals(uuid)) return "AdvAudioDist"; in uuidToString()
57 if (BluetoothUuid.HSP.equals(uuid)) return "HSP"; in uuidToString()
58 if (BluetoothUuid.HSP_AG.equals(uuid)) return "HSP_AG"; in uuidToString()
59 if (BluetoothUuid.Handsfree.equals(uuid)) return "Handsfree"; in uuidToString()
60 if (BluetoothUuid.Handsfree_AG.equals(uuid)) return "Handsfree_AG"; in uuidToString()
61 if (BluetoothUuid.AvrcpController.equals(uuid)) return "AvrcpController"; in uuidToString()
62 if (BluetoothUuid.AvrcpTarget.equals(uuid)) return "AvrcpTarget"; in uuidToString()
[all …]
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothUuidTest.java37 BluetoothUuid.parseUuidFrom(uuid16)); in testUuidParser()
42 BluetoothUuid.parseUuidFrom(uuid32)); in testUuidParser()
48 BluetoothUuid.parseUuidFrom(uuid128)); in testUuidParser()
53 assertTrue(BluetoothUuid.is16BitUuid( in testUuidType()
55 assertFalse(BluetoothUuid.is32BitUuid( in testUuidType()
58 assertFalse(BluetoothUuid.is16BitUuid( in testUuidType()
60 assertTrue(BluetoothUuid.is32BitUuid( in testUuidType()
62 assertFalse(BluetoothUuid.is32BitUuid( in testUuidType()
/frameworks/base/core/java/android/bluetooth/le/
DScanRecord.java20 import android.bluetooth.BluetoothUuid;
207 dataLength, BluetoothUuid.UUID_BYTES_16_BIT, serviceUuids); in parseFromBytes()
212 BluetoothUuid.UUID_BYTES_32_BIT, serviceUuids); in parseFromBytes()
217 BluetoothUuid.UUID_BYTES_128_BIT, serviceUuids); in parseFromBytes()
230 int serviceUuidLength = BluetoothUuid.UUID_BYTES_16_BIT; in parseFromBytes()
233 ParcelUuid serviceDataUuid = BluetoothUuid.parseUuidFrom( in parseFromBytes()
282 serviceUuids.add(BluetoothUuid.parseUuidFrom(uuidBytes)); in parseServiceUuid()
DBluetoothLeAdvertiser.java22 import android.bluetooth.BluetoothUuid;
184 if (BluetoothUuid.is16BitUuid(uuid)) { in totalBytes()
186 } else if (BluetoothUuid.is32BitUuid(uuid)) { in totalBytes()
195 num16BitUuids * BluetoothUuid.UUID_BYTES_16_BIT; in totalBytes()
200 num32BitUuids * BluetoothUuid.UUID_BYTES_32_BIT; in totalBytes()
205 num128BitUuids * BluetoothUuid.UUID_BYTES_128_BIT; in totalBytes()
/frameworks/base/core/java/android/bluetooth/
DBluetoothUuid.java31 public final class BluetoothUuid { class
DBluetoothA2dp.java489 if (BluetoothUuid.isAvrcpTarget(uuid)) { in shouldSendVolumeKeys()
/frameworks/base/
Dpreloaded-classes419 android.bluetooth.BluetoothUuid