Home
last modified time | relevance | path

Searched refs:uuids (Results 1 – 8 of 8) 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.java124 ParcelUuid[] uuids = adapter.getUuids(); in LocalBluetoothProfileManager() local
127 if (uuids != null) { in LocalBluetoothProfileManager()
128 updateLocalProfiles(uuids); in LocalBluetoothProfileManager()
179 void updateLocalProfiles(ParcelUuid[] uuids) { in updateLocalProfiles() argument
181 if (BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.AudioSource)) { in updateLocalProfiles()
193 if (BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.AudioSink)) { in updateLocalProfiles()
205 if (BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.Handsfree_AG) || in updateLocalProfiles()
206 BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.HSP_AG)) { in updateLocalProfiles()
221 if (BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.Handsfree)) { in updateLocalProfiles()
239 if (BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.MNS)) { in updateLocalProfiles()
[all …]
DCachedBluetoothDevice.java618 ParcelUuid[] uuids = mDevice.getUuids(); in updateProfiles() local
619 if (uuids == null) return false; in updateProfiles()
629 mProfileManager.updateProfiles(uuids, localUuids, mProfiles, mRemovedProfiles, in updateProfiles()
638 for (ParcelUuid uuid : uuids) { in updateProfiles()
674 ParcelUuid[] uuids = mDevice.getUuids(); in onUuidChanged() local
677 if (BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.Hogp)) { in onUuidChanged()
953 ParcelUuid[] uuids = mDevice.getUuids(); in processPhonebookAccess()
954 if (BluetoothUuid.containsAnyUuid(uuids, PbapServerProfile.PBAB_CLIENT_UUIDS)) { in processPhonebookAccess()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DLocalBluetoothProfileManagerTest.java103 ParcelUuid[] uuids = mAdapter.getUuids(); in updateLocalProfiles_addA2dpToLocalProfiles() local
104 mProfileManager.updateLocalProfiles(uuids); in updateLocalProfiles_addA2dpToLocalProfiles()
117 ParcelUuid[] uuids = new ParcelUuid[]{BluetoothUuid.Hid}; in updateProfiles_addHidProfileForRemoteDevice() local
122 mProfileManager.updateProfiles(uuids, localUuids, profiles, removedProfiles, false, in updateProfiles_addHidProfileForRemoteDevice()
/frameworks/base/core/java/android/bluetooth/le/
DAdvertiseData.java172 ArrayList<ParcelUuid> uuids = in.createTypedArrayList(ParcelUuid.CREATOR);
173 for (ParcelUuid uuid : uuids) {
DScanFilter.java331 List<ParcelUuid> uuids) { in matchesServiceUuids() argument
335 if (uuids == null) { in matchesServiceUuids()
339 for (ParcelUuid parcelUuid : uuids) { in matchesServiceUuids()
/frameworks/base/core/java/android/bluetooth/
DBluetoothA2dp.java654 ParcelUuid[] uuids = device.getUuids(); in shouldSendVolumeKeys() local
655 if (uuids == null) return false; in shouldSendVolumeKeys()
657 for (ParcelUuid uuid : uuids) { in shouldSendVolumeKeys()
DBluetoothAdapter.java2721 List<ParcelUuid> uuids = new ArrayList<ParcelUuid>(); in startLeScan()
2723 uuids.add(new ParcelUuid(uuid)); in startLeScan()
2726 if (scanServiceUuids == null || !scanServiceUuids.containsAll(uuids)) { in startLeScan()