/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | PermissionCollectionTest.java | 89 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()
|
D | AllPermission2Test.java | 164 assertFalse(pc1.isReadOnly()); in test_newPermissionCollection() 179 assertFalse(pc2.isReadOnly()); in test_newPermissionCollection()
|
/libcore/luni/src/main/java/java/nio/ |
D | LongToByteBufferAdapter.java | 113 if (byteBuffer.isReadOnly()) { in compact() 158 public boolean isReadOnly() { in isReadOnly() method in LongToByteBufferAdapter 159 return byteBuffer.isReadOnly(); in isReadOnly()
|
D | DoubleToByteBufferAdapter.java | 114 if (byteBuffer.isReadOnly()) { in compact() 159 public boolean isReadOnly() { in isReadOnly() method in DoubleToByteBufferAdapter 160 return byteBuffer.isReadOnly(); in isReadOnly()
|
D | CharToByteBufferAdapter.java | 113 if (byteBuffer.isReadOnly()) { in compact() 158 public boolean isReadOnly() { in isReadOnly() method in CharToByteBufferAdapter 159 return byteBuffer.isReadOnly(); in isReadOnly()
|
D | IntToByteBufferAdapter.java | 113 if (byteBuffer.isReadOnly()) { in compact() 158 public boolean isReadOnly() { in isReadOnly() method in IntToByteBufferAdapter 159 return byteBuffer.isReadOnly(); in isReadOnly()
|
D | FloatToByteBufferAdapter.java | 113 if (byteBuffer.isReadOnly()) { in compact() 158 public boolean isReadOnly() { in isReadOnly() method in FloatToByteBufferAdapter 159 return byteBuffer.isReadOnly(); in isReadOnly()
|
D | ShortToByteBufferAdapter.java | 113 if (byteBuffer.isReadOnly()) { in compact() 158 public boolean isReadOnly() { in isReadOnly() method in ShortToByteBufferAdapter 159 return byteBuffer.isReadOnly(); in isReadOnly()
|
D | ReadWriteDirectByteBuffer.java | 93 public boolean isReadOnly() { in isReadOnly() method in ReadWriteDirectByteBuffer 168 if (isReadOnly()) { in put() 208 if (isReadOnly()) { in put() 248 if (isReadOnly()) { in put()
|
D | ReadWriteHeapByteBuffer.java | 75 public boolean isReadOnly() { in isReadOnly() method in ReadWriteHeapByteBuffer 127 if (isReadOnly()) { in put()
|
D | ReadOnlyShortArrayBuffer.java | 63 public boolean isReadOnly() { in isReadOnly() method in ReadOnlyShortArrayBuffer
|
D | ReadOnlyIntArrayBuffer.java | 63 public boolean isReadOnly() { in isReadOnly() method in ReadOnlyIntArrayBuffer
|
D | ReadOnlyFloatArrayBuffer.java | 63 public boolean isReadOnly() { in isReadOnly() method in ReadOnlyFloatArrayBuffer
|
D | ReadOnlyDoubleArrayBuffer.java | 65 public boolean isReadOnly() { in isReadOnly() method in ReadOnlyDoubleArrayBuffer
|
D | ReadOnlyLongArrayBuffer.java | 63 public boolean isReadOnly() { in isReadOnly() method in ReadOnlyLongArrayBuffer
|
D | Buffer.java | 223 public abstract boolean isReadOnly(); in isReadOnly() method in Buffer
|
/libcore/luni/src/test/java/tests/api/java/security/ |
D | PermissionCollectionTest.java | 226 !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/ |
D | CharBufferTest.java | 159 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 …]
|
D | ByteBufferTest.java | 207 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 …]
|
D | ReadOnlyDirectByteBufferTest.java | 43 assertTrue(buf.isReadOnly()); in testIsReadOnly()
|
D | ReadOnlyWrappedByteBufferTest.java | 75 assertTrue(buf.isReadOnly()); in testIsReadOnly()
|
D | ReadOnlyHeapByteBufferTest.java | 75 assertTrue(buf.isReadOnly()); in testIsReadOnly()
|
/libcore/luni/src/main/java/java/io/ |
D | FilePermissionCollection.java | 57 if (isReadOnly()) { in add()
|
/libcore/luni/src/main/java/java/sql/ |
D | ResultSetMetaData.java | 245 public boolean isReadOnly(int column) throws SQLException; in isReadOnly() method
|
/libcore/luni/src/main/java/java/security/ |
D | PermissionCollection.java | 80 public boolean isReadOnly() { in isReadOnly() method in PermissionCollection
|