Home
last modified time | relevance | path

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

1234

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DFileOutputStreamTest.java69 f = File.createTempFile("FileOutputStreamTest", "tst"); in test_ConstructorLjava_io_File()
77 f = File.createTempFile("FileOutputStreamTest", "tst"); in test_ConstructorLjava_io_FileDescriptor()
92 f = File.createTempFile("FileOutputStreamTest", "tst"); in test_ConstructorLjava_lang_String()
106 f = File.createTempFile("FileOutputStreamTest", "tst"); in test_ConstructorLjava_lang_StringZ()
150 f = File.createTempFile("FileOutputStreamTest", "tst"); in test_close()
166 f = File.createTempFile("FileOutputStreamTest", "tst"); in test_getFD()
178 f = File.createTempFile("FileOutputStreamTest", "tst"); in test_write$B()
192 f = File.createTempFile("FileOutputStreamTest", "tst"); in test_write$BII()
202 File file = File.createTempFile("FileOutputStreamTest", ".tmp"); in test_write$BII()
219 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.java454 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/
DGZIPOutputStreamTest.java51 File.createTempFile("GZIPCon", ".txt")); in test_ConstructorLjava_io_OutputStream()
71 File.createTempFile("GZIPOutCon", ".txt")); in test_ConstructorLjava_io_OutputStreamI()
93 File.createTempFile("GZIPOutFinish", ".txt")); in test_finish()
121 File.createTempFile("GZIPOutClose2", ".txt")); in test_close()
146 File.createTempFile("GZIPOutWrite", ".txt")); in test_write$BII()
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()
DDeflaterOutputStreamTest.java88 File f1 = File.createTempFile("hyts_ConstruOD", ".tst"); in test_ConstructorLjava_io_OutputStreamLjava_util_zip_Deflater()
114 File f1 = File.createTempFile("hyts_ConstruO", ".tst"); in test_ConstructorLjava_io_OutputStream()
137 File f1 = File.createTempFile("hyts_ConstruODI", ".tst"); in test_ConstructorLjava_io_OutputStreamLjava_util_zip_DeflaterI()
178 File f1 = File.createTempFile("close", ".tst"); in test_close()
240 File f1 = File.createTempFile("finish", ".tst"); in test_finish()
288 File f1 = File.createTempFile("writeIL", ".tst"); in test_writeI()
327 File f1 = File.createTempFile("writeBII", ".tst"); in test_write$BII()
343 File f2 = File.createTempFile("writeBII2", ".tst"); in test_write$BII()
392 File f1 = File.createTempFile("writeI1", ".tst"); in test_deflate()
/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.java32 File tmp = File.createTempFile("FileChannelTest", "tmp"); in testReadOnlyByteArrays()
69 File tmp = File.createTempFile("FileChannelTest", "tmp"); in test_readv()
89 File tmp = File.createTempFile("FileChannelTest", "tmp"); in test_writev()
102 File tmp = File.createTempFile("FileChannelTest", "tmp"); in test_append()
222 File tmp = File.createTempFile("FileChannelTest", "tmp"); in test_close_fromFileDescriptor()
245 File tmp = File.createTempFile("FileChannelTest", "tmp"); in createFileContainingBytes()
/libcore/luni/src/test/java/libcore/java/io/
DFileOutputStreamTest.java29 File tmp = File.createTempFile("FileOutputStreamTest", "tmp"); in testFileDescriptorOwnership()
66 … FileOutputStream fos = new FileOutputStream(File.createTempFile("FileOutputStreamTest", "tmp")); in testClose()
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()
DOldAndroidFileTest.java28 File file = File.createTempFile(String.valueOf(System.currentTimeMillis()), null, null); in testFile()
DRandomAccessFileTest.java33 file = File.createTempFile("RandomAccessFileTest", "tmp"); in setUp()
72 File file = File.createTempFile("RandomAccessFileTest", "tmp"); in testRandomAccessFileHasCleanupFinalizer()
DFileDescriptorTest.java29 File f= File.createTempFile("FileDescriptorTest", "tmp"); in testReadOnlyFileDescriptorSync()
/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/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/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/luni/src/test/java/libcore/java/util/jar/
DOldJarOutputStreamTest.java33 File outputJar = File.createTempFile("hyts_", ".jar"); in test_putNextEntryLjava_util_zip_ZipEntry()
/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/dalvik/system/
DBlockGuardTest.java48 File f = File.createTempFile("foo", "bar"); in testFile()
122 File f = File.createTempFile("foo", "bar"); in testFileOutputStream()
/libcore/luni/src/test/java/libcore/java/net/
DOldURLClassLoaderTest.java197 File tmp = File.createTempFile("test", ".txt"); in test_findResourceLjava_lang_String()
222 File tempFile1 = File.createTempFile("textFile", ".txt"); in test_findResource_String()
225 File tempFile2 = File.createTempFile("jarFile", ".jar"); in test_findResource_String()
/libcore/luni/src/test/java/libcore/java/sql/
DConnectionTest.java55 dbFile = File.createTempFile("OldJDBCDriverTest", ".db", tmpDir); in getConnectionURL()
DOldSQLTest.java41 dbFile = File.createTempFile("sqliteTest", ".db", tmpDir); in getSQLiteConnection()

1234