Home
last modified time | relevance | path

Searched refs:flag (Results 1 – 23 of 23) sorted by relevance

/libcore/libart/src/main/java/java/lang/reflect/
DAccessibleObject.java60 private boolean flag = false; field in AccessibleObject
66 return flag; in isAccessible()
73 public void setAccessible(boolean flag) { in setAccessible() argument
81 this.flag = flag; in setAccessible()
88 public static void setAccessible(AccessibleObject[] objects, boolean flag) { in setAccessible() argument
90 object.flag = flag; in setAccessible()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLEngineResultStatusTest.java33 boolean flag = false; in test_SSLEngineResultStatus_values()
38 flag = false; in test_SSLEngineResultStatus_values()
41 flag = true; in test_SSLEngineResultStatus_values()
46 assertTrue("Incorrect Status", flag); in test_SSLEngineResultStatus_values()
DSSLServerSocketTest.java86 public void setEnableSessionCreation(boolean flag) { in setEnableSessionCreation() argument
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DCurrencyTest.java235 boolean flag; in test_getSymbolLjava_util_Locale()
241 flag = false; in test_getSymbolLjava_util_Locale()
244 flag = true; in test_getSymbolLjava_util_Locale()
253 + Arrays.toString(euro), flag); in test_getSymbolLjava_util_Locale()
257 flag = false; in test_getSymbolLjava_util_Locale()
260 flag = true; in test_getSymbolLjava_util_Locale()
269 + Arrays.toString(yen), flag); in test_getSymbolLjava_util_Locale()
273 flag = false; in test_getSymbolLjava_util_Locale()
276 flag = true; in test_getSymbolLjava_util_Locale()
285 + Arrays.toString(dollar), flag); in test_getSymbolLjava_util_Locale()
[all …]
DHashtableTest.java793 boolean flag = false; field in HashtableTest.Mock_Hashtable
801 flag = true; in rehash()
806 return flag; in isRehashed()
/libcore/luni/src/test/java/libcore/java/util/
DOldFormattableTest.java27 boolean flag = false; field in OldFormattableTest.Mock_Formattable
40 flag = true; in formatTo()
44 return flag; in isFormatToCalled()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DRuntimeTest.java34 static boolean flag = false; field in RuntimeTest
53 if (flag) in finalize()
100 flag = true; in test_runFinalization()
DSystemTest.java30 static boolean flag = false; field in SystemTest
267 flag = true; in test_runFinalization()
393 flag = false; in setUp()
403 if (flag) in finalize()
/libcore/luni/src/main/java/java/io/
DStreamTokenizer.java222 public void eolIsSignificant(boolean flag) { in eolIsSignificant() argument
223 isEOLSignificant = flag; in eolIsSignificant()
243 public void lowerCaseMode(boolean flag) { in lowerCaseMode() argument
244 forceLowercase = flag; in lowerCaseMode()
578 public void slashSlashComments(boolean flag) { in slashSlashComments() argument
579 slashSlashComments = flag; in slashSlashComments()
591 public void slashStarComments(boolean flag) { in slashStarComments() argument
592 slashStarComments = flag; in slashStarComments()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/provider/crypto/
DSHA1PRNG_SecureRandomTest.java195 boolean flag = true; in testNextBytesbyteArray03()
203 flag &= myBytes1[j] == myBytes2[j]; in testNextBytesbyteArray03()
210 flag &= myBytes1[j] == myBytes2[j]; in testNextBytesbyteArray03()
213 if (flag) { in testNextBytesbyteArray03()
254 boolean flag = true; in testNextBytesbyteArray04()
262 flag &= myBytes1[j] == myBytes2[j]; in testNextBytesbyteArray04()
269 flag &= myBytes1[j] == myBytes2[j]; in testNextBytesbyteArray04()
272 if (flag) { in testNextBytesbyteArray04()
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
DSSLSocketFactoryImpl.java17 public Socket createSocket(Socket socket, String s, int i, boolean flag) in createSocket() argument
29 if (!flag) { in createSocket()
DMySSLContextSpi.java142 public void setEnableSessionCreation(boolean flag) { } in setEnableSessionCreation() argument
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DKeyGeneratorTest.java343 byte flag = 0xF; in testInitKey()
360 flag &= 0xE; in testInitKey()
362 flag &= 0xD; in testInitKey()
367 flag &= 0xB; in testInitKey()
369 flag &= 0x7; in testInitKey()
373 assertTrue(flag == 0); in testInitKey()
DExemptionMechanismTest.java173 static boolean flag = false; field in ExemptionMechanismTest
182 flag = true; in finalize()
192 assertFalse(flag); in test_finalize()
209 assertTrue(flag); in test_finalize()
/libcore/luni/src/main/java/javax/net/ssl/
DSSLServerSocket.java222 public abstract void setEnableSessionCreation(boolean flag); in setEnableSessionCreation() argument
DSSLSocket.java987 public abstract void setEnableSessionCreation(boolean flag); in setEnableSessionCreation() argument
DSSLEngine.java871 public abstract void setEnableSessionCreation(boolean flag); in setEnableSessionCreation() argument
/libcore/luni/src/test/java/libcore/java/text/
DOldNumberFormatFieldTest.java74 static boolean flag = false; field in OldNumberFormatFieldTest.MyNumberFormat
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDecimalFormatSymbolsTest.java68 boolean flag = false; in test_getAvailableLocales_no_provider()
71 flag = true; in test_getAvailableLocales_no_provider()
75 assertTrue(flag); in test_getAvailableLocales_no_provider()
DDateFormatSymbolsTest.java55 boolean flag = false; in test_getAvailableLocales_no_provider()
58 flag = true; in test_getAvailableLocales_no_provider()
62 assertTrue(flag); in test_getAvailableLocales_no_provider()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DMySSLContextSpi.java144 public void setEnableSessionCreation(boolean flag) { } in setEnableSessionCreation() argument
/libcore/luni/src/test/java/libcore/java/util/prefs/
DOldAbstractPreferencesTest.java646 boolean flag = false; in testKeys()
649 flag = true; in testKeys()
654 assertTrue(flag); in testKeys()
/libcore/luni/src/main/java/java/lang/
DSystem.java1065 public static void runFinalizersOnExit(boolean flag) { in runFinalizersOnExit() argument
1066 Runtime.runFinalizersOnExit(flag); in runFinalizersOnExit()