Home
last modified time | relevance | path

Searched refs:setBoolean (Results 1 – 15 of 15) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/reflect/
DArrayTest.java141 Array.setBoolean(booleans, 0, booleans[0]); in testSetBoolean()
142 try { Array.setBoolean(bytes, 0, true); fail(); } catch (IllegalArgumentException expected) {} in testSetBoolean()
143 try { Array.setBoolean(chars, 0, true); fail(); } catch (IllegalArgumentException expected) {} in testSetBoolean()
144 try { Array.setBoolean(doubles, 0, true); fail(); } catch (IllegalArgumentException expected) {} in testSetBoolean()
145 try { Array.setBoolean(floats, 0, true); fail(); } catch (IllegalArgumentException expected) {} in testSetBoolean()
146 try { Array.setBoolean(ints, 0, true); fail(); } catch (IllegalArgumentException expected) {} in testSetBoolean()
147 try { Array.setBoolean(longs, 0, true); fail(); } catch (IllegalArgumentException expected) {} in testSetBoolean()
148 try { Array.setBoolean(shorts, 0, true); fail(); } catch (IllegalArgumentException expected) {} in testSetBoolean()
149 try { Array.setBoolean(null, 0, true); fail(); } catch (NullPointerException expected) {} in testSetBoolean()
/libcore/benchmarks/src/benchmarks/
DReferenceGetBenchmark.java33 intrinsicDisabledField.setBoolean(null, intrinsicDisabled); in setUp()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DArrayTest.java629 Array.setBoolean(x, 0, true); in test_setBooleanLjava_lang_ObjectIZ()
635 Array.setBoolean(new Object(), 0, false); in test_setBooleanLjava_lang_ObjectIZ()
645 Array.setBoolean(x, 4, false); in test_setBooleanLjava_lang_ObjectIZ()
656 Array.setBoolean(null, 0, true); in test_setBooleanLjava_lang_ObjectIZ()
DFieldTest.java301 f.setBoolean(o, ((Boolean) value).booleanValue()); in setField()
1121 f.setBoolean(x, false); in test_setBooleanLjava_lang_ObjectZ()
1132 f.setBoolean(x, false); in test_setBooleanLjava_lang_ObjectZ()
1143 f.setBoolean(null, true); in test_setBooleanLjava_lang_ObjectZ()
1154 f.setBoolean(null, false); in test_setBooleanLjava_lang_ObjectZ()
/libcore/ojluni/src/main/java/javax/sql/
DRowSet.java548 void setBoolean(int parameterIndex, boolean x) throws SQLException; in setBoolean() method
564 void setBoolean(String parameterName, boolean x) throws SQLException; in setBoolean() method
/libcore/ojluni/src/main/java/java/lang/reflect/
DArray.java485 setBoolean(array, index, ((Boolean) value).booleanValue()); in set()
523 public static void setBoolean(Object array, int index, boolean z) in setBoolean() method in Array
DField.java678 public native void setBoolean(Object obj, boolean z) in setBoolean() method in Field
/libcore/luni/src/test/java/libcore/java/lang/invoke/
DMethodHandleAccessorsTest.java392 static void setBoolean(MethodHandle m, ValueHolder v, boolean value, boolean expectFailure) in setBoolean() method in MethodHandleAccessorsTest
409 static void setBoolean(MethodHandle m, boolean value, boolean expectFailure) in setBoolean() method in MethodHandleAccessorsTest
411 setBoolean(m, null, value, expectFailure); in setBoolean()
446 setBoolean(methodHandle, valueHolder, booleanValue, in tryAccessor()
448 setBoolean(methodHandle, booleanValue, in tryAccessor()
/libcore/ojluni/src/main/java/java/sql/
DPreparedStatement.java130 void setBoolean(int parameterIndex, boolean x) throws SQLException; in setBoolean() method
DCallableStatement.java814 void setBoolean(String parameterName, boolean x) throws SQLException; in setBoolean() method
/libcore/ojluni/annotations/hiddenapi/java/lang/reflect/
DField.java121 public native void setBoolean(java.lang.Object obj, boolean z) in setBoolean() method in Field
/libcore/ojluni/annotations/sdk/nullability/java/lang/reflect/
DArray.annotated.java62 public static void setBoolean(@libcore.util.NonNull java.lang.Object array, int index, boolean z) {… in setBoolean() method in Array
DField.annotated.java78 public native void setBoolean(@libcore.util.Nullable java.lang.Object obj, boolean z) throws java.l… in setBoolean() method in Field
/libcore/luni/src/test/java/libcore/java/sql/
DOldPreparedStatementTest.java1141 ps.setBoolean(1, false); in testSetBoolean()
1155 ps.setBoolean(1, true); in testSetBoolean()
1171 ps.setBoolean(1, false); in testSetBoolean()
1179 ps1.setBoolean(1, true); in testSetBoolean()
/libcore/ojluni/src/main/java/java/security/
DSecurity.java767 f.setBoolean(f, false); in invalidateSMCache()