Home
last modified time | relevance | path

Searched refs:parseBoolean (Results 1 – 17 of 17) sorted by relevance

/libcore/ojluni/src/test/java/lang/Boolean/
DParseBoolean.java38 Assert.assertTrue(Boolean.parseBoolean("TRUE")); in testParseBoolean()
39 Assert.assertTrue(Boolean.parseBoolean("true")); in testParseBoolean()
40 Assert.assertTrue(Boolean.parseBoolean("TrUe")); in testParseBoolean()
42 Assert.assertFalse(Boolean.parseBoolean("false")); in testParseBoolean()
43 Assert.assertFalse(Boolean.parseBoolean("FALSE")); in testParseBoolean()
44 Assert.assertFalse(Boolean.parseBoolean("FaLse")); in testParseBoolean()
45 Assert.assertFalse(Boolean.parseBoolean(null)); in testParseBoolean()
46 Assert.assertFalse(Boolean.parseBoolean("garbage")); in testParseBoolean()
47 Assert.assertFalse(Boolean.parseBoolean("TRUEE")); in testParseBoolean()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DBooleanTest.java134 assertTrue(Boolean.parseBoolean("true")); in test_parseBooleanLjava_lang_String()
135 assertTrue(Boolean.parseBoolean("TRUE")); in test_parseBooleanLjava_lang_String()
136 assertFalse(Boolean.parseBoolean("false")); in test_parseBooleanLjava_lang_String()
137 assertFalse(Boolean.parseBoolean(null)); in test_parseBooleanLjava_lang_String()
138 assertFalse(Boolean.parseBoolean("")); in test_parseBooleanLjava_lang_String()
139 assertFalse(Boolean.parseBoolean("invalid")); in test_parseBooleanLjava_lang_String()
/libcore/ojluni/src/main/java/java/lang/
DBoolean.java134 this(parseBoolean(s)); in Boolean()
152 public static boolean parseBoolean(String s) { in parseBoolean() method in Boolean
198 return parseBoolean(s) ? TRUE : FALSE; in valueOf()
286 result = parseBoolean(System.getProperty(name)); in getBoolean()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DBoolean.java43 public static boolean parseBoolean(java.lang.String s) { in parseBoolean() method in Boolean
/libcore/ojluni/src/main/java/java/io/
DFileSystem.java244 return Boolean.parseBoolean(System.getProperty(prop, in getBooleanProperty()
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DBoolean.annotated.java37 public static boolean parseBoolean(@libcore.util.Nullable java.lang.String s) { throw new RuntimeEx… in parseBoolean() method in Boolean
/libcore/ojluni/src/main/java/sun/misc/
DVM.java309 : Boolean.parseBoolean(s)); in saveAndRemoveProperties()
/libcore/ojluni/src/main/java/jdk/internal/misc/
DVM.java311 : Boolean.parseBoolean(s)); in saveAndRemoveProperties()
/libcore/ojluni/src/main/java/sun/nio/ch/
DNet.java393 enable = Boolean.parseBoolean(loopbackProp);
663 true : Boolean.parseBoolean(exclBindProp);
/libcore/ojluni/src/main/java/java/security/
DSecureRandom.java243 return Boolean.parseBoolean(provider.getProperty( in getThreadSafe()
/libcore/ojluni/src/main/java/java/util/concurrent/
DThreadLocalRandom.java405 if (Boolean.parseBoolean(sec)) {
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DMulticastSocketTest.java91 supportsMulticast = Boolean.parseBoolean( in setUp()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DDatagramChannelMulticastTest.java98 supportsMulticast = Boolean.parseBoolean( in setUp()
/libcore/ojluni/src/main/java/java/util/
DScanner.java1912 return Boolean.parseBoolean(next(boolPattern())); in nextBoolean()
/libcore/ojluni/src/test/java/lang/invoke/
DMethodHandlesTest.java70 CAN_SKIP_WORKING = Boolean.parseBoolean(vstr);
/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/
DAnnotations57649Test.java33 return Boolean.parseBoolean(System.getProperty("android.cts.device.lowram", "false")); in isLowRamDevice()
/libcore/api/
Dcurrent.txt2376 method public static boolean parseBoolean(@Nullable String);