Home
last modified time | relevance | path

Searched refs:createTempFile (Results 1 – 25 of 99) sorted by relevance

1234

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DFileOutputStreamTest.java73 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 …]
DOpenRandomFileTest.java37 File file = File.createTempFile("test", "tmp"); in testOpenNonEmptyFile()
50 File file = File.createTempFile("test", "tmp"); in testOpenEmptyFile()
DFileDescriptorTest.java32 File f = File.createTempFile("FileDescriptorText", "txt"); in test_sync()
74 File f = File.createTempFile("FileDescriptorText", "txt"); in test_valid()
DSyncFailedExceptionTest.java34 f = File.createTempFile("SyncFailedExceptionTest", "tst"); in test_ConstructorLjava_lang_String()
DFileTest.java459 f1 = File.createTempFile("harmony-test-FileTest_tempFile_abc", ".tmp"); in test_createTempFileLjava_lang_StringLjava_lang_String()
460 f2 = File.createTempFile("harmony-test-FileTest_tempFile_tf", null); in test_createTempFileLjava_lang_StringLjava_lang_String()
493 File f3 = File.createTempFile("ab", ".tst"); in test_createTempFileLjava_lang_StringLjava_lang_String()
500 File f3 = File.createTempFile("a", ".tst"); in test_createTempFileLjava_lang_StringLjava_lang_String()
507 File f3 = File.createTempFile("", ".tst"); in test_createTempFileLjava_lang_StringLjava_lang_String()
535 f1 = File.createTempFile("harmony-test-FileTest_tempFile2_tf", null, null); in test_createTempFileLjava_lang_StringLjava_lang_StringLjava_io_File()
537 f2 = File.createTempFile("harmony-test-FileTest_tempFile2_tf", ".tmp", dir); in test_createTempFileLjava_lang_StringLjava_lang_StringLjava_io_File()
576 File f3 = File.createTempFile("harmony-test-FileTest_tempFile2_tf", null, dir); in test_createTempFileLjava_lang_StringLjava_lang_StringLjava_io_File()
587 File f4 = File.createTempFile("ab", null, null); in test_createTempFileLjava_lang_StringLjava_lang_StringLjava_io_File()
594 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/
DCheckedOutputStreamTest.java36 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()
DGZIPOutputStreamTest.java57 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()
DDeflaterOutputStreamTest.java93 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()
DZipFileTest.java79 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/
DSupport_GetLocal.java43 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/
DJarOutputStreamTest.java38 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/
DFileChannelTest.java52 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/
DBlockGuardTest.java54 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/
DOldFileWriterTest.java95 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()
DFileOutputStreamTest.java32 File tmp = File.createTempFile("FileOutputStreamTest", "tmp"); in testFileDescriptorOwnership()
69 … FileOutputStream fos = new FileOutputStream(File.createTempFile("FileOutputStreamTest", "tmp")); in testClose()
DRandomAccessFileTest.java37 file = File.createTempFile("RandomAccessFileTest", "tmp"); in setUp()
66 File file = File.createTempFile("RandomAccessFileTest", "tmp"); in testRandomAccessFileHasCleanupFinalizer()
DOldAndroidFileTest.java28 File file = File.createTempFile(String.valueOf(System.currentTimeMillis()), null, null); in testFile()
DFileTest.java208 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/
DSupport_Resources.java87 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/
DGenericSignatureFormatErrorTest.java24 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/
DOldURLClassLoaderTest.java152 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/
DMappedByteBufferTest.java192 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/
DFileLockTest.java58 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/
DOldJarOutputStreamTest.java33 File outputJar = File.createTempFile("hyts_", ".jar"); in test_putNextEntryLjava_util_zip_ZipEntry()
/libcore/luni/src/test/java/libcore/java/sql/
DConnectionTest.java55 dbFile = File.createTempFile("OldJDBCDriverTest", ".db", tmpDir); in getConnectionURL()

1234