Home
last modified time | relevance | path

Searched refs:createDirectory (Results 1 – 17 of 17) sorted by relevance

/libcore/ojluni/src/main/java/java/nio/file/
DTempFileHelper.java83 boolean createDirectory, in create() argument
90 suffix = (createDirectory) ? "" : ".tmp"; in create()
100 attrs[0] = (createDirectory) ? PosixPermissions.dirPermissions : in create()
115 attrs[attrs.length-1] = (createDirectory) ? in create()
135 if (createDirectory) { in create()
136 return Files.createDirectory(f, attrs); in create()
DCopyMoveHelper.java123 Files.createDirectory(target); in copyToForeignTarget()
DFiles.java671 public static Path createDirectory(Path dir, FileAttribute<?>... attrs)
674 provider(dir).createDirectory(dir, attrs);
781 createDirectory(dir, attrs);
/libcore/luni/src/test/java/libcore/java/nio/file/
DDefaultFileSystemProviderTest.java406 provider.createDirectory(newDirectory); in test_createDirectory()
413 provider.createDirectory(newDirectory); in test_createDirectory()
420 provider.createDirectory(unicodeFilePath); in test_createDirectory()
428 provider.createDirectory(filesSetup.getTestPath(), attr); in test_createDirectory$String$FileAttr()
435 provider.createDirectory(dirPath2, attr, attr1); in test_createDirectory$String$FileAttr()
445 provider.createDirectory(null, attr); in test_createDirectory$String$FileAttr_NPE()
450 provider.createDirectory(filesSetup.getTestPath(), (FileAttribute<?>[]) null); in test_createDirectory$String$FileAttr_NPE()
458 provider.createDirectory(null); in test_createDirectory_NPE()
552 Files.createDirectory(dirPath); in test_delete()
558 Files.createDirectory(dirPath); in test_delete()
[all …]
DFilesTest.java174 assertEquals(mockPath, Files.createDirectory(mockPath, attr)); in test_createDirectory_delegation()
175 verify(mockFileSystemProvider).createDirectory(mockPath, attr); in test_createDirectory_delegation()
248 Files.createDirectory(path_dir1); in test_newDirectoryStream()
249 Files.createDirectory(path_dir2); in test_newDirectoryStream()
250 Files.createDirectory(path_dir3); in test_newDirectoryStream()
304 Files.createDirectory(path_root); in test_newDirectoryStream$Path$String()
306 Files.createDirectory(path_java1); in test_newDirectoryStream$Path$String()
DDefaultSecureDirectoryStreamTest.java86 Files.createDirectory(path_root); in setup()
87 Files.createDirectory(path_dir1); in setup()
88 Files.createDirectory(path_dir2); in setup()
89 Files.createDirectory(path_dir3); in setup()
90 Files.createDirectory(path_dir4); in setup()
DDefaultFileSystemProvider2Test.java169 Files.createDirectory(dirPath); in test_move_directory()
170 Files.createDirectory(nestedDirPath); in test_move_directory()
193 Files.createDirectory(dirPath); in test_move_directory_DirectoryNotEmptyException()
194 Files.createDirectory(dirPath4); in test_move_directory_DirectoryNotEmptyException()
DFiles2Test.java326 Files.createDirectory(dirPath); in test_isRegularFile()
/libcore/ojluni/src/main/java/java/io/
DFileSystem.java178 public abstract boolean createDirectory(File f); in createDirectory() method in FileSystem
DUnixFileSystem.java351 public boolean createDirectory(File f) { in createDirectory() method in UnixFileSystem
DFile.java1323 return fs.createDirectory(this); in mkdir()
/libcore/ojluni/src/test/java/nio/file/
DTestUtil.java100 Files.createDirectory(dir); in createDirectoryWithLongPath()
/libcore/ojluni/annotations/hiddenapi/java/io/
DFileSystem.java95 public abstract boolean createDirectory(java.io.File f); in createDirectory() method in FileSystem
/libcore/luni/src/test/filesystems/src/mypackage/
DMockFileSystemProvider.java77 public void createDirectory(Path dir, FileAttribute<?>[] attrs) throws IOException { in createDirectory() method in MockFileSystemProvider
/libcore/ojluni/src/main/java/java/nio/file/spi/
DFileSystemProvider.java618 public abstract void createDirectory(Path dir, FileAttribute<?>... attrs) in createDirectory() method in FileSystemProvider
/libcore/ojluni/src/test/java/nio/file/attribute/
DPosixFileAttributeViewTest.java117 Files.createDirectory(file, attr); in createWithPermissions()
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixFileSystemProvider.java379 public void createDirectory(Path obj, FileAttribute<?>... attrs) in createDirectory() method in UnixFileSystemProvider