Home
last modified time | relevance | path

Searched refs:isReadOnly (Results 1 – 25 of 73) sorted by relevance

123

/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DPermissionCollectionTest.java89 assertFalse("should not be read-only by default", pc.isReadOnly()); in testReadOnly()
91 assertTrue("explicitly set read-only", pc.isReadOnly()); in testReadOnly()
93 assertTrue("more calls to setReadOnly() should not harm", pc.isReadOnly()); in testReadOnly()
DAllPermission2Test.java164 assertFalse(pc1.isReadOnly()); in test_newPermissionCollection()
179 assertFalse(pc2.isReadOnly()); in test_newPermissionCollection()
/libcore/luni/src/main/java/java/nio/
DLongToByteBufferAdapter.java113 if (byteBuffer.isReadOnly()) { in compact()
158 public boolean isReadOnly() { in isReadOnly() method in LongToByteBufferAdapter
159 return byteBuffer.isReadOnly(); in isReadOnly()
DDoubleToByteBufferAdapter.java114 if (byteBuffer.isReadOnly()) { in compact()
159 public boolean isReadOnly() { in isReadOnly() method in DoubleToByteBufferAdapter
160 return byteBuffer.isReadOnly(); in isReadOnly()
DCharToByteBufferAdapter.java113 if (byteBuffer.isReadOnly()) { in compact()
158 public boolean isReadOnly() { in isReadOnly() method in CharToByteBufferAdapter
159 return byteBuffer.isReadOnly(); in isReadOnly()
DIntToByteBufferAdapter.java113 if (byteBuffer.isReadOnly()) { in compact()
158 public boolean isReadOnly() { in isReadOnly() method in IntToByteBufferAdapter
159 return byteBuffer.isReadOnly(); in isReadOnly()
DFloatToByteBufferAdapter.java113 if (byteBuffer.isReadOnly()) { in compact()
158 public boolean isReadOnly() { in isReadOnly() method in FloatToByteBufferAdapter
159 return byteBuffer.isReadOnly(); in isReadOnly()
DShortToByteBufferAdapter.java113 if (byteBuffer.isReadOnly()) { in compact()
158 public boolean isReadOnly() { in isReadOnly() method in ShortToByteBufferAdapter
159 return byteBuffer.isReadOnly(); in isReadOnly()
DReadWriteDirectByteBuffer.java93 public boolean isReadOnly() { in isReadOnly() method in ReadWriteDirectByteBuffer
168 if (isReadOnly()) { in put()
208 if (isReadOnly()) { in put()
248 if (isReadOnly()) { in put()
DReadWriteHeapByteBuffer.java75 public boolean isReadOnly() { in isReadOnly() method in ReadWriteHeapByteBuffer
127 if (isReadOnly()) { in put()
DReadOnlyShortArrayBuffer.java63 public boolean isReadOnly() { in isReadOnly() method in ReadOnlyShortArrayBuffer
DReadOnlyIntArrayBuffer.java63 public boolean isReadOnly() { in isReadOnly() method in ReadOnlyIntArrayBuffer
DReadOnlyFloatArrayBuffer.java63 public boolean isReadOnly() { in isReadOnly() method in ReadOnlyFloatArrayBuffer
DReadOnlyDoubleArrayBuffer.java65 public boolean isReadOnly() { in isReadOnly() method in ReadOnlyDoubleArrayBuffer
DReadOnlyLongArrayBuffer.java63 public boolean isReadOnly() { in isReadOnly() method in ReadOnlyLongArrayBuffer
DBuffer.java223 public abstract boolean isReadOnly(); in isReadOnly() method in Buffer
/libcore/luni/src/test/java/tests/api/java/security/
DPermissionCollectionTest.java226 !permCollect.isReadOnly()); in test_isReadOnly()
229 permCollect.isReadOnly()); in test_isReadOnly()
247 !permCollect.isReadOnly()); in test_setReadOnly()
250 permCollect.isReadOnly()); in test_setReadOnly()
/libcore/luni/src/test/java/org/apache/harmony/nio/tests/java/nio/
DCharBufferTest.java159 assertTrue(readonly.isReadOnly()); in testAsReadOnlyBuffer()
184 assertTrue(readonly.isReadOnly()); in testAsReadOnlyBuffer()
310 assertEquals(buf.isReadOnly(), duplicate.isReadOnly());
337 assertEquals(buf.isReadOnly(), duplicate.isReadOnly());
353 if (!duplicate.isReadOnly()) {
795 assertEquals(buf.isReadOnly(), slice.isReadOnly()); in testSlice()
809 if (!slice.isReadOnly()) { in testSlice()
1386 assertFalse(buf.isReadOnly()); in testIsReadOnly()
1503 if(buf.isReadOnly()) { in test_WrapLjava_lang_CharSequence()
1516 assertTrue(bufStrBf.isReadOnly()); in test_WrapLjava_lang_CharSequence()
[all …]
DByteBufferTest.java207 assertTrue(readonly.isReadOnly()); in testAsReadOnlyBuffer()
231 if (buf.isReadOnly()) { in testCompact()
305 if (!buf.isReadOnly()) { in testCompareTo()
344 assertEquals(buf.isReadOnly(), duplicate.isReadOnly());
358 if (!duplicate.isReadOnly()) {
629 assertFalse(buf.isReadOnly()); in testIsReadOnly()
693 if (buf.isReadOnly()) { in testPutbyte()
737 if (buf.isReadOnly()) { in testPutbyteArray()
781 if (buf.isReadOnly()) { in testPutbyteArrayintint()
864 if (buf.isReadOnly()) { in testPutByteBuffer()
[all …]
DReadOnlyDirectByteBufferTest.java43 assertTrue(buf.isReadOnly()); in testIsReadOnly()
DReadOnlyWrappedByteBufferTest.java75 assertTrue(buf.isReadOnly()); in testIsReadOnly()
DReadOnlyHeapByteBufferTest.java75 assertTrue(buf.isReadOnly()); in testIsReadOnly()
/libcore/luni/src/main/java/java/io/
DFilePermissionCollection.java57 if (isReadOnly()) { in add()
/libcore/luni/src/main/java/java/sql/
DResultSetMetaData.java245 public boolean isReadOnly(int column) throws SQLException; in isReadOnly() method
/libcore/luni/src/main/java/java/security/
DPermissionCollection.java80 public boolean isReadOnly() { in isReadOnly() method in PermissionCollection

123