Home
last modified time | relevance | path

Searched refs:isFile (Results 1 – 12 of 12) sorted by relevance

/libcore/luni/src/test/java/tests/api/java/io/
DBufferedInputStreamTest.java44 private FileInputStream isFile; field in BufferedInputStreamTest
61 is = new BufferedInputStream(isFile); in test_ConstructorLjava_io_InputStream()
85 is = new BufferedInputStream(isFile, -1); in test_ConstructorLjava_io_InputStreamI()
93 is = new BufferedInputStream(isFile, this.fileString in test_ConstructorLjava_io_InputStreamI()
99 isFile.close(); in test_ConstructorLjava_io_InputStreamI()
548 isFile = new FileInputStream(fileName); in setUp()
549 is = new BufferedInputStream(isFile, 1000); in setUp()
DFileTest.java459 assertFalse("Test 2: File should not exist.", f1.isFile()); in test_createNewFile()
461 assertTrue("Test 3: File should exist.", f1.isFile()); in test_createNewFile()
462 assertTrue("Test 4: File should exist.", f2.isFile()); in test_createNewFile()
1179 assertTrue("Directory returned true as being a file.", !f.isFile()); in test_isFile()
1183 assertTrue("Non-existent file returned true", !f.isFile()); in test_isFile()
1186 assertTrue("File returned false", f.isFile()); in test_isFile()
1618 if (f.isFile()) in test_listFilesLjava_io_FileFilter()
/libcore/dalvik/src/main/java/dalvik/system/
DTouchDexLoader.java80 if (pathFile.isFile()) { in TouchDexLoader()
223 } else if (pathFile.isFile()) { in findResource()
DTouchDex.java102 if (f.isFile()) { in expandDirectories()
DPathClassLoader.java129 if (pathFile.isFile()) { in PathClassLoader()
319 } else if (pathFile.isFile()) { in findResource()
DDexClassLoader.java103 if (pathFile.isFile()) { in DexClassLoader()
/libcore/junit/src/test/java/junit/runner/
DClassPathTestCollector.java42 if (thisRoot.isFile()) { in gatherFiles()
/libcore/luni/src/test/java/libcore/java/io/
DFileTest.java101 assertFalse(f.isFile()); in test_emptyFilename()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/
DFileTest.java397 assertFalse("File Should Not Exist", f1.isFile()); in test_createNewFile()
399 assertTrue("File Should Exist.", f1.isFile()); in test_createNewFile()
400 assertTrue("File Should Exist.", f2.isFile()); in test_createNewFile()
1128 assertFalse("Directory Returned True As Being A File.", f.isFile()); in test_isFile()
1132 assertTrue("Non-existent File Returned True", !f.isFile()); in test_isFile()
1135 assertTrue("File returned false", f.isFile()); in test_isFile()
1487 return f.isFile(); in test_listFilesLjava_io_FileFilter()
/libcore/luni/src/test/java/libcore/java/util/logging/
DOldFileHandlerTest.java393 if (file.isFile()) { in reset()
/libcore/luni/src/main/java/java/security/
DKeyStore.java888 if (!file.isFile()) { in newInstance()
/libcore/luni/src/main/java/java/io/
DFile.java766 public boolean isFile() { in isFile() method in File