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.java116 ParcelUuid[] uuids = adapter.getUuids(); in LocalBluetoothProfileManager() local
119 if (uuids != null) { in LocalBluetoothProfileManager()
120 updateLocalProfiles(uuids); in LocalBluetoothProfileManager()
157 void updateLocalProfiles(ParcelUuid[] uuids) { in updateLocalProfiles() argument
159 if (BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.AudioSource)) { in updateLocalProfiles()
171 if (BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.AudioSink)) { in updateLocalProfiles()
183 if (BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.Handsfree_AG) || in updateLocalProfiles()
184 BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.HSP_AG)) { in updateLocalProfiles()
197 if (BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.Handsfree)) { in updateLocalProfiles()
213 if (BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.MNS)) { in updateLocalProfiles()
[all …]
DCachedBluetoothDevice.java480 ParcelUuid[] uuids = mDevice.getUuids(); in updateProfiles() local
481 if (uuids == null) return false; in updateProfiles()
491 mProfileManager.updateProfiles(uuids, localUuids, mProfiles, mRemovedProfiles, in updateProfiles()
500 for (ParcelUuid uuid : uuids) { in updateProfiles()
521 ParcelUuid[] uuids = mDevice.getUuids(); in onUuidChanged() local
524 if (BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.Hogp)) { in onUuidChanged()
800 ParcelUuid[] uuids = mDevice.getUuids(); in processPhonebookAccess()
801 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.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.java584 ParcelUuid[] uuids = device.getUuids(); in shouldSendVolumeKeys() local
585 if (uuids == null) return false; in shouldSendVolumeKeys()
587 for (ParcelUuid uuid: uuids) { in shouldSendVolumeKeys()
DBluetoothAdapter.java2437 List<ParcelUuid> uuids = new ArrayList<ParcelUuid>(); in startLeScan()
2439 uuids.add(new ParcelUuid(uuid)); in startLeScan()
2442 if (scanServiceUuids == null || !scanServiceUuids.containsAll(uuids)) { in startLeScan()