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 | 35 private static final int FILE_LENGTH = FILE_DATA.length; field in AssetFileDescriptor_AutoCloseInputStreamTest 61 openInput(0, FILE_LENGTH); in testSkip() 72 openInput(0, FILE_LENGTH); in testRead() 73 for (int i = 0; i < FILE_LENGTH; i++) { in testRead() 89 openInput(0, FILE_LENGTH); in testReadBufferLen() 90 byte[] buf = new byte[FILE_LENGTH]; in testReadBufferLen() 99 openInput(0, FILE_LENGTH); in testReadBuffer() 120 openInput(0, FILE_LENGTH); in testAvailableRead() 121 assertEquals(FILE_LENGTH, mInput.available()); in testAvailableRead() 123 assertEquals(FILE_LENGTH -1 , mInput.available()); in testAvailableRead() [all …]
|
D | AssetFileDescriptor_AutoCloseOutputStreamTest.java | 29 private static final int FILE_LENGTH = 100; field in AssetFileDescriptor_AutoCloseOutputStreamTest 59 mAssetFileDes = new AssetFileDescriptor(fd, 0, FILE_LENGTH); in testAutoCloseOutputStream() 70 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()
|