Searched refs:FILE_END (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/content/src/android/content/res/cts/ |
D | AssetFileDescriptor_AutoCloseOutputStreamTest.java | 45 private static final int FILE_END = -1; field in AssetFileDescriptor_AutoCloseOutputStreamTest 93 assertEquals(FILE_END, inputStream.read()); in testAutoCloseOutputStream()
|
D | AssetFileDescriptor_AutoCloseInputStreamTest.java | 61 private static final int FILE_END = -1; field in AssetFileDescriptor_AutoCloseInputStreamTest 99 assertEquals(FILE_END, mInput.read()); in testSkip() 108 assertEquals(FILE_END, mInput.read()); in testRead() 118 assertEquals(FILE_END, mInput.read()); in testReadPartial() 129 assertEquals(FILE_END, mInput.read(buf, 0, 4)); in testReadBufferLen() 140 assertEquals(FILE_END, mInput.read(buf)); in testReadBuffer() 152 assertEquals(FILE_END, mInput.read(buf)); in testReadBufferPartial() 211 assertEquals(FILE_END, mInput.read()); in testTwoFileDescriptorsWorkIndependently()
|
D | AssetFileDescriptorTest.java | 60 private static final int FILE_END = -1; field in AssetFileDescriptorTest 147 while ((readByte != FILE_END) && (readLength < FILE_DATA.length)) { in testInputOutputStream() 154 assertEquals(FILE_END, mInputStream.read()); in testInputOutputStream()
|