/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/tzdata/shared2/src/main/libcore/tzdata/shared2/ |
D | FileUtils.java | 79 } else if (!dirToCheck.isDirectory()) { in ensureDirectoriesExist() 86 if (!directory.isDirectory()) { in makeDirectoryWorldAccessible() 131 if (toDelete.isDirectory()) { in deleteRecursive() 133 if (file.isDirectory() && !FileUtils.isSymlink(file)) { in deleteRecursive()
|
D | TimeZoneDistro.java | 126 if (entry.isDirectory()) { in extractZipSafely()
|
/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/dalvik/src/main/java/dalvik/system/ |
D | DexPathList.java | 316 if (file.isDirectory()) { in makeDexElements() 441 } else if (file.isDirectory()) { in makePathElements() 599 public Element(File dir, boolean isDirectory, File zip, DexFile dexFile) { in Element() argument 606 if (isDirectory && (zip != null || dexFile != null)) { in Element() 623 return path.isDirectory() ? null : path.getAbsolutePath(); in getDexPath() 634 return (path.isDirectory() ? "directory \"" : "zip file \"") + path + "\""; in toString() 649 if (path == null || path.isDirectory()) { in maybeInit() 690 if (path != null && path.isDirectory()) { in findResource()
|
/libcore/ojluni/src/main/java/java/nio/file/attribute/ |
D | BasicFileAttributes.java | 100 boolean isDirectory(); in isDirectory() method
|
/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/tzdata/shared2/src/test/libcore/tzdata/shared2/ |
D | TimeZoneDistroTest.java | 128 if (!zipEntry.isDirectory()) { in addZipEntry() 148 assertTrue(dir + " directory expected to exist", dir.exists() && dir.isDirectory()); in assertDirsExist()
|
D | FileUtilsTest.java | 268 assertTrue(dir.isDirectory()); in testCreateEmptyFile_isDir() 275 assertTrue(dir.isDirectory()); in testCreateEmptyFile_isDir() 333 assertTrue(dir.exists() && dir.isDirectory() && dir.canRead() && dir.canExecute()); in assertDirExistsAndIsAccessible()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldFileTest.java | 40 if (f.isDirectory()) { 53 if (f.isDirectory()) in deleteTempFolder()
|
/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/src/main/java/java/io/ |
D | File.java | 635 private static String slashify(String path, boolean isDirectory) { in slashify() argument 641 if (!p.endsWith("/") && isDirectory) in slashify() 675 getAbsoluteFile().isDirectory())); in toURL() 721 String sp = slashify(f.getPath(), f.isDirectory()); in toURI() 829 public boolean isDirectory() { in isDirectory() method in File
|
/libcore/luni/src/test/java/dalvik/system/ |
D | InMemoryDexClassLoaderTest.java | 57 if (!dir.isDirectory()) { in cleanUpDir() 62 if (file.isDirectory()) { in cleanUpDir()
|
D | DexClassLoaderTest.java | 68 if (!dir.isDirectory()) { in cleanUpDir() 73 if (file.isDirectory()) { in cleanUpDir()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_TestWebData.java | 115 testDir = file.isDirectory(); in Support_TestWebData()
|
/libcore/luni/src/test/java/tests/support/ |
D | Support_SQL.java | 58 if (tmpDir.isDirectory()) { in loadDriver()
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | CopyMoveHelper.java | 122 if (attrs.isDirectory()) { in copyToForeignTarget()
|