Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothDeviceFilter.java100 abstract boolean matches(ParcelUuid[] uuids, BluetoothClass btClass); in matches() argument
110 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { in matches() argument
111 if (uuids != null) { in matches()
112 if (BluetoothUuid.containsAnyUuid(uuids, A2dpProfile.SINK_UUIDS)) { in matches()
115 if (BluetoothUuid.containsAnyUuid(uuids, HeadsetProfile.UUIDS)) { in matches()
131 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { in matches() argument
132 if (uuids != null) { in matches()
133 if (BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.ObexObjectPush)) { in matches()
145 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { in matches() argument
146 if (uuids != null) { in matches()
[all …]
DLocalBluetoothProfileManager.java102 ParcelUuid[] uuids = adapter.getUuids(); in LocalBluetoothProfileManager() local
105 if (uuids != null) { in LocalBluetoothProfileManager()
106 updateLocalProfiles(uuids); in LocalBluetoothProfileManager()
138 void updateLocalProfiles(ParcelUuid[] uuids) { in updateLocalProfiles() argument
140 if (BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.AudioSource)) { in updateLocalProfiles()
152 if (BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.Handsfree_AG) || in updateLocalProfiles()
153 BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.HSP_AG)) { in updateLocalProfiles()
166 if (BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.ObexObjectPush)) { in updateLocalProfiles()
203 ParcelUuid[] uuids = mLocalAdapter.getUuids(); in setBluetoothStateOn() local
204 if (uuids != null) { in setBluetoothStateOn()
[all …]
DCachedBluetoothDevice.java484 ParcelUuid[] uuids = mDevice.getUuids(); in updateProfiles() local
485 if (uuids == null) return false; in updateProfiles()
495 mProfileManager.updateProfiles(uuids, localUuids, mProfiles, mRemovedProfiles, in updateProfiles()
504 for (ParcelUuid uuid : uuids) { in updateProfiles()
525 ParcelUuid[] uuids = mDevice.getUuids(); in onUuidChanged() local
528 if (BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.Hogp)) { in onUuidChanged()
806 ParcelUuid[] uuids = mDevice.getUuids(); in processPhonebookAccess()
807 if (BluetoothUuid.containsAnyUuid(uuids, PbapServerProfile.PBAB_CLIENT_UUIDS)) { in processPhonebookAccess()
/frameworks/base/core/java/android/bluetooth/le/
DAdvertiseData.java186 List<ParcelUuid> uuids = in.readArrayList(ParcelUuid.class.getClassLoader());
187 if (uuids != null) {
188 for (ParcelUuid uuid : uuids) {
DScanFilter.java323 List<ParcelUuid> uuids) { in matchesServiceUuids() argument
327 if (uuids == null) { in matchesServiceUuids()
331 for (ParcelUuid parcelUuid : uuids) { in matchesServiceUuids()
/frameworks/base/core/java/android/bluetooth/
DBluetoothA2dp.java497 ParcelUuid[] uuids = device.getUuids(); in shouldSendVolumeKeys() local
498 if (uuids == null) return false; in shouldSendVolumeKeys()
500 for (ParcelUuid uuid: uuids) { in shouldSendVolumeKeys()
DBluetoothAdapter.java2205 List<ParcelUuid> uuids = new ArrayList<ParcelUuid>(); in startLeScan()
2207 uuids.add(new ParcelUuid(uuid)); in startLeScan()
2210 if (scanServiceUuids == null || !scanServiceUuids.containsAll(uuids)) { in startLeScan()