Home
last modified time | relevance | path

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

12345

/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/base/libs/hwui/
DHardwareBitmapUploader.cpp48 bool isSupported = false; member
304 formatInfo.isSupported = true; in determineFormat()
314 formatInfo.isSupported = HardwareBitmapUploader::hasFP16Support(); in determineFormat()
315 if (formatInfo.isSupported) { in determineFormat()
327 formatInfo.isSupported = true; in determineFormat()
334 formatInfo.isSupported = usingGL; in determineFormat()
348 if (format.isSupported) { in makeHwCompatible()
/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()
DCameraZSLTests.cpp173 bool isSupported = false; in TEST_F() local
175 hardware::ICameraService::API_VERSION_1, &isSupported); in TEST_F()
179 if (!isSupported) { in TEST_F()
/frameworks/base/telephony/java/com/android/internal/telephony/euicc/
DIEuiccController.aidl51 void setSupportedCountries(boolean isSupported, in List<String> countriesList); in setSupportedCountries() argument
52 List<String> getSupportedCountries(boolean isSupported); in getSupportedCountries() argument
/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/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/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java166 return mHalDeviceManager.isSupported(); in isHalInterfaceSupported()
177 if (mHalDeviceManager.isSupported()) { in createP2pIface()
253 return mHalDeviceManager.isSupported() in setupInterface()
264 if (mHalDeviceManager.isSupported()) { in teardownInterface()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DFeatureConnectorTest.java151 private void setImsSupportedFeature(boolean isSupported) { in setImsSupportedFeature() argument
152 doReturn(isSupported).when(mPackageManager).hasSystemFeature( in setImsSupportedFeature()
/frameworks/base/core/java/android/hardware/location/
DIActivityRecognitionHardwareClient.aidl36 void onAvailabilityChanged(in boolean isSupported, in IActivityRecognitionHardware instance); in onAvailabilityChanged() argument
/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
DSumPathEffect_Delegate.java53 public boolean isSupported() { in isSupported() method in SumPathEffect_Delegate
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDrm.cpp162 bool isSupported = false; in getSupportedDrmSchemes() local
164 DrmPlugin::kSecurityLevelUnknown, &isSupported); in getSupportedDrmSchemes()
165 if (status == OK && isSupported) { in getSupportedDrmSchemes()
/frameworks/base/location/java/android/location/
DIFusedGeofenceHardware.aidl37 boolean isSupported(); in isSupported() method
/frameworks/native/libs/ui/
DGraphicBufferMapper.cpp167 status_t GraphicBufferMapper::isSupported(uint32_t width, uint32_t height, in isSupported() function in android::GraphicBufferMapper
170 return mMapper->isSupported(width, height, format, layerCount, usage, outSupported); in isSupported()

12345