/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | FileOutputStreamTest.java | 73 f = File.createTempFile("FileOutputStreamTest", "tst"); in test_ConstructorLjava_io_File() 81 f = File.createTempFile("FileOutputStreamTest", "tst"); in test_ConstructorLjava_io_FileDescriptor() 96 f = File.createTempFile("FileOutputStreamTest", "tst"); in test_ConstructorLjava_lang_String() 111 f = File.createTempFile("FileOutputStreamTest", "tst"); in test_ConstructorLjava_lang_StringZ() 155 f = File.createTempFile("FileOutputStreamTest", "tst"); in test_close() 171 f = File.createTempFile("FileOutputStreamTest", "tst"); in test_getFD() 183 f = File.createTempFile("FileOutputStreamTest", "tst"); in test_write$B() 197 f = File.createTempFile("FileOutputStreamTest", "tst"); in test_write$BII() 207 File file = File.createTempFile("FileOutputStreamTest", ".tmp"); in test_write$BII() 224 f = File.createTempFile("FileOutputStreamTest", "tst"); in test_writeI() [all …]
|
D | OpenRandomFileTest.java | 37 File file = File.createTempFile("test", "tmp"); in testOpenNonEmptyFile() 50 File file = File.createTempFile("test", "tmp"); in testOpenEmptyFile()
|
D | FileDescriptorTest.java | 32 File f = File.createTempFile("FileDescriptorText", "txt"); in test_sync() 74 File f = File.createTempFile("FileDescriptorText", "txt"); in test_valid()
|
D | SyncFailedExceptionTest.java | 34 f = File.createTempFile("SyncFailedExceptionTest", "tst"); in test_ConstructorLjava_lang_String()
|
D | FileTest.java | 454 f1 = File.createTempFile("harmony-test-FileTest_tempFile_abc", ".tmp"); in test_createTempFileLjava_lang_StringLjava_lang_String() 455 f2 = File.createTempFile("harmony-test-FileTest_tempFile_tf", null); in test_createTempFileLjava_lang_StringLjava_lang_String() 488 File f3 = File.createTempFile("ab", ".tst"); in test_createTempFileLjava_lang_StringLjava_lang_String() 495 File f3 = File.createTempFile("a", ".tst"); in test_createTempFileLjava_lang_StringLjava_lang_String() 502 File f3 = File.createTempFile("", ".tst"); in test_createTempFileLjava_lang_StringLjava_lang_String() 530 f1 = File.createTempFile("harmony-test-FileTest_tempFile2_tf", null, null); in test_createTempFileLjava_lang_StringLjava_lang_StringLjava_io_File() 532 f2 = File.createTempFile("harmony-test-FileTest_tempFile2_tf", ".tmp", dir); in test_createTempFileLjava_lang_StringLjava_lang_StringLjava_io_File() 571 File f3 = File.createTempFile("harmony-test-FileTest_tempFile2_tf", null, dir); in test_createTempFileLjava_lang_StringLjava_lang_StringLjava_io_File() 582 File f4 = File.createTempFile("ab", null, null); in test_createTempFileLjava_lang_StringLjava_lang_StringLjava_io_File() 589 File f4 = File.createTempFile("a", null, null); in test_createTempFileLjava_lang_StringLjava_lang_StringLjava_io_File() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
D | CheckedOutputStreamTest.java | 36 File.createTempFile("CheckedOutputStreamTest", ".txt")); in test_ConstructorLjava_io_OutputStreamLjava_util_zip_Checksum() 58 File.createTempFile("CheckedOutputStreamTest", ".txt")); in test_getChecksum() 91 File.createTempFile("CheckedOutputStreamTest", ".txt")); in test_writeI() 116 File.createTempFile("CheckedOutputStreamTest", ".txt")); in test_write$BII()
|
D | GZIPOutputStreamTest.java | 57 File.createTempFile("GZIPCon", ".txt")); in test_ConstructorLjava_io_OutputStream() 77 File.createTempFile("GZIPOutCon", ".txt")); in test_ConstructorLjava_io_OutputStreamI() 99 File.createTempFile("GZIPOutFinish", ".txt")); in test_finish() 127 File.createTempFile("GZIPOutClose2", ".txt")); in test_close() 152 File.createTempFile("GZIPOutWrite", ".txt")); in test_write$BII()
|
D | DeflaterOutputStreamTest.java | 93 File f1 = File.createTempFile("hyts_ConstruOD", ".tst"); in test_ConstructorLjava_io_OutputStreamLjava_util_zip_Deflater() 120 File f1 = File.createTempFile("hyts_ConstruO", ".tst"); in test_ConstructorLjava_io_OutputStream() 143 File f1 = File.createTempFile("hyts_ConstruODI", ".tst"); in test_ConstructorLjava_io_OutputStreamLjava_util_zip_DeflaterI() 191 File f1 = File.createTempFile("close", ".tst"); in test_close() 253 File f1 = File.createTempFile("finish", ".tst"); in test_finish() 306 File f1 = File.createTempFile("writeIL", ".tst"); in test_writeI() 357 File f1 = File.createTempFile("writeBII", ".tst"); in test_write$BII() 373 File f2 = File.createTempFile("writeBII2", ".tst"); in test_write$BII() 428 File f1 = File.createTempFile("writeI1", ".tst"); in test_deflate()
|
D | ZipFileTest.java | 79 File file = File.createTempFile("zip", "tmp"); in test_ConstructorLjava_lang_String() 102 File file = Support_Resources.createTempFile(".jar"); in test_finalize() 418 final File tempFile = File.createTempFile("smdc", "zip"); in test_sameNamesDifferentCase() 449 File tempFile = File.createTempFile("OldZipFileTest", "zip"); in setUp()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_GetLocal.java | 43 temp = File.createTempFile("hyts_local", ".tmp", null); in getLocalFile() 63 temp = File.createTempFile("hyts_local", ".tmp", null); in getExternalLocalFile() 90 public static File createTempFile(String suffix) throws IOException { in createTempFile() method in Support_GetLocal 91 return File.createTempFile("hyts_", suffix, null); in createTempFile()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/ |
D | JarOutputStreamTest.java | 38 File fooJar = File.createTempFile("hyts_", ".jar"); in test_JarOutputStreamLjava_io_OutputStreamLjava_util_jar_Manifest() 40 File barZip = File.createTempFile("hyts_", ".zip"); in test_JarOutputStreamLjava_io_OutputStreamLjava_util_jar_Manifest() 68 File fooJar = File.createTempFile("hyts_", ".jar"); in test_JarOutputStreamLjava_io_OutputStream()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | FileChannelTest.java | 52 File tmp = File.createTempFile("FileChannelTest", "tmp"); in testReadOnlyByteArrays() 89 File tmp = File.createTempFile("FileChannelTest", "tmp"); in test_readv() 109 File tmp = File.createTempFile("FileChannelTest", "tmp"); in test_writev() 122 File tmp = File.createTempFile("FileChannelTest", "tmp"); in test_append() 242 File tmp = File.createTempFile("FileChannelTest", "tmp"); in test_close_fromFileDescriptor() 264 File tmpFile = File.createTempFile("file", "txt"); in test_closeGuardSupport_open_without_append() 273 File tmpFile = File.createTempFile("file", "txt"); in test_closeGuardSupport_open_with_append() 282 File tmp = File.createTempFile("FileChannelTest", "tmp"); in createFileContainingBytes()
|
/libcore/luni/src/test/java/libcore/dalvik/system/ |
D | BlockGuardTest.java | 54 File f = File.createTempFile("foo", "bar"); in testFile() 112 File tmpFile = File.createTempFile("inputFile", ".txt"); in testFileInputStream() 142 File f = File.createTempFile("foo", "bar"); in testFileOutputStream() 166 File f = File.createTempFile("foo", "bar"); in testRandomAccessFile() 192 File f = File.createTempFile("foo", "bar"); in testUnbufferedIO() 287 File temp = File.createTempFile("foo", "bar"); in testOpen()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldFileWriterTest.java | 95 f = File.createTempFile("ony", "by_one"); in test_handleEarlyEOFChar_1() 128 File f = File.createTempFile("FileWriterBugTest ", null); in test_handleEarlyEOFChar_2() 145 f = File.createTempFile("writer", ".tst"); in setUp()
|
D | FileOutputStreamTest.java | 32 File tmp = File.createTempFile("FileOutputStreamTest", "tmp"); in testFileDescriptorOwnership() 69 … FileOutputStream fos = new FileOutputStream(File.createTempFile("FileOutputStreamTest", "tmp")); in testClose()
|
D | OldAndroidFileTest.java | 28 File file = File.createTempFile(String.valueOf(System.currentTimeMillis()), null, null); in testFile()
|
D | RandomAccessFileTest.java | 37 file = File.createTempFile("RandomAccessFileTest", "tmp"); in setUp() 76 File file = File.createTempFile("RandomAccessFileTest", "tmp"); in testRandomAccessFileHasCleanupFinalizer()
|
D | FileTest.java | 208 File f = File.createTempFile("FileTest", "tmp"); in test_createNewFile() 224 File f = File.createTempFile("FileTest", "tmp"); in test_rename() 320 File tmpFile = File.createTempFile("testExistsOnSystem", ".tmp"); in testExistsOnSystem() 359 File tempFile = File.createTempFile("foo", ".bar"); in testJavaIoTmpdirMutable()
|
/libcore/support/src/test/java/tests/support/resource/ |
D | Support_Resources.java | 87 folder = File.createTempFile("hyts_resources", "", null); in createTempFolder() 123 public static File createTempFile(String suffix) throws IOException { in createTempFile() method in Support_Resources 124 return File.createTempFile("hyts_", suffix, null); in createTempFile() 181 File f = File.createTempFile("out", ".xml"); in resourceToTempFile()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | GenericSignatureFormatErrorTest.java | 24 File tf = File.createTempFile("classes", ".dex"); in test_readResource() 53 File tf = File.createTempFile("classes", ".dex"); in test_signatureFormatError()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldURLClassLoaderTest.java | 152 File file = File.createTempFile("test_getPermissions_fileURLConnection", "tmp"); in test_getPermissions_fileURLConnection_doesNotThrow() 223 File tmp = File.createTempFile("test", ".txt"); in test_findResourceLjava_lang_String() 248 File tempFile1 = File.createTempFile("textFile", ".txt"); in test_findResource_String() 251 File tempFile2 = File.createTempFile("jarFile", ".jar"); in test_findResource_String()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
D | MappedByteBufferTest.java | 192 tmpFile = File.createTempFile("harmony", "test"); //$NON-NLS-1$//$NON-NLS-2$ in setUp() 208 emptyFile = File.createTempFile("harmony", "test"); //$NON-NLS-1$//$NON-NLS-2$ in setUp() 213 File tmp = File.createTempFile("hmy", "tmp"); in test_position()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | FileLockTest.java | 58 File tempFile = File.createTempFile("testing", "tmp"); in setUp() 173 File file = File.createTempFile("test", "tmp"); in test_release()
|
/libcore/luni/src/test/java/libcore/java/util/jar/ |
D | OldJarOutputStreamTest.java | 33 File outputJar = File.createTempFile("hyts_", ".jar"); in test_putNextEntryLjava_util_zip_ZipEntry()
|
/libcore/luni/src/test/java/libcore/android/system/ |
D | OsTest.java | 77 File f = File.createTempFile("OsTest", "tst"); in testFcntlInt() 798 File f = File.createTempFile("OsTest", "tst"); in test_unlink() 855 File file = File.createTempFile("xattr", "test"); in test_xattr() 901 File file = File.createTempFile("xattr", "test"); in test_xattr_NPE() 1134 File testFile = createTempFile("test_socket_setSockoptTimeval_invalidFd", ""); in test_socket_setSockoptTimeval_fileFd() 1271 File file = File.createTempFile("OsTest", "fstattest"); in test_fstat_times() 1319 File in = createTempFile("test_sendfile_null", "Hello, world!"); in test_sendfile_null() 1329 File in = createTempFile("test_sendfile_offset", "Hello, world!"); in test_sendfile_offset() 1344 File out = File.createTempFile(OsTest.class.getSimpleName() + "_checkSendFile", ".out"); in checkSendfile() 1359 private static File createTempFile(String namePart, String contents) throws IOException { in createTempFile() method [all …]
|