Searched refs:enabled (Results 1 - 3 of 3) sorted by relevance

/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DMyGuard.java27 final boolean enabled; field in class:MyGuard
30 enabled = state;
34 if (!enabled) {
/libcore/dalvik/src/main/java/dalvik/system/
H A DCloseGuard.java125 * Returns a CloseGuard instance. If CloseGuard is enabled, {@code
139 * warns if it is enabled for both allocation and finalization.
141 public static void setEnabled(boolean enabled) { argument
142 ENABLED = enabled;
166 * If CloseGuard is enabled, {@code open} initializes the instance
172 * whether or not CloseGuard is enabled
198 * If CloseGuard is enabled, logs a warning if the caller did not
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DFormatterTest.java103 private boolean enabled = false; field in class:FormatterTest.MockDestination
106 if (enabled) {
108 enabled = true; // enable it after the first append
116 if (enabled) {
118 enabled = true; // enable it after the first append
127 if (enabled) {
129 enabled = true; // enable it after the first append

Completed in 1743 milliseconds