/libcore/luni/src/test/java/libcore/java/time/ |
InstantTest.java | 35 assertEquals(false, Instant.EPOCH.isSupported((TemporalUnit) null)); 36 assertEquals(true, Instant.EPOCH.isSupported(ChronoUnit.NANOS)); 37 assertEquals(true, Instant.EPOCH.isSupported(ChronoUnit.MICROS)); 38 assertEquals(true, Instant.EPOCH.isSupported(ChronoUnit.MILLIS)); 39 assertEquals(true, Instant.EPOCH.isSupported(ChronoUnit.SECONDS)); 40 assertEquals(true, Instant.EPOCH.isSupported(ChronoUnit.MINUTES)); 41 assertEquals(true, Instant.EPOCH.isSupported(ChronoUnit.HOURS)); 42 assertEquals(true, Instant.EPOCH.isSupported(ChronoUnit.HALF_DAYS)); 43 assertEquals(true, Instant.EPOCH.isSupported(ChronoUnit.DAYS)); 44 assertEquals(false, Instant.EPOCH.isSupported(ChronoUnit.WEEKS)) [all...] |
/libcore/luni/src/test/java/libcore/java/time/chrono/ |
JapaneseChronologyTest.java | 82 assertEquals(false, date.isSupported(ChronoField.ALIGNED_DAY_OF_WEEK_IN_MONTH)); 83 assertEquals(false, date.isSupported(ChronoField.ALIGNED_DAY_OF_WEEK_IN_YEAR)); 84 assertEquals(false, date.isSupported(ChronoField.ALIGNED_WEEK_OF_MONTH)); 85 assertEquals(false, date.isSupported(ChronoField.ALIGNED_WEEK_OF_YEAR)); 86 assertEquals(false, date.isSupported(ChronoField.AMPM_OF_DAY)); 87 assertEquals(false, date.isSupported(ChronoField.CLOCK_HOUR_OF_AMPM)); 88 assertEquals(false, date.isSupported(ChronoField.CLOCK_HOUR_OF_DAY)); 89 assertEquals(true, date.isSupported(ChronoField.DAY_OF_MONTH)); 90 assertEquals(true, date.isSupported(ChronoField.DAY_OF_WEEK)); 91 assertEquals(true, date.isSupported(ChronoField.DAY_OF_YEAR)) [all...] |
/hardware/interfaces/drm/1.0/ |
IDrmFactory.hal | 34 * @return isSupported must be true only if the scheme is supported 36 isCryptoSchemeSupported(uint8_t[16] uuid) generates(bool isSupported); 43 * @return isSupported must be true only if the scheme is supported 45 isContentTypeSupported(string mimeType) generates(bool isSupported);
|
ICryptoFactory.hal | 32 * @return isSupported must be true only if the scheme is supported 34 isCryptoSchemeSupported(uint8_t[16] uuid) generates(bool isSupported);
|
/frameworks/base/core/java/android/hardware/location/ |
IActivityRecognitionHardwareClient.aidl | 32 * @param isSupported whether the platform has hardware support for the feature 35 void onAvailabilityChanged(in boolean isSupported, in IActivityRecognitionHardware instance);
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
AbstractAppIdleTestCase.java | 31 if (!isSupported()) return; 46 if (!isSupported()) return; 57 protected boolean isSupported() throws Exception { 75 if (!isSupported()) return; 102 if (!isSupported()) return; 131 if (!isSupported()) return; 144 if (!isSupported()) return; 153 if (!isSupported()) return; 179 if (!isSupported()) return;
|
AbstractBatterySaverModeTestCase.java | 30 if (!isSupported()) return; 44 if (!isSupported()) return; 54 protected boolean isSupported() throws Exception { 80 if (!isSupported()) return; 114 if (!isSupported()) return; 136 if (!isSupported()) return;
|
AbstractDozeModeTestCase.java | 31 if (!isSupported()) return; 45 if (!isSupported()) return; 55 protected boolean isSupported() throws Exception { 81 if (!isSupported()) return; 100 if (!isSupported()) return; 122 if (!isSupported()) return; 132 if (!isSupported() || isLowRamDevice()) return;
|
DataSaverModeTest.java | 38 if (!isSupported()) return; 53 if (!isSupported()) return; 68 protected boolean isSupported() throws Exception { 73 return mIsDataSaverSupported && super.isSupported(); 94 if (!isSupported()) return; 108 if (!isSupported()) return; 127 if (!isSupported()) return; 162 if (!isSupported()) return; 200 if (!isSupported()) return;
|
MixedModesTest.java | 36 if (!isSupported()) return; 51 if (!isSupported()) return; 61 public boolean isSupported() throws Exception { 74 if (!isSupported()) return; 144 if (!isSupported()) return; 209 if (!isSupported()) { 239 if (!isSupported()) { 265 if (!isSupported()) { 288 if (!isSupported()) {
|
/frameworks/base/location/lib/java/com/android/location/provider/ |
ActivityRecognitionProviderClient.java | 41 boolean isSupported, 50 provider = isSupported ? new ActivityRecognitionProvider(instance) : null; 55 onProviderChanged(isSupported, provider); 70 * @param isSupported whether the platform supports the provider natively 74 boolean isSupported,
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
TCKDayOfWeek.java | 163 // isSupported(TemporalField) 167 assertEquals(DayOfWeek.THURSDAY.isSupported((TemporalField) null), false); 168 assertEquals(DayOfWeek.THURSDAY.isSupported(ChronoField.NANO_OF_SECOND), false); 169 assertEquals(DayOfWeek.THURSDAY.isSupported(ChronoField.NANO_OF_DAY), false); 170 assertEquals(DayOfWeek.THURSDAY.isSupported(ChronoField.MICRO_OF_SECOND), false); 171 assertEquals(DayOfWeek.THURSDAY.isSupported(ChronoField.MICRO_OF_DAY), false); 172 assertEquals(DayOfWeek.THURSDAY.isSupported(ChronoField.MILLI_OF_SECOND), false); 173 assertEquals(DayOfWeek.THURSDAY.isSupported(ChronoField.MILLI_OF_DAY), false); 174 assertEquals(DayOfWeek.THURSDAY.isSupported(ChronoField.SECOND_OF_MINUTE), false); 175 assertEquals(DayOfWeek.THURSDAY.isSupported(ChronoField.SECOND_OF_DAY), false) [all...] |
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
NodeIsSupported.java | 38 * The method "isSupported(feature,version)" Tests whether the DOM 42 * Call the isSupported method on the document element node with a combination 103 success = element.isSupported(featureXML, version); 105 success = element.isSupported(featureXML, version1); 110 success = element.isSupported(featureCore, version); 112 success = element.isSupported(featureCore, version1); 113 success = element.isSupported(featureCore, version2); 138 success = attribute.isSupported(featureXML, version); 140 success = attribute.isSupported(featureXML, version1); 145 success = attribute.isSupported(featureCore, version) [all...] |
IsSupported.java | 12 * The "feature" parameter in the isSupported(feature,version)" method is the 19 * "isSupported(feature,version)" method is invoked with "feature" equal to 28 public final class IsSupported extends DOMTestCase { 63 state = rootNode.isSupported("XXX", "1.0"); 72 state = rootNode.isSupported("XML", "9.0"); 81 state = rootNode.isSupported("xml", "1.0"); 90 state = rootNode.isSupported("core", "2.0"); 99 state = rootNode.isSupported("xml", "2.0"); 108 state = rootNode.isSupported("XML", ""); 117 state = rootNode.isSupported("XML", "1.0") [all...] |
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
MtpDeviceRecord.java | 46 static boolean isSupported(@Nullable int[] supportedList, int code) { 59 if (isSupported(supportedList, MtpConstants.OPERATION_GET_PARTIAL_OBJECT_64)) { 64 isSupported(supportedList, MtpConstants.OPERATION_GET_PARTIAL_OBJECT)) { 71 return isSupported(supportedList, MtpConstants.OPERATION_SEND_OBJECT_INFO) && 72 isSupported(supportedList, MtpConstants.OPERATION_SEND_OBJECT);
|
/frameworks/base/media/java/android/mtp/ |
MtpDeviceInfo.java | 152 return isSupported(mOperationsSupported, code); 161 return isSupported(mEventsSupported, code); 168 private static boolean isSupported(@NonNull int[] set, int code) {
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/ |
OptionalMethodTest.java | 105 public void isSupported() throws Exception { 108 assertTrue(STRING_METHOD_RETURNS_ANY.isSupported(base)); 109 assertTrue(STRING_METHOD_RETURNS_STRING.isSupported(base)); 110 assertFalse(STRING_METHOD_RETURNS_INT.isSupported(base)); 111 assertTrue(VOID_METHOD_RETURNS_ANY.isSupported(base)); 112 assertTrue(VOID_METHOD_RETURNS_VOID.isSupported(base)); 113 assertFalse(SUBCLASS_METHOD_RETURNS_ANY.isSupported(base)); 114 assertFalse(SUBCLASS_METHOD_RETURNS_STRING.isSupported(base)); 115 assertFalse(SUBCLASS_METHOD_RETURNS_INT.isSupported(base)); 116 assertFalse(METHOD_WITH_ARGS_WRONG_PARAMS.isSupported(base)) [all...] |
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/ |
HPRecommendationPlugin.java | 55 boolean isSupported; 59 isSupported = isSupportedDesignjet(printerModel); 61 isSupported = !(modelToUpper.contains(TAG_LATEX) || modelToUpper.contains(TAG_SCITEX)) && !(modelToUpper.contains(TAG_PAGEWIDE) && modelToUpper.contains(TAG_XL)); 63 isSupported = false; 66 return isSupported; 70 boolean isSupported = false; 75 isSupported = true; 79 return isSupported;
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
BlurMaskFilter_Delegate.java | 46 public boolean isSupported() {
|
PaintFlagsDrawFilter_Delegate.java | 46 public boolean isSupported() {
|
/system/core/libnativebridge/tests/ |
DummyNativeBridge.cpp | 51 .isSupported = &native_bridge_isSupported,
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
nodeissupported01.java | 34 * The method "isSupported(feature,version)" Tests whether the DOM implementation 37 * Call the isSupported method on the document element node with a combination of features 87 success = element.isSupported(featureXML, version); 89 success = element.isSupported(featureXML, version1); 94 success = element.isSupported(featureCore, version); 96 success = element.isSupported(featureCore, version1); 97 success = element.isSupported(featureCore, version2);
|
nodeissupported02.java | 34 * The method "isSupported(feature,version)" Tests whether the DOM implementation 37 * Call the isSupported method on a new attribute node with a combination of features 87 success = attribute.isSupported(featureXML, version); 89 success = attribute.isSupported(featureXML, version1); 94 success = attribute.isSupported(featureCore, version); 96 success = attribute.isSupported(featureCore, version1); 97 success = attribute.isSupported(featureCore, version2);
|
/frameworks/base/location/java/android/location/ |
IFusedGeofenceHardware.aidl | 37 boolean isSupported();
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
TemporalAccessor.java | 126 boolean isSupported(TemporalField field); 156 * if (isSupported(field)) { 171 if (isSupported(field)) {
|