/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/ |
D | BipTransformationTest.java | 42 Assert.assertTrue(trans.isSupported(BipTransformation.CROP)); in testAddTransformation() 43 Assert.assertFalse(trans.isSupported(BipTransformation.STRETCH)); in testAddTransformation() 44 Assert.assertFalse(trans.isSupported(BipTransformation.FILL)); in testAddTransformation() 48 Assert.assertTrue(trans.isSupported(BipTransformation.CROP)); in testAddTransformation() 49 Assert.assertTrue(trans.isSupported(BipTransformation.STRETCH)); in testAddTransformation() 50 Assert.assertFalse(trans.isSupported(BipTransformation.FILL)); in testAddTransformation() 58 Assert.assertTrue(trans.isSupported(BipTransformation.CROP)); in testAddExistingTransformation() 59 Assert.assertFalse(trans.isSupported(BipTransformation.STRETCH)); in testAddExistingTransformation() 60 Assert.assertFalse(trans.isSupported(BipTransformation.FILL)); in testAddExistingTransformation() 64 Assert.assertTrue(trans.isSupported(BipTransformation.CROP)); in testAddExistingTransformation() [all …]
|
/packages/services/Mtp/src/com/android/mtp/ |
D | MtpDeviceRecord.java | 46 static boolean isSupported(@Nullable int[] supportedList, int code) { in isSupported() method in MtpDeviceRecord 59 if (isSupported(supportedList, MtpConstants.OPERATION_GET_PARTIAL_OBJECT_64)) { in isPartialReadSupported() 64 isSupported(supportedList, MtpConstants.OPERATION_GET_PARTIAL_OBJECT)) { in isPartialReadSupported() 71 return isSupported(supportedList, MtpConstants.OPERATION_SEND_OBJECT_INFO) && in isWritingSupported() 72 isSupported(supportedList, MtpConstants.OPERATION_SEND_OBJECT); in isWritingSupported()
|
/packages/apps/Settings/src/com/android/settings/gestures/ |
D | AssistGestureSettingsPreferenceController.java | 60 final boolean isSupported = mFeatureProvider.isSupported(mContext); in getAvailabilityStatus() 62 final boolean isAvailable = mAssistOnly ? isSupported : isSensorAvailable; in getAvailabilityStatus() 63 Log.d(TAG, "mAssistOnly:" + mAssistOnly + ", isSupported:" + isSupported in getAvailabilityStatus() 127 boolean isEnabled = isAssistGestureEnabled() && mFeatureProvider.isSupported(mContext); in getSummary()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/bip/ |
D | BipTransformation.java | 143 public boolean isSupported(int transformation) { in isSupported() method in BipTransformation 170 if (isSupported(STRETCH)) { in toString() 173 if (isSupported(FILL)) { in toString() 176 if (isSupported(CROP)) { in toString()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeSaPayloadTest.java | 300 assertTrue(transform.isSupported); in testDecodeEncryptionTransform() 362 assertTrue(transform.isSupported); in testDecodePrfTransform() 397 assertTrue(transform.isSupported); in testDecodeIntegrityTransform() 413 assertFalse(transform.isSupported); in testDecodeIntegrityTransformWithUnrecognizedAttribute() 448 assertTrue(transform.isSupported); in testDecodeDhGroupTransform() 483 assertTrue(transform.isSupported); in testDecodeEsnTransform() 499 assertFalse(transform.isSupported); in testDecodeEsnTransformWithUnsupportedId() 515 assertFalse(transform.isSupported); in testDecodeEsnTransformWithUnrecognizedAttribute() 574 assertFalse(transform.isSupported); in testDecodeTransformWithUnrecognizedTransformId() 591 assertFalse(transform.isSupported); in testDecodeTransformWithUnrecogniedAttributeType() [all …]
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | DiagnosticHalService.java | 75 boolean isSupported(int propertyId) { in isSupported() method in DiagnosticHalService.DiagnosticCapabilities 80 return isSupported(VehicleProperty.OBD2_LIVE_FRAME); in isLiveFrameSupported() 84 return isSupported(VehicleProperty.OBD2_FREEZE_FRAME); in isFreezeFrameSupported() 88 return isSupported(VehicleProperty.OBD2_FREEZE_FRAME_INFO); in isFreezeFrameInfoSupported() 92 return isSupported(VehicleProperty.OBD2_FREEZE_FRAME_CLEAR); in isFreezeFrameClearSupported() 96 return isSupported(OBD2_SELECTIVE_FRAME_CLEAR); in isSelectiveClearFreezeFramesSupported()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/ |
D | BasePreferenceControllerTest.java | 120 assertThat(mPreferenceController.isSupported()).isTrue(); in isSupported_availableStatusAvailable_returnsTrue() 127 assertThat(mPreferenceController.isSupported()).isFalse(); in isSupported_availableStatusUnsupported_returnsFalse() 134 assertThat(mPreferenceController.isSupported()).isTrue(); in isSupported_availableStatusDisabledForUser_returnsTrue() 141 assertThat(mPreferenceController.isSupported()).isTrue(); in isSupported_availableStatusDependentSetting_returnsTrue()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/eligibility/ |
D | ProviderEligibilityChecker.java | 55 boolean isSupported = in isEnabledInMetadata() 57 if (!isSupported) { in isEnabledInMetadata() 60 return isSupported; in isEnabledInMetadata()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | FocusManager.java | 111 && isSupported(Parameters.FOCUS_MODE_AUTO, in initializeParameters() 367 if (isSupported(mode, supportedFocusModes)) { in getFocusMode() 374 if (!isSupported(mFocusMode, supportedFocusModes)) { in getFocusMode() 377 if (isSupported(Parameters.FOCUS_MODE_AUTO, in getFocusMode() 483 private static boolean isSupported(String value, List<String> supported) { in isSupported() method in FocusManager
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | AdapterService.java | 837 private boolean isSupported(ParcelUuid[] localDeviceUuids, ParcelUuid[] remoteDeviceUuids, in isSupported() method in AdapterService 958 if (mA2dpService != null && isSupported(localDeviceUuids, remoteDeviceUuids, in connectEnabledProfiles() 964 if (mA2dpSinkService != null && isSupported(localDeviceUuids, remoteDeviceUuids, in connectEnabledProfiles() 970 if (mHeadsetService != null && isSupported(localDeviceUuids, remoteDeviceUuids, in connectEnabledProfiles() 976 if (mHeadsetClientService != null && isSupported(localDeviceUuids, remoteDeviceUuids, in connectEnabledProfiles() 983 if (mMapClientService != null && isSupported(localDeviceUuids, remoteDeviceUuids, in connectEnabledProfiles() 990 if (mHidHostService != null && isSupported(localDeviceUuids, remoteDeviceUuids, in connectEnabledProfiles() 996 if (mPanService != null && isSupported(localDeviceUuids, remoteDeviceUuids, in connectEnabledProfiles() 1002 if (mPbapClientService != null && isSupported(localDeviceUuids, remoteDeviceUuids, in connectEnabledProfiles() 1009 if (mHearingAidService != null && isSupported(localDeviceUuids, remoteDeviceUuids, in connectEnabledProfiles() [all …]
|
/packages/services/Car/service/src/com/android/car/vms/ |
D | VmsLayerAvailability.java | 152 boolean isSupported = true; in addLayerToAvailabilityCalculationLocked() 159 isSupported = false; in addLayerToAvailabilityCalculationLocked() 165 if (isSupported) { in addLayerToAvailabilityCalculationLocked()
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/ |
D | UsbDefaultFragment.java | 187 final boolean isSupported = mUsbBackend.areFunctionsSupported(option); in refresh() 188 pref.setEnabled(isSupported); in refresh() 189 if (isSupported) { in refresh()
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/ |
D | FocusOverlayManager.java | 347 if (!isSupported(focusMode, supportedFocusModes)) { in getFocusMode() 350 if (isSupported(Parameters.FOCUS_MODE_AUTO, parameters.getSupportedFocusModes())) { in getFocusMode() 448 private boolean isSupported(String value, List<String> supported) { in isSupported() method in FocusOverlayManager 458 && isSupported(Parameters.FOCUS_MODE_AUTO, params.getSupportedFocusModes())); in isFocusAreaSupported()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/ |
D | FocusOverlayManager.java | 429 if (!isSupported(mFocusMode, supportedFocusModes)) { in getFocusMode() 432 if (isSupported(Parameters.FOCUS_MODE_AUTO, in getFocusMode() 546 public static boolean isSupported(String value, List<String> supported) { in isSupported() method in FocusOverlayManager 556 && isSupported(Parameters.FOCUS_MODE_AUTO, in isFocusAreaSupported()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | AlwaysOnDisplaySliceTest.java | 123 when(mFeatureProvider.isSupported(mContext)).thenReturn(false); in onNotifyChange_toggleOn_awareNotSupported_enableAoD() 137 when(mFeatureProvider.isSupported(mContext)).thenReturn(true); in onNotifyChange_toggleOn_awareDisabled_enableAoD() 151 when(mFeatureProvider.isSupported(mContext)).thenReturn(true); in onNotifyChange_toggleOn_awareSupported_enableAoD()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeSaPayload.java | 982 public final boolean isSupported; field in IkeSaPayload.Transform 992 this.isSupported = true; in Transform() 999 this.isSupported = in Transform() 1169 if (!isSupported) { in EncryptionTransform() 1300 if (isSupported) { in toString() 1380 if (isSupported) { in toString() 1461 if (isSupported) { in toString() 1542 if (isSupported) { in toString()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ims/ |
D | MockVolteQueryImsState.java | 55 public void setEnabledByPlatform(boolean isSupported) { in setEnabledByPlatform() argument 56 mIsSupported = isSupported; in setEnabledByPlatform()
|
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/zenaccess/ |
D | ZenAccessSettingObserverMixin.java | 56 if (!ZenAccessController.isSupported(mContext.getSystemService(ActivityManager.class))) { in onStart() 72 if (!ZenAccessController.isSupported(mContext.getSystemService(ActivityManager.class))) { in onStop()
|
D | ZenAccessController.java | 52 return isSupported(mActivityManager) ? AVAILABLE : UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus() 55 public static boolean isSupported(ActivityManager activityManager) { in isSupported() method in ZenAccessController
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/specialaccess/zenaccess/ |
D | ZenAccessSettingObserverMixin.java | 56 if (!ZenAccessController.isSupported(mContext.getSystemService(ActivityManager.class))) { in onStart() 72 if (!ZenAccessController.isSupported(mContext.getSystemService(ActivityManager.class))) { in onStop()
|
D | ZenAccessController.java | 52 return isSupported(mActivityManager) in getAvailabilityStatus() 57 public static boolean isSupported(ActivityManager activityManager) { in isSupported() method in ZenAccessController
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/gestures/ |
D | AssistGestureSettingsPreferenceController.java | 58 final boolean isAvailable = mAssistOnly ? mFeatureProvider.isSupported(mContext) in getAvailabilityStatus() 122 boolean isEnabled = isAssistGestureEnabled() && mFeatureProvider.isSupported(mContext); in getSummary()
|
/packages/modules/NetworkStack/apishim/30/com/android/networkstack/apishim/api30/ |
D | CaptivePortalDataShimImpl.java | 54 if (!isSupported()) { in fromJson() 76 public static boolean isSupported() { in isSupported() method in CaptivePortalDataShimImpl
|
/packages/services/BuiltInPrintService/src/com/android/bips/jni/ |
D | LocalPrinterCapabilities.java | 46 public boolean isSupported; field in LocalPrinterCapabilities 123 + " isSupported=" + isSupported in toString()
|
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/ |
D | ManualDiscovery.java | 216 if (capabilities.isSupported) { in handleCapabilities() 222 mFinalCallback.onFound(resolvedPrinter, capabilities.isSupported); in handleCapabilities()
|