Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothDeviceFilter.java103 abstract boolean matches(ParcelUuid[] uuids, BluetoothClass btClass); in matches() argument
113 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { in matches() argument
114 if (uuids != null) { in matches()
115 if (BluetoothUuid.containsAnyUuid(uuids, A2dpProfile.SINK_UUIDS)) { in matches()
118 if (BluetoothUuid.containsAnyUuid(uuids, HeadsetProfile.UUIDS)) { in matches()
134 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { in matches() argument
135 if (uuids != null) { in matches()
136 if (ArrayUtils.contains(uuids, BluetoothUuid.OBEX_OBJECT_PUSH)) { in matches()
148 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { in matches() argument
149 if (uuids != null) { in matches()
[all …]
DLocalBluetoothProfileManager.java569 synchronized void updateProfiles(ParcelUuid[] uuids, ParcelUuid[] localUuids, in updateProfiles() argument
581 if (uuids == null) { in updateProfiles()
589 if (ArrayUtils.contains(uuids, BluetoothUuid.LE_AUDIO) && mLeAudioProfile != null) { in updateProfiles()
596 && ArrayUtils.contains(uuids, BluetoothUuid.HSP)) in updateProfiles()
598 && ArrayUtils.contains(uuids, BluetoothUuid.HFP))) { in updateProfiles()
605 ArrayUtils.contains(uuids, BluetoothUuid.HFP_AG) in updateProfiles()
611 if (BluetoothUuid.containsAnyUuid(uuids, A2dpProfile.SINK_UUIDS) && mA2dpProfile != null) { in updateProfiles()
616 if (BluetoothUuid.containsAnyUuid(uuids, A2dpSinkProfile.SRC_UUIDS) in updateProfiles()
622 if (ArrayUtils.contains(uuids, BluetoothUuid.OBEX_OBJECT_PUSH) && mOppProfile != null) { in updateProfiles()
627 if ((ArrayUtils.contains(uuids, BluetoothUuid.HID) in updateProfiles()
[all …]
DCachedBluetoothDevice.java780 ParcelUuid[] uuids = mDevice.getUuids(); in updateProfiles() local
781 if (uuids == null) return false; in updateProfiles()
795 mProfileManager.updateProfiles(uuids, localUuids, mProfiles, mRemovedProfiles, in updateProfiles()
805 for (ParcelUuid uuid : uuids) { in updateProfiles()
836 ParcelUuid[] uuids = mDevice.getUuids(); in onUuidChanged() local
839 if (ArrayUtils.contains(uuids, BluetoothUuid.HOGP)) { in onUuidChanged()
841 } else if (ArrayUtils.contains(uuids, BluetoothUuid.HEARING_AID)) { in onUuidChanged()
843 } else if (ArrayUtils.contains(uuids, BluetoothUuid.LE_AUDIO)) { in onUuidChanged()
1025 ParcelUuid[] uuids = mDevice.getUuids(); in processPhonebookAccess()
1026 if (BluetoothUuid.containsAnyUuid(uuids, PbapServerProfile.PBAB_CLIENT_UUIDS)) { in processPhonebookAccess()
/frameworks/base/packages/SettingsLib/tests/robotests/testutils/com/android/settingslib/testutils/shadow/
DShadowBluetoothAdapter.java97 public void setUuids(ParcelUuid[] uuids) { in setUuids() argument
98 mParcelUuids = uuids; in setUuids()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DLocalBluetoothProfileManagerTest.java135 ParcelUuid[] uuids = new ParcelUuid[]{BluetoothUuid.HID}; in updateProfiles_addHidProfileForRemoteDevice() local
140 mProfileManager.updateProfiles(uuids, localUuids, profiles, removedProfiles, false, in updateProfiles_addHidProfileForRemoteDevice()
/frameworks/av/drm/mediadrm/plugins/clearkey/aidl/
DDrmFactory.cpp83 schemes.uuids.push_back({uuid}); in getSupportedCryptoSchemes()
/frameworks/av/drm/libmediadrm/
DCryptoHalAidl.cpp156 if (std::count(schemes.uuids.begin(), schemes.uuids.end(), uuidAidl)) { in isCryptoSchemeSupportedInternal()
DDrmHalAidl.cpp421 if (!err.isOk() || !std::count(schemes.uuids.begin(), schemes.uuids.end(), uuidAidl)) { in isCryptoSchemeSupported()
1203 for (auto uuidObj : curSchemes.uuids) { in getSupportedSchemes()
/frameworks/base/media/java/android/media/
DMediaDrm.java255 Set<UUID> uuids = new LinkedHashSet<>(); in getUUIDsFromByteArray() local
257 uuids.add(getUUIDFromByteArray(uuidBytes, off)); in getUUIDsFromByteArray()
259 return new ArrayList<>(uuids); in getUUIDsFromByteArray()
/frameworks/base/services/midi/java/com/android/server/midi/
DMidiService.java662 ParcelUuid[] uuids = btDevice.getUuids(); in isBLEMIDIDevice() local
663 if (uuids != null) { in isBLEMIDIDevice()
664 for (ParcelUuid uuid : uuids) { in isBLEMIDIDevice()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java4651 List<UUID> uuids = MediaDrm.getSupportedCryptoSchemes();
4653 if (!uuids.isEmpty()) {
4654 MediaDrm mediaDrm = new MediaDrm(uuids.get(0));