Searched refs:FILE_LENGTH (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/content/src/android/content/res/cts/ |
D | AssetFileDescriptor_AutoCloseInputStreamTest.java | 66 private static final int FILE_LENGTH = FILE_DATA.length; field in AssetFileDescriptor_AutoCloseInputStreamTest 92 openInput(0, FILE_LENGTH); in testSkip() 104 openInput(0, FILE_LENGTH); in testRead() 105 for (int i = 0; i < FILE_LENGTH; i++) { in testRead() 123 openInput(0, FILE_LENGTH); in testReadBufferLen() 124 byte[] buf = new byte[FILE_LENGTH]; in testReadBufferLen() 134 openInput(0, FILE_LENGTH); in testReadBuffer() 157 openInput(0, FILE_LENGTH); in testAvailableRead() 158 assertEquals(FILE_LENGTH, mInput.available()); in testAvailableRead() 160 assertEquals(FILE_LENGTH - 1, mInput.available()); in testAvailableRead() [all …]
|
D | AssetFileDescriptor_AutoCloseOutputStreamTest.java | 44 private static final int FILE_LENGTH = 100; field in AssetFileDescriptor_AutoCloseOutputStreamTest 74 mAssetFileDes = new AssetFileDescriptor(fd, 0, FILE_LENGTH); in testAutoCloseOutputStream() 85 mAssetFileDes = new AssetFileDescriptor(fd, 0, FILE_LENGTH); in testAutoCloseOutputStream()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-0409/ |
D | poc.cpp | 22 #define FILE_LENGTH SIZE_MAX macro 27 fm.create(FILE_NAME, tf.fd, FILE_OFFSET, FILE_LENGTH, true); in main()
|