/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 | 459 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/ |
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 | 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()
|
D | ClassLoaderTestSupport.java | 35 File srcDir = File.createTempFile("src", ""); in setupAndCopyResources()
|
/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/io/ |
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() 66 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()
|
D | FileDescriptorTest.java | 34 File f= File.createTempFile("FileDescriptorTest", "tmp"); in testReadOnlyFileDescriptorSync()
|
/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/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/sql/ |
D | ConnectionTest.java | 55 dbFile = File.createTempFile("OldJDBCDriverTest", ".db", tmpDir); in getConnectionURL()
|
D | OldSQLTest.java | 41 dbFile = File.createTempFile("sqliteTest", ".db", tmpDir); in getSQLiteConnection()
|