/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/ |
D | PhonePolicy.java | 259 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 …]
|
D | AdapterService.java | 1683 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/ |
D | MimeHeader.java | 109 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/ |
D | HidHostService.java | 204 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/ |
D | BatteryService.java | 183 if (!Utils.arrayContains(featureUuids, BluetoothUuid.BATTERY)) { in connect() 207 || !Utils.arrayContains( in connectIfPossible()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | NfcInjector.java | 225 if (TextUtils.isEmpty(sku) || !Utils.arrayContains(skuList, sku)) { in checkIsSecureNfcCapable()
|
D | Utils.java | 58 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/ |
D | HearingAidService.java | 249 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/ |
D | CsipSetCoordinatorService.java | 265 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/ |
D | HapClientService.java | 275 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/ |
D | A2dpService.java | 276 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/ |
D | VolumeControlService.java | 361 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/ |
D | Utils.java | 1216 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/ |
D | LeAudioService.java | 726 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/ |
D | HeadsetClientStateMachine.java | 2275 if (!Utils.arrayContains(featureUuids, BluetoothUuid.HFP_AG)) { in getDevicesMatchingConnectionStates()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bass_client/ |
D | BassClientService.java | 1500 if (!Utils.arrayContains(featureUuids, BluetoothUuid.BASS)) { in getDevicesMatchingConnectionStates()
|