/libcore/ojluni/src/main/java/sun/net/www/protocol/file/ |
D | FileURLConnection.java | 60 boolean isDirectory = false; field in FileURLConnection 82 isDirectory = file.isDirectory(); in connect() 83 if (isDirectory) { in connect() 118 if (!isDirectory) { in initializeHeaders() 191 if (isDirectory) { in getInputStream()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixCopyFile.java | 434 if (targetAttrs.isDirectory()) { in move() 441 if (targetAttrs.isDirectory() && in move() 462 if (sourceAttrs.isDirectory()) { in move() 478 if (sourceAttrs.isDirectory()) { in move() 487 if (sourceAttrs.isDirectory()) { in move() 494 if (sourceAttrs.isDirectory() && in move() 553 if (targetAttrs.isDirectory()) { in copy() 560 if (targetAttrs.isDirectory() && in copy() 571 if (sourceAttrs.isDirectory()) { in copy()
|
D | UnixFileAttributes.java | 157 public boolean isDirectory() { in isDirectory() method in UnixFileAttributes 294 public boolean isDirectory() { in isDirectory() method in UnixFileAttributes.UnixAsBasicFileAttributes 295 return attrs.isDirectory(); in isDirectory()
|
D | LinuxDosFileAttributeView.java | 143 public boolean isDirectory() { in readAttributes() method 144 return attrs.isDirectory(); in readAttributes()
|
D | AbstractBasicFileAttributeView.java | 153 builder.add(IS_DIRECTORY_NAME, attrs.isDirectory()); in addRequestedBasicAttributes()
|
/libcore/ojluni/src/test/java/nio/file/attribute/ |
D | BasicFileAttributeViewTest.java | 54 check(attrs.isDirectory(), "is a directory"); in checkAttributesOfDirectory() 70 check(!attrs.isDirectory(), "is not a directory"); in checkAttributesOfFile() 102 check(!attrs.isDirectory(), "is a directory"); in checkAttributesOfLink()
|
/libcore/luni/src/test/java/libcore/dalvik/system/ |
D | ClassLoaderTestSupport.java | 57 if (dir == null || !dir.isDirectory()) { in cleanUpDir() 65 if (file.isDirectory()) { in cleanUpDir()
|
D | InMemoryDexClassLoaderTest.java | 62 if (!dir.isDirectory()) { in cleanUpDir() 67 if (file.isDirectory()) { in cleanUpDir()
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | DefaultSecureDirectoryStreamTest.java | 107 file -> Files.isDirectory(file))) { in testIterator() 117 file -> Files.isDirectory(file))) { in testIterator_calledTwice() 129 file -> Files.isDirectory(file)); in testIterator_afterClose() 403 assertTrue(fileAttributeView.readAttributes().isDirectory()); in test_getFileAttributeView() 430 assertTrue(fileAttributeView.readAttributes().isDirectory()); in test_getFileAttributeView_Path() 437 assertFalse(fileAttributeView.readAttributes().isDirectory()); in test_getFileAttributeView_Path() 447 assertTrue(fileAttributeView.readAttributes().isDirectory()); in test_getFileAttributeView_Path() 492 assertFalse(fileAttributeView.readAttributes().isDirectory()); in test_getFileAttributeView_Path_LinkOptions()
|
D | Files2Test.java | 298 assertFalse(Files.isDirectory(filesSetup.getDataFilePath())); in test_isDirectory() 300 assertFalse(Files.isDirectory(filesSetup.getTestPath())); in test_isDirectory() 307 assertTrue(Files.isDirectory(dirPath)); in test_isDirectory() 313 Files.isDirectory(null); in test_isDirectory_NPE() 765 assertTrue(Files.isDirectory(dir4)); in test_walkFileTree_maximumDepth() 863 Stream<Path> pathStream = Files.find(rootDir, 2, (path, attr) -> Files.isDirectory(path)); in test_find() 873 pathStream = Files.find(rootDir, 0, (path, attr) -> Files.isDirectory(path)); in test_find() 879 Files.find(rootDir, -1, (path, attr) -> Files.isDirectory(path)); in test_find() 907 Files.find(null, 2, (path, attr) -> Files.isDirectory(path)); in test_find_NPE() 912 Files.find(rootDir, (Integer)null, (path, attr) -> Files.isDirectory(path)); in test_find_NPE() [all …]
|
D | DefaultFileSystemProviderTest.java | 404 assertFalse(Files.isDirectory(newDirectory)); in test_createDirectory() 409 assertTrue(Files.isDirectory(newDirectory)); in test_createDirectory() 764 file -> Files.isDirectory(file))) { in test_newDirectoryStream$Path$Filter() 784 return Files.isDirectory(entry); in test_newDirectoryStream$Filter_Exception() 810 return Files.isDirectory(entry); in test_newDirectoryStream$Filter_NPE()
|
D | FilesSetup.java | 127 if (Files.isDirectory(path)) { in delete()
|
/libcore/ojluni/src/main/java/java/nio/file/attribute/ |
D | BasicFileAttributes.java | 100 boolean isDirectory(); in isDirectory() method
|
/libcore/dalvik/src/main/java/dalvik/system/ |
D | DexPathList.java | 376 if (file.isDirectory()) { in makeDexElements() 507 } else if (file.isDirectory()) { in makePathElements() 681 this.pathIsDirectory = (path == null) ? null : path.isDirectory(); in Element() 702 public Element(File dir, boolean isDirectory, File zip, DexFile dexFile) { in Element() argument 710 if (isDirectory && (zip != null || dexFile != null)) { in Element() 720 return path.isDirectory() ? null : path.getAbsolutePath(); in getDexPath() 785 if (path != null && path.isDirectory()) { in findResource()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldFileTest.java | 40 if (f.isDirectory()) { 53 if (f.isDirectory()) in deleteTempFolder()
|
/libcore/ojluni/src/main/java/java/io/ |
D | File.java | 640 private static String slashify(String path, boolean isDirectory) { in slashify() argument 646 if (!p.endsWith("/") && isDirectory) in slashify() 682 getAbsoluteFile().isDirectory())); in toURL() 728 String sp = slashify(f.getPath(), f.isDirectory()); in toURI() 835 public boolean isDirectory() { in isDirectory() method in File
|
/libcore/luni/src/test/java/libcore/java/sql/ |
D | ConnectionTest.java | 53 if (tmpDir.isDirectory()) { in getConnectionURL()
|
D | OldSQLTest.java | 40 if (tmpDir.isDirectory()) { in getSQLiteConnection()
|
/libcore/ojluni/annotations/hiddenapi/java/io/ |
D | File.java | 102 private static java.lang.String slashify(java.lang.String path, boolean isDirectory) { in slashify() argument 127 public boolean isDirectory() { in isDirectory() method in File
|
/libcore/metrictests/memory/apps/src/libcore/heapdumper/ |
D | AbstractMetricInstrumentation.java | 107 if (!dir.isDirectory()) { in resolveOutputDirectory()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_TestWebData.java | 115 testDir = file.isDirectory(); in Support_TestWebData()
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | CopyMoveHelper.java | 122 if (attrs.isDirectory()) { in copyToForeignTarget()
|
/libcore/luni/src/test/java/tests/support/ |
D | Support_SQL.java | 58 if (tmpDir.isDirectory()) { in loadDriver()
|
/libcore/ojluni/annotations/hiddenapi/java/util/zip/ |
D | ZipEntry.java | 152 public boolean isDirectory() { in isDirectory() method in ZipEntry
|
/libcore/ojluni/annotations/mmodule/java/util/zip/ |
D | ZipEntry.annotated.java | 87 public boolean isDirectory() { throw new RuntimeException("Stub!"); } in isDirectory() method in ZipEntry
|