Home
last modified time | relevance | path

Searched refs:isSupported (Results 1 – 25 of 94) sorted by relevance

1234

/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/
DHPRecommendationPlugin.java55 boolean isSupported; in isPrintSupported()
59 isSupported = isSupportedDesignjet(printerModel); in isPrintSupported()
61isSupported = !(modelToUpper.contains(TAG_LATEX) || modelToUpper.contains(TAG_SCITEX)) && !(modelT… in isPrintSupported()
63 isSupported = false; in isPrintSupported()
66 return isSupported; in isPrintSupported()
70 boolean isSupported = false; in isSupportedDesignjet()
75 isSupported = true; in isSupportedDesignjet()
79 return isSupported; in isSupportedDesignjet()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpDeviceRecord.java46 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()
/frameworks/wilhelm/tests/sandbox/
Dobject.c146 SLboolean isSupported = SL_BOOLEAN_TRUE; in main() local
147 result = (*engineEngine)->IsExtensionSupported(engineEngine, NULL, &isSupported); in main()
149 assert(SL_BOOLEAN_FALSE == isSupported); in main()
153 isSupported = SL_BOOLEAN_TRUE; in main()
154 result = (*engineEngine)->IsExtensionSupported(engineEngine, unsupportedExt, &isSupported); in main()
156 assert(SL_BOOLEAN_FALSE == isSupported); in main()
165 isSupported = SL_BOOLEAN_FALSE; in main()
166 result = (*engineEngine)->IsExtensionSupported(engineEngine, supportedExt, &isSupported); in main()
168 assert(SL_BOOLEAN_TRUE == isSupported); in main()
/frameworks/base/location/lib/java/com/android/location/provider/
DActivityRecognitionProviderClient.java41 boolean isSupported,
50 provider = isSupported ? new ActivityRecognitionProvider(instance) : null;
55 onProviderChanged(isSupported, provider);
74 boolean isSupported, in onProviderChanged() argument
/frameworks/base/media/java/android/mtp/
DMtpDeviceInfo.java152 return isSupported(mOperationsSupported, code); in isOperationSupported()
161 return isSupported(mEventsSupported, code); in isEventSupported()
168 private static boolean isSupported(@NonNull int[] set, int code) { in isSupported() method in MtpDeviceInfo
/frameworks/av/camera/tests/
DCameraCharacteristicsPermission.cpp66 bool isSupported = false; in TEST_F() local
68 hardware::ICameraService::API_VERSION_2, &isSupported); in TEST_F()
70 if (!isSupported) { in TEST_F()
/frameworks/base/libs/hwui/
DHardwareBitmapUploader.cpp48 bool isSupported = false; member
304 formatInfo.isSupported = true; in determineFormat()
313 formatInfo.isSupported = HardwareBitmapUploader::hasFP16Support(); in determineFormat()
314 if (formatInfo.isSupported) { in determineFormat()
326 formatInfo.isSupported = true; in determineFormat()
333 formatInfo.isSupported = usingGL; in determineFormat()
347 if (format.isSupported) { in makeHwCompatible()
/frameworks/opt/net/ike/tests/iketests/src/java/com/android/ike/ikev2/message/
DIkeSaPayloadTest.java209 assertTrue(transform.isSupported); in testDecodeEncryptionTransform()
272 assertTrue(transform.isSupported); in testDecodePrfTransform()
307 assertTrue(transform.isSupported); in testDecodeIntegrityTransform()
323 assertFalse(transform.isSupported); in testDecodeIntegrityTransformWithUnrecognizedAttribute()
358 assertTrue(transform.isSupported); in testDecodeDhGroupTransform()
393 assertTrue(transform.isSupported); in testDecodeEsnTransform()
409 assertFalse(transform.isSupported); in testDecodeEsnTransformWithUnsupportedId()
425 assertFalse(transform.isSupported); in testDecodeEsnTransformWithUnrecognizedAttribute()
485 assertFalse(transform.isSupported); in testDecodeTransformWithUnrecognizedTransformId()
503 assertFalse(transform.isSupported); in testDecodeTransformWithUnrecogniedAttributeType()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pNativeInterfaceManagementTest.java83 when(mHalDeviceManager.isSupported()).thenReturn(true); in setUp()
143 when(mHalDeviceManager.isSupported()).thenReturn(false); in testSetUpInterfaceWithNoVendorHal()
173 when(mHalDeviceManager.isSupported()).thenReturn(false); in testTeardownInterfaceWithNoVendorHal()
/frameworks/base/core/java/android/hardware/location/
DIActivityRecognitionHardwareClient.aidl36 void onAvailabilityChanged(in boolean isSupported, in IActivityRecognitionHardware instance); in onAvailabilityChanged() argument
/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/tests/functional/
DRadioTunerTest.java349 boolean isSupported = mModule.isBackgroundScanningSupported(); in testStartBackgroundScan()
350 assertEquals(isSupported, ret); in testStartBackgroundScan()
405 boolean isSupported = true; in testForcedAnalog()
412 isSupported = false; in testForcedAnalog()
415 if (isSupported) { in testForcedAnalog()
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowRecoveryController.java141 public static void setIsSupported(boolean isSupported) { in setIsSupported() argument
142 ShadowRecoveryController.sIsSupported = isSupported; in setIsSupported()
/frameworks/layoutlib/bridge/src/android/graphics/
DPaintFlagsDrawFilter_Delegate.java46 public boolean isSupported() { in isSupported() method in PaintFlagsDrawFilter_Delegate
DBlurMaskFilter_Delegate.java46 public boolean isSupported() { in isSupported() method in BlurMaskFilter_Delegate
DEmbossMaskFilter_Delegate.java46 public boolean isSupported() { in isSupported() method in EmbossMaskFilter_Delegate
DDrawFilter_Delegate.java53 public abstract boolean isSupported(); in isSupported() method in DrawFilter_Delegate
DMaskFilter_Delegate.java53 public abstract boolean isSupported(); in isSupported() method in MaskFilter_Delegate
DCornerPathEffect_Delegate.java53 public boolean isSupported() { in isSupported() method in CornerPathEffect_Delegate
DComposePathEffect_Delegate.java53 public boolean isSupported() { in isSupported() method in ComposePathEffect_Delegate
DSumPathEffect_Delegate.java53 public boolean isSupported() { in isSupported() method in SumPathEffect_Delegate
DDiscretePathEffect_Delegate.java53 public boolean isSupported() { in isSupported() method in DiscretePathEffect_Delegate
DPathEffect_Delegate.java56 public abstract boolean isSupported(); in isSupported() method in PathEffect_Delegate
DPathDashPathEffect_Delegate.java53 public boolean isSupported() { in isSupported() method in PathDashPathEffect_Delegate
DComposeShader_Delegate.java53 public boolean isSupported() { in isSupported() method in ComposeShader_Delegate
/frameworks/base/location/java/android/location/
DIFusedGeofenceHardware.aidl37 boolean isSupported(); in isSupported() method

1234