Home
last modified time | relevance | path

Searched refs:arrayContains (Results 1 – 16 of 16) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DPhonePolicy.java259 if (!Utils.arrayContains(uuids, BluetoothUuid.LE_AUDIO)) { in isLeAudioOnlyDevice()
270 if (Utils.arrayContains(uuids, BluetoothUuid.HEARING_AID)) { in isLeAudioOnlyDevice()
276 if (!Utils.arrayContains(uuids, BluetoothUuid.COORDINATED_SET)) { in isLeAudioOnlyDevice()
298 return Utils.arrayContains(uuids, BluetoothUuid.HAS) in shouldEnableHapByDefault()
326 && Utils.arrayContains(uuids, BluetoothUuid.LE_AUDIO) in processInitProfilePriorities()
353 && (Utils.arrayContains(uuids, BluetoothUuid.HID) in processInitProfilePriorities()
354 || Utils.arrayContains(uuids, BluetoothUuid.HOGP) in processInitProfilePriorities()
356 && Utils.arrayContains( in processInitProfilePriorities()
372 (Utils.arrayContains(uuids, BluetoothUuid.HID) in processInitProfilePriorities()
373 && Utils.arrayContains(uuids, BluetoothUuid.HOGP)) in processInitProfilePriorities()
[all …]
DAdapterService.java1683 return (Utils.arrayContains(localDeviceUuids, BluetoothUuid.HSP_AG) in isProfileSupported()
1684 && Utils.arrayContains(remoteDeviceUuids, BluetoothUuid.HSP)) in isProfileSupported()
1685 || (Utils.arrayContains(localDeviceUuids, BluetoothUuid.HFP_AG) in isProfileSupported()
1686 && Utils.arrayContains(remoteDeviceUuids, BluetoothUuid.HFP)); in isProfileSupported()
1689 return Utils.arrayContains(remoteDeviceUuids, BluetoothUuid.HFP_AG) in isProfileSupported()
1690 && Utils.arrayContains(localDeviceUuids, BluetoothUuid.HFP); in isProfileSupported()
1693 return Utils.arrayContains(remoteDeviceUuids, BluetoothUuid.ADV_AUDIO_DIST) in isProfileSupported()
1694 || Utils.arrayContains(remoteDeviceUuids, BluetoothUuid.A2DP_SINK); in isProfileSupported()
1697 return Utils.arrayContains(remoteDeviceUuids, BluetoothUuid.ADV_AUDIO_DIST) in isProfileSupported()
1698 || Utils.arrayContains(remoteDeviceUuids, BluetoothUuid.A2DP_SOURCE); in isProfileSupported()
[all …]
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
DMimeHeader.java109 if (!arrayContains(WRITE_OMIT_FIELDS, field.name)) { in writeToString()
119 if (!arrayContains(WRITE_OMIT_FIELDS, field.name)) { in writeTo()
146 public static final boolean arrayContains(Object[] a, Object o) { in arrayContains() method in MimeHeader
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hid/
DHidHostService.java204 boolean hogpSupported = Utils.arrayContains(uuids, BluetoothUuid.HOGP); in getByteAddress()
207 && Utils.arrayContains(uuids, HidHostService.ANDROID_HEADTRACKER_UUID); in getByteAddress()
225 boolean hidSupported = Utils.arrayContains(uuids, BluetoothUuid.HID); in getByteAddress()
1113 boolean hidSupported = Utils.arrayContains(uuids, BluetoothUuid.HID); in setPreferredTransport()
1114 boolean hogpSupported = Utils.arrayContains(uuids, BluetoothUuid.HOGP); in setPreferredTransport()
1117 && Utils.arrayContains(uuids, HidHostService.ANDROID_HEADTRACKER_UUID); in setPreferredTransport()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bas/
DBatteryService.java183 if (!Utils.arrayContains(featureUuids, BluetoothUuid.BATTERY)) { in connect()
207 || !Utils.arrayContains( in connectIfPossible()
/packages/apps/Nfc/src/com/android/nfc/
DNfcInjector.java225 if (TextUtils.isEmpty(sku) || !Utils.arrayContains(skuList, sku)) { in checkIsSecureNfcCapable()
DUtils.java58 public static <T> boolean arrayContains(@Nullable T[] array, T elem) { in arrayContains() method in Utils
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hearingaid/
DHearingAidService.java249 if (!Utils.arrayContains(featureUuids, BluetoothUuid.HEARING_AID)) { in connect()
408 if (!Utils.arrayContains(featureUuids, BluetoothUuid.HEARING_AID)) { in getDevicesMatchingConnectionStates()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/csip/
DCsipSetCoordinatorService.java265 if (!Utils.arrayContains(featureUuids, BluetoothUuid.COORDINATED_SET)) { in connect()
361 if (!Utils.arrayContains(featureUuids, BluetoothUuid.COORDINATED_SET)) { in getDevicesMatchingConnectionStates()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hap/
DHapClientService.java275 if (!Utils.arrayContains(featureUuids, BluetoothUuid.HAS)) { in getDevicesMatchingConnectionStates()
446 if (!Utils.arrayContains(featureUuids, BluetoothUuid.HAS)) { in connect()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dp/
DA2dpService.java276 if (!Utils.arrayContains(mAdapterService.getRemoteUuids(device), BluetoothUuid.A2DP_SINK)) { in connect()
437 if (!Utils.arrayContains( in getDevicesMatchingConnectionStates()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/vc/
DVolumeControlService.java361 if (!Utils.arrayContains(featureUuids, BluetoothUuid.VOLUME_CONTROL)) { in connect()
460 if (!Utils.arrayContains(featureUuids, BluetoothUuid.VOLUME_CONTROL)) { in getDevicesMatchingConnectionStates()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/
DUtils.java1216 public static <T> boolean arrayContains(@Nullable T[] array, T value) { in arrayContains() method in Utils
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_audio/
DLeAudioService.java726 if (!Utils.arrayContains(featureUuids, BluetoothUuid.LE_AUDIO)) { in connect()
871 if (!Utils.arrayContains(featureUuids, BluetoothUuid.LE_AUDIO)) { in getDevicesMatchingConnectionStates()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java2275 if (!Utils.arrayContains(featureUuids, BluetoothUuid.HFP_AG)) { in getDevicesMatchingConnectionStates()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bass_client/
DBassClientService.java1500 if (!Utils.arrayContains(featureUuids, BluetoothUuid.BASS)) { in getDevicesMatchingConnectionStates()