Home
last modified time | relevance | path

Searched refs:enabled (Results 1 – 12 of 12) sorted by relevance

/libcore/luni/src/main/java/android/compat/
DCompatibility.java138 private final Set<Long> enabled; field in Compatibility.ChangeConfig
141 public ChangeConfig(Set<Long> enabled, Set<Long> disabled) { in ChangeConfig() argument
142 this.enabled = Objects.requireNonNull(enabled); in ChangeConfig()
144 if (enabled.contains(null)) { in ChangeConfig()
150 Set<Long> intersection = new HashSet<>(enabled); in ChangeConfig()
159 return enabled.isEmpty() && disabled.isEmpty(); in isEmpty()
172 return toLongArray(enabled); in forceEnabledChangesArray()
180 return Collections.unmodifiableSet(enabled); in forceEnabledSet()
188 return enabled.contains(changeId); in isForceEnabled()
202 return enabled.equals(that.enabled) && in equals()
[all …]
/libcore/test-rules/src/platform_compat/java/libcore/junit/util/
DCoreCompatChangeRule.java68 Set<Long> enabled = new HashSet<>(); in apply() local
75 enabled.addAll(Longs.asList(enableCompatChanges.value())); in apply()
80 ChangeConfig config = new ChangeConfig(enabled, disabled); in apply()
/libcore/dalvik/src/main/java/dalvik/system/
DCloseGuard.java160 public static void setEnabled(boolean enabled) { in setEnabled() argument
161 CloseGuard.stackAndTrackingEnabled = enabled; in setEnabled()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DClassLoader.java204 public void setDefaultAssertionStatus(boolean enabled) { in setDefaultAssertionStatus() argument
208 public void setPackageAssertionStatus(java.lang.String packageName, boolean enabled) { in setPackageAssertionStatus() argument
212 public void setClassAssertionStatus(java.lang.String className, boolean enabled) { in setClassAssertionStatus() argument
/libcore/ojluni/src/main/java/java/lang/
DClassLoader.java1252 public void setDefaultAssertionStatus(boolean enabled) { in setDefaultAssertionStatus() argument
1293 boolean enabled) { in setPackageAssertionStatus() argument
1318 public void setClassAssertionStatus(String className, boolean enabled) { in setClassAssertionStatus() argument
/libcore/tools/docs/crypto/
Dformat_supported_algorithm_table.py202 enabled = sort_by_name(find_by_name(categories, basename + '.Enabled')['algorithms'])
222 enabled_alg = find_by_name(enabled, algorithm['name'])
/libcore/ojluni/src/test/java/time/test/java/time/chrono/
DTestThaiBuddhistChronoImpl.java93 @Test(dataProvider="RangeVersusCalendar", enabled = false)
/libcore/
DNativeCode.bp33 enabled: false,
/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestZoneTextPrinterParser.java132 @Test(enabled = false)
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DFormatterTest.java104 private boolean enabled = false; field in FormatterTest.MockDestination
107 if (enabled) { in append()
109 enabled = true; // enable it after the first append in append()
117 if (enabled) { in append()
119 enabled = true; // enable it after the first append in append()
128 if (enabled) { in append()
130 enabled = true; // enable it after the first append in append()
/libcore/benchmarks/src/benchmarks/regression/
DR.java1576 public static final int enabled = 0; field in R
/libcore/expectations/
Dknownfailures.txt1629 …tring: "The 'namespace-prefix' feature is not supported while the 'namespaces' feature is enabled."