Home
last modified time | relevance | path

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

/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.java21 import android.bluetooth.BluetoothUuid;
232 dataLength, BluetoothUuid.UUID_BYTES_16_BIT, serviceUuids); in parseFromBytes()
237 BluetoothUuid.UUID_BYTES_32_BIT, serviceUuids); in parseFromBytes()
242 BluetoothUuid.UUID_BYTES_128_BIT, serviceUuids); in parseFromBytes()
246 BluetoothUuid.UUID_BYTES_16_BIT, serviceSolicitationUuids); in parseFromBytes()
250 BluetoothUuid.UUID_BYTES_32_BIT, serviceSolicitationUuids); in parseFromBytes()
254 BluetoothUuid.UUID_BYTES_128_BIT, serviceSolicitationUuids); in parseFromBytes()
267 int serviceUuidLength = BluetoothUuid.UUID_BYTES_16_BIT; in parseFromBytes()
269 serviceUuidLength = BluetoothUuid.UUID_BYTES_32_BIT; in parseFromBytes()
271 serviceUuidLength = BluetoothUuid.UUID_BYTES_128_BIT; in parseFromBytes()
[all …]
DBluetoothLeAdvertiser.java21 import android.bluetooth.BluetoothUuid;
488 if (BluetoothUuid.is16BitUuid(uuid)) {
490 } else if (BluetoothUuid.is32BitUuid(uuid)) {
498 size += OVERHEAD_BYTES_PER_FIELD + num16BitUuids * BluetoothUuid.UUID_BYTES_16_BIT;
502 size += OVERHEAD_BYTES_PER_FIELD + num32BitUuids * BluetoothUuid.UUID_BYTES_32_BIT;
507 + num128BitUuids * BluetoothUuid.UUID_BYTES_128_BIT;
511 int uuidLen = BluetoothUuid.uuidToBytes(uuid).length;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothDeviceFilter.java21 import android.bluetooth.BluetoothUuid;
114 if (BluetoothUuid.containsAnyUuid(uuids, A2dpProfile.SINK_UUIDS)) { in matches()
117 if (BluetoothUuid.containsAnyUuid(uuids, HeadsetProfile.UUIDS)) { in matches()
135 if (ArrayUtils.contains(uuids, BluetoothUuid.OBEX_OBJECT_PUSH)) { in matches()
149 if (ArrayUtils.contains(uuids, BluetoothUuid.PANU)) { in matches()
163 if (ArrayUtils.contains(uuids, BluetoothUuid.NAP)) { in matches()
DLocalBluetoothProfileManager.java35 import android.bluetooth.BluetoothUuid;
475 if ((ArrayUtils.contains(localUuids, BluetoothUuid.HSP_AG) in updateProfiles()
476 && ArrayUtils.contains(uuids, BluetoothUuid.HSP)) in updateProfiles()
477 || (ArrayUtils.contains(localUuids, BluetoothUuid.HFP_AG) in updateProfiles()
478 && ArrayUtils.contains(uuids, BluetoothUuid.HFP))) { in updateProfiles()
485 ArrayUtils.contains(uuids, BluetoothUuid.HFP_AG) in updateProfiles()
486 && ArrayUtils.contains(localUuids, BluetoothUuid.HFP)) { in updateProfiles()
491 if (BluetoothUuid.containsAnyUuid(uuids, A2dpProfile.SINK_UUIDS) && mA2dpProfile != null) { in updateProfiles()
496 if (BluetoothUuid.containsAnyUuid(uuids, A2dpSinkProfile.SRC_UUIDS) in updateProfiles()
502 if (ArrayUtils.contains(uuids, BluetoothUuid.OBEX_OBJECT_PUSH) && mOppProfile != null) { in updateProfiles()
[all …]
DPbapServerProfile.java26 import android.bluetooth.BluetoothUuid;
51 BluetoothUuid.HSP,
52 BluetoothUuid.HFP,
53 BluetoothUuid.PBAP_PCE
DMapProfile.java27 import android.bluetooth.BluetoothUuid;
50 BluetoothUuid.MAP,
51 BluetoothUuid.MNS,
52 BluetoothUuid.MAS,
DMapClientProfile.java27 import android.bluetooth.BluetoothUuid;
50 BluetoothUuid.MAP,
51 BluetoothUuid.MNS,
52 BluetoothUuid.MAS,
DA2dpSinkProfile.java27 import android.bluetooth.BluetoothUuid;
46 BluetoothUuid.A2DP_SOURCE,
47 BluetoothUuid.ADV_AUDIO_DIST,
DHfpClientProfile.java27 import android.bluetooth.BluetoothUuid;
49 BluetoothUuid.HSP_AG,
50 BluetoothUuid.HFP_AG,
DHeadsetProfile.java28 import android.bluetooth.BluetoothUuid;
52 BluetoothUuid.HSP,
53 BluetoothUuid.HFP,
DSapProfile.java27 import android.bluetooth.BluetoothUuid;
50 BluetoothUuid.SAP,
DPbapClientProfile.java27 import android.bluetooth.BluetoothUuid;
47 BluetoothUuid.PBAP_PSE,
DA2dpProfile.java29 import android.bluetooth.BluetoothUuid;
52 BluetoothUuid.A2DP_SINK,
53 BluetoothUuid.ADV_AUDIO_DIST,
DCachedBluetoothDevice.java24 import android.bluetooth.BluetoothUuid;
600 if (ArrayUtils.contains(uuids, BluetoothUuid.HOGP)) { in onUuidChanged()
602 } else if (ArrayUtils.contains(uuids, BluetoothUuid.HEARING_AID)) { in onUuidChanged()
782 if (BluetoothUuid.containsAnyUuid(uuids, PbapServerProfile.PBAB_CLIENT_UUIDS)) { in processPhonebookAccess()
/frameworks/base/core/java/android/bluetooth/
DBluetoothUuid.java37 public final class BluetoothUuid { class
357 private BluetoothUuid() {} in BluetoothUuid() method in BluetoothUuid
DBluetoothA2dp.java638 if (uuid.equals(BluetoothUuid.AVRCP_TARGET)) { in shouldSendVolumeKeys()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DLocalBluetoothProfileManagerTest.java35 import android.bluetooth.BluetoothUuid;
135 ParcelUuid[] uuids = new ParcelUuid[]{BluetoothUuid.HID}; in updateProfiles_addHidProfileForRemoteDevice()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt10872 Landroid/bluetooth/BluetoothUuid;-><init>()V
10873 Landroid/bluetooth/BluetoothUuid;->AudioSource:Landroid/os/ParcelUuid;
10874 Landroid/bluetooth/BluetoothUuid;->AvrcpController:Landroid/os/ParcelUuid;
10875 Landroid/bluetooth/BluetoothUuid;->AvrcpTarget:Landroid/os/ParcelUuid;
10876 Landroid/bluetooth/BluetoothUuid;->BASE_UUID:Landroid/os/ParcelUuid;
10877 Landroid/bluetooth/BluetoothUuid;->BNEP:Landroid/os/ParcelUuid;
10878 Landroid/bluetooth/BluetoothUuid;->containsAllUuids([Landroid/os/ParcelUuid;[Landroid/os/ParcelUuid…
10879 Landroid/bluetooth/BluetoothUuid;->getServiceIdentifierFromParcelUuid(Landroid/os/ParcelUuid;)I
10880 Landroid/bluetooth/BluetoothUuid;->Handsfree_AG:Landroid/os/ParcelUuid;
10881 Landroid/bluetooth/BluetoothUuid;->HearingAid:Landroid/os/ParcelUuid;
[all …]
Dpreloaded-classes695 android.bluetooth.BluetoothUuid
Dboot-image-profile.txt3241 HSPLandroid/bluetooth/BluetoothUuid;->containsAnyUuid([Landroid/os/ParcelUuid;[Landroid/os/ParcelUu…
3242 HSPLandroid/bluetooth/BluetoothUuid;->isUuidPresent([Landroid/os/ParcelUuid;Landroid/os/ParcelUuid;…
32786 Landroid/bluetooth/BluetoothUuid;
41183 HSPLandroid/bluetooth/BluetoothUuid;->getServiceIdentifierFromParcelUuid(Landroid/os/ParcelUuid;)I
41184 HSPLandroid/bluetooth/BluetoothUuid;->is16BitUuid(Landroid/os/ParcelUuid;)Z
41185 HSPLandroid/bluetooth/BluetoothUuid;->parseUuidFrom([B)Landroid/os/ParcelUuid;
41186 HSPLandroid/bluetooth/BluetoothUuid;->uuidToBytes(Landroid/os/ParcelUuid;)[B
/frameworks/base/api/
Dsystem-current.txt1427 public final class BluetoothUuid {
/frameworks/base/non-updatable-api/
Dsystem-current.txt1427 public final class BluetoothUuid {