/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | ArrayTest.java | 45 assertEquals(booleans[0], Array.getBoolean(booleans, 0)); in testGetBoolean() 46 try { Array.getBoolean(bytes, 0); fail(); } catch (IllegalArgumentException expected) {} in testGetBoolean() 47 try { Array.getBoolean(chars, 0); fail(); } catch (IllegalArgumentException expected) {} in testGetBoolean() 48 try { Array.getBoolean(doubles, 0); fail(); } catch (IllegalArgumentException expected) {} in testGetBoolean() 49 try { Array.getBoolean(floats, 0); fail(); } catch (IllegalArgumentException expected) {} in testGetBoolean() 50 try { Array.getBoolean(ints, 0); fail(); } catch (IllegalArgumentException expected) {} in testGetBoolean() 51 try { Array.getBoolean(longs, 0); fail(); } catch (IllegalArgumentException expected) {} in testGetBoolean() 52 try { Array.getBoolean(shorts, 0); fail(); } catch (IllegalArgumentException expected) {} in testGetBoolean() 53 try { Array.getBoolean(null, 0); fail(); } catch (NullPointerException expected) {} in testGetBoolean()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | BooleanTest.java | 77 assertTrue(Boolean.getBoolean(getClass().getName())); in test_getBooleanLjava_lang_String() 80 assertTrue(Boolean.getBoolean(getClass().getName())); in test_getBooleanLjava_lang_String() 83 assertFalse(Boolean.getBoolean(getClass().getName())); in test_getBooleanLjava_lang_String()
|
/libcore/luni/src/test/java/libcore/java/util/prefs/ |
D | OldAbstractPreferencesTest.java | 190 assertTrue(pref.getBoolean("BoolValue", false)); in testClear() 194 assertFalse(pref.getBoolean("BoolValue", false)); in testClear() 351 assertTrue(pref.getBoolean("BoolValue", false)); in testPutBoolean() 390 assertFalse(pref.getBoolean("Value", false)); in testGetBoolean() 391 assertTrue(pref.getBoolean("BoolValue", false)); in testGetBoolean() 392 assertFalse(pref.getBoolean("DoubleValue", false)); in testGetBoolean() 395 pref.getBoolean(null, true); in testGetBoolean() 404 pref.getBoolean("DoubleValue", true); in testGetBoolean() 999 assertTrue(pref.getBoolean("BoolValue", false)); in testExportNode() 1020 pref.getBoolean("BoolValue", false); in testExportNode() [all …]
|
D | OldPreferencesTest.java | 85 p.getBoolean(null, false); in testAbstractMethods() 200 pref.getBoolean(null, false); in testGetBoolean() 207 assertFalse(pref.getBoolean("testGetBooleanKey", true)); in testGetBoolean() 208 assertTrue(pref.getBoolean("testGetBooleanKey2", true)); in testGetBoolean() 480 assertFalse(pref.getBoolean("testPutBooleanKey", true)); in testPutBoolean() 999 public boolean getBoolean(String key, boolean deflt) { in getBoolean() method in OldPreferencesTest.MockPreferences
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | LambdaTestMode.java | 54 Boolean.getBoolean("org.openjdk.java.util.stream.sand.mode");
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | LambdaTestMode.java | 54 Boolean.getBoolean("org.openjdk.java.util.stream.sand.mode");
|
/libcore/ojluni/src/main/java/sun/security/action/ |
D | GetBooleanAction.java | 70 return Boolean.getBoolean(theProp); in run()
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | IssuingDistributionPointExtension.java | 200 hasOnlyUserCerts = opt.getBoolean(); in IssuingDistributionPointExtension() 204 hasOnlyCACerts = opt.getBoolean(); in IssuingDistributionPointExtension() 211 isIndirectCRL = opt.getBoolean(); in IssuingDistributionPointExtension() 215 hasOnlyAttributeCerts = opt.getBoolean(); in IssuingDistributionPointExtension()
|
D | Extension.java | 85 critical = val.getBoolean(); in Extension()
|
D | BasicConstraintsExtension.java | 144 this.ca = opt.getBoolean(); in BasicConstraintsExtension()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Tripwire.java | 53 (PrivilegedAction<Boolean>) () -> Boolean.getBoolean(TRIPWIRE_PROPERTY));
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | Tripwire.java | 53 (PrivilegedAction<Boolean>) () -> Boolean.getBoolean(TRIPWIRE_PROPERTY));
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | ArrayTest.java | 103 ret = Array.getBoolean(x, 0); in test_getBooleanLjava_lang_ObjectI() 109 ret = Array.getBoolean(new Object(), 0); in test_getBooleanLjava_lang_ObjectI() 119 ret = Array.getBoolean(x, 4); in test_getBooleanLjava_lang_ObjectI() 129 ret = Array.getBoolean(null, 0); in test_getBooleanLjava_lang_ObjectI() 633 assertTrue("Failed to set correct value", Array.getBoolean(x, 0)); in test_setBooleanLjava_lang_ObjectIZ()
|
D | FieldTest.java | 254 res = new Boolean(f.getBoolean(o)); in getField() 563 val = f.getBoolean(x); in test_getBooleanLjava_lang_Object() 572 f.getBoolean(x); in test_getBooleanLjava_lang_Object() 585 f.getBoolean(null); in test_getBooleanLjava_lang_Object() 598 boolean staticValue = f.getBoolean(null); in test_getBooleanLjava_lang_Object() 1122 val = f.getBoolean(x); in test_setBooleanLjava_lang_ObjectZ() 1155 val = f.getBoolean(x); in test_setBooleanLjava_lang_ObjectZ()
|
/libcore/json/src/test/java/libcore/org/json/ |
D | JSONObjectTest.java | 62 object.getBoolean("foo"); in testEmptyObject() 225 assertEquals(true, object.getBoolean("foo")); in testBooleans() 226 assertEquals(false, object.getBoolean("bar")); in testBooleans() 227 assertEquals(true, object.getBoolean("baz")); in testBooleans() 228 assertEquals(false, object.getBoolean("quux")); in testBooleans() 247 assertEquals(true, object.getBoolean("foo")); in testBooleans() 248 assertEquals(false, object.getBoolean("bar")); in testBooleans() 260 object.getBoolean("foo"); in testCoerceStringToBoolean() 428 assertEquals(true, object.getBoolean("foo")); in testStrings() 455 assertEquals(true, object.getBoolean("foo")); in testStrings()
|
D | JSONArrayTest.java | 45 array.getBoolean(0); in testEmptyArray() 124 assertEquals(true, other.getBoolean(0)); in testBooleans() 127 assertEquals(false, other.getBoolean(3)); in testBooleans() 135 array.getBoolean(0); in testCoerceStringToBoolean() 276 assertEquals(true, array.getBoolean(0)); in testStrings()
|
D | SelfUseTest.java | 141 object.getBoolean("foo"); in testObjectGetBoolean() 188 array.getBoolean(0); in testArrayGetType()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Boolean.java | 251 public static boolean getBoolean(String name) { in getBoolean() method in Boolean
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | Boolean.java | 79 public static boolean getBoolean(java.lang.String name) { in getBoolean() method in Boolean
|
/libcore/ojluni/src/main/java/sun/net/ |
D | NetProperties.java | 140 static public Boolean getBoolean(String key) { in getBoolean() method in NetProperties
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Boolean.annotated.java | 55 public static boolean getBoolean(@libcore.util.NonNull java.lang.String name) { throw new RuntimeEx… in getBoolean() method in Boolean
|
/libcore/ojluni/src/main/java/java/io/ |
D | Bits.java | 39 static boolean getBoolean(byte[] b, int off) { in getBoolean() method in Bits
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/ |
D | AbstractPreferencesTest.java | 248 pref.getBoolean(null, false); in testGetBoolean() 255 assertFalse(pref.getBoolean("testGetBooleanKey", true)); in testGetBoolean() 256 assertTrue(pref.getBoolean("testGetBooleanKey2", true)); in testGetBoolean() 638 assertFalse(pref.getBoolean("testPutBooleanKey", true)); in testPutBoolean() 1064 p.getBoolean("key", true); in testBackingStoreException() 1185 p.getBoolean("key", true); in testRuntimeException() 1288 p.getBoolean("key", true); in testSPIReturnNull() 1419 pref.getBoolean("key", true); in testIllegalStateException() 1575 p.getBoolean(null, true); in testNullAndIllegalStateException()
|
/libcore/ojluni/annotations/mmodule/sun/misc/ |
D | Unsafe.annotated.java | 58 public native boolean getBoolean(Object obj, long offset); in getBoolean() method in Unsafe
|
/libcore/ojluni/src/main/java/java/sql/ |
D | CallableStatement.java | 190 boolean getBoolean(int parameterIndex) throws SQLException; in getBoolean() method 1373 boolean getBoolean(String parameterName) throws SQLException; in getBoolean() method
|