Home
last modified time | relevance | path

Searched refs:isSupported (Results 1 – 25 of 108) 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/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/media/java/android/mtp/
DMtpDeviceInfo.java168 return isSupported(mOperationsSupported, code); in isOperationSupported()
177 return isSupported(mEventsSupported, code); in isEventSupported()
188 return isSupported(mDevicePropertySupported, code); in isDevicePropertySupported()
195 private static boolean isSupported(@NonNull int[] set, int code) { in isSupported() method in MtpDeviceInfo
/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/apex/media/framework/java/android/media/
DApplicationMediaCapabilities.java412 boolean isSupported = Boolean.parseBoolean(supported); in parseFormatTag()
416 != isSupported) { in parseFormatTag()
423 if (isSupported) { in parseFormatTag()
430 if (isSupported) { in parseFormatTag()
437 if (isSupported) { in parseFormatTag()
444 if (isSupported) { in parseFormatTag()
451 if (isSupported) { in parseFormatTag()
458 if (isSupported) { in parseFormatTag()
465 if (isSupported) { in parseFormatTag()
472 mIsSlowMotionSupported = isSupported; in parseFormatTag()
[all …]
/frameworks/native/services/powermanager/
DPowerHalWrapper.cpp187 bool isSupported = false; in setBoost() local
188 auto isSupportedRet = mHandle->isBoostSupported(boost, &isSupported); in setBoost()
196 mBoostSupportedArray[idx] = isSupported ? HalSupport::ON : HalSupport::OFF; in setBoost()
197 if (!isSupported) { in setBoost()
219 bool isSupported = false; in setMode() local
220 auto isSupportedRet = mHandle->isModeSupported(mode, &isSupported); in setMode()
225 mModeSupportedArray[idx] = isSupported ? HalSupport::ON : HalSupport::OFF; in setMode()
226 if (!isSupported) { in setMode()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/pidfparser/capabilities/
DAudio.java82 String isSupported = parser.getText(); in parse() local
83 if (!TextUtils.isEmpty(isSupported)) { in parse()
84 mSupported = Boolean.parseBoolean(isSupported); in parse()
DVideo.java82 String isSupported = parser.getText(); in parse() local
83 if (!TextUtils.isEmpty(isSupported)) { in parse()
84 mSupported = Boolean.parseBoolean(isSupported); in parse()
/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.cpp51 bool isSupported = false; member
317 formatInfo.isSupported = true; in determineFormat()
327 formatInfo.isSupported = HardwareBitmapUploader::hasFP16Support(); in determineFormat()
328 if (formatInfo.isSupported) { in determineFormat()
340 formatInfo.isSupported = true; in determineFormat()
347 formatInfo.isSupported = usingGL; in determineFormat()
361 if (format.isSupported) { in makeHwCompatible()
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssListenerMultiplexer.java232 public boolean isSupported() { in isSupported() method in GnssListenerMultiplexer
279 if (!isSupported()) { in isActive()
342 if (!isSupported()) { in onRegister()
359 if (!isSupported()) { in onUnregister()
407 if (!isSupported()) { in getServiceState()
DGnssManagerService.java284 if (mGnssStatusProvider.isSupported()) { in dump()
291 if (mGnssMeasurementsProvider.isSupported()) { in dump()
298 if (mGnssNavigationMessageProvider.isSupported()) { in dump()
305 if (mGnssAntennaInfoProvider.isSupported()) { in dump()
/frameworks/native/services/powermanager/benchmarks/
DPowerHalAidlBenchmarks.cpp132 bool isSupported; in BM_PowerHalAidlBenchmarks_isBoostSupported() local
134 runBenchmark(state, 0us, &IPower::isBoostSupported, boost, &isSupported); in BM_PowerHalAidlBenchmarks_isBoostSupported()
138 bool isSupported; in BM_PowerHalAidlBenchmarks_isModeSupported() local
140 runBenchmark(state, 0us, &IPower::isModeSupported, mode, &isSupported); in BM_PowerHalAidlBenchmarks_isModeSupported()
/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/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/core/java/android/hardware/location/
DIActivityRecognitionHardwareClient.aidl36 void onAvailabilityChanged(in boolean isSupported, in IActivityRecognitionHardware instance); in onAvailabilityChanged() argument
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/testing/shadows/
DShadowRecoveryController.java141 public static void setIsSupported(boolean isSupported) { in setIsSupported() argument
142 ShadowRecoveryController.sIsSupported = isSupported; in setIsSupported()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDrm.cpp114 bool isSupported = false; in getSupportedDrmSchemes() local
116 DrmPlugin::kSecurityLevelUnknown, &isSupported); in getSupportedDrmSchemes()
117 if (status == OK && isSupported) { in getSupportedDrmSchemes()
/frameworks/layoutlib/bridge/src/android/graphics/
DBlurMaskFilter_Delegate.java46 public boolean isSupported() { in isSupported() method in BlurMaskFilter_Delegate
DPaintFlagsDrawFilter_Delegate.java46 public boolean isSupported() { in isSupported() method in PaintFlagsDrawFilter_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
/frameworks/base/core/java/com/android/internal/os/
DUsageBasedPowerEstimator.java35 public boolean isSupported() { in isSupported() method in UsageBasedPowerEstimator
/frameworks/base/location/java/android/location/
DIFusedGeofenceHardware.aidl37 boolean isSupported(); in isSupported() method

12345