/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 | 189 assertTrue(pref.getBoolean("BoolValue", false)); in testClear() 193 assertFalse(pref.getBoolean("BoolValue", false)); in testClear() 350 assertTrue(pref.getBoolean("BoolValue", false)); in testPutBoolean() 389 assertFalse(pref.getBoolean("Value", false)); in testGetBoolean() 390 assertTrue(pref.getBoolean("BoolValue", false)); in testGetBoolean() 391 assertFalse(pref.getBoolean("DoubleValue", false)); in testGetBoolean() 394 pref.getBoolean(null, true); in testGetBoolean() 403 pref.getBoolean("DoubleValue", true); in testGetBoolean() 998 assertTrue(pref.getBoolean("BoolValue", false)); in testExportNode() 1019 pref.getBoolean("BoolValue", false); in testExportNode() [all …]
|
D | OldPreferencesTest.java | 84 p.getBoolean(null, false); in testAbstractMethods() 199 pref.getBoolean(null, false); in testGetBoolean() 206 assertFalse(pref.getBoolean("testGetBooleanKey", true)); in testGetBoolean() 207 assertTrue(pref.getBoolean("testGetBooleanKey2", true)); in testGetBoolean() 479 assertFalse(pref.getBoolean("testPutBooleanKey", true)); in testPutBoolean() 998 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/main/java/sun/security/action/ |
D | GetBooleanAction.java | 70 return Boolean.getBoolean(theProp); in run()
|
/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/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/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/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/org/json/ |
D | JSONObjectTest.java | 57 object.getBoolean("foo"); in testEmptyObject() 220 assertEquals(true, object.getBoolean("foo")); in testBooleans() 221 assertEquals(false, object.getBoolean("bar")); in testBooleans() 222 assertEquals(true, object.getBoolean("baz")); in testBooleans() 223 assertEquals(false, object.getBoolean("quux")); in testBooleans() 242 assertEquals(true, object.getBoolean("foo")); in testBooleans() 243 assertEquals(false, object.getBoolean("bar")); in testBooleans() 255 object.getBoolean("foo"); in testCoerceStringToBoolean() 423 assertEquals(true, object.getBoolean("foo")); in testStrings() 450 assertEquals(true, object.getBoolean("foo")); in testStrings()
|
D | SelfUseTest.java | 136 object.getBoolean("foo"); in testObjectGetBoolean() 183 array.getBoolean(0); in testArrayGetType()
|
D | JSONArrayTest.java | 40 array.getBoolean(0); in testEmptyArray() 119 assertEquals(true, other.getBoolean(0)); in testBooleans() 122 assertEquals(false, other.getBoolean(3)); in testBooleans() 130 array.getBoolean(0); in testCoerceStringToBoolean() 271 assertEquals(true, array.getBoolean(0)); in testStrings()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Boolean.java | 251 public static boolean getBoolean(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/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/src/main/java/java/util/prefs/ |
D | Preferences.java | 669 public abstract boolean getBoolean(String key, boolean def); in getBoolean() method in Preferences
|
/libcore/ojluni/src/main/java/java/sql/ |
D | CallableStatement.java | 190 boolean getBoolean(int parameterIndex) throws SQLException; in getBoolean() method 1372 boolean getBoolean(String parameterName) throws SQLException; in getBoolean() method
|
/libcore/ojluni/src/main/java/java/security/ |
D | PKCS12Attribute.java | 276 values[i] = String.valueOf(attrValueSet[i].getBoolean()); in parse()
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
D | Field.java | 349 public native boolean getBoolean(Object obj) in getBoolean() method in Field
|