/libcore/ojluni/src/test/java/nio/file/attribute/ |
D | BasicFileAttributeViewTest.java | 53 BasicFileAttributes attrs = Files.readAttributes(dir, BasicFileAttributes.class); in checkAttributesOfDirectory() 68 BasicFileAttributes attrs = Files.readAttributes(file, BasicFileAttributes.class); in checkAttributesOfFile() 84 BasicFileAttributes dirAttrs = Files.readAttributes(dir, BasicFileAttributes.class); in checkAttributesOfFile() 87 attrs = view.readAttributes(); in checkAttributesOfFile() 100 Files.readAttributes(link, BasicFileAttributes.class, LinkOption.NOFOLLOW_LINKS); in checkAttributesOfLink()
|
D | PosixFileAttributeViewTest.java | 110 .readAttributes() in createWithPermissions() 121 .readAttributes() in createWithPermissions() 144 Set<PosixFilePermission> save = view.readAttributes() in permissionTests() 188 .readAttributes(); in permissionTests() 253 PosixFileAttributes attrs = view.readAttributes(); in ownerTests() 284 PosixFileAttributes attrs = Files.readAttributes(dir, PosixFileAttributes.class); in lookupPrincipalTests()
|
D | BasicFileAttributeViewCreationTimeTest.java | 52 return Files.readAttributes(file, BasicFileAttributes.class).creationTime(); in creationTime()
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | DefaultSecureDirectoryStreamTest.java | 402 assertFalse(fileAttributeView.readAttributes().isRegularFile()); in test_getFileAttributeView() 403 assertTrue(fileAttributeView.readAttributes().isDirectory()); in test_getFileAttributeView() 404 assertFalse(fileAttributeView.readAttributes().isSymbolicLink()); in test_getFileAttributeView() 416 fileAttributeView.readAttributes(); in test_getFileAttributeView() 429 assertFalse(fileAttributeView.readAttributes().isRegularFile()); in test_getFileAttributeView_Path() 430 assertTrue(fileAttributeView.readAttributes().isDirectory()); in test_getFileAttributeView_Path() 431 assertFalse(fileAttributeView.readAttributes().isSymbolicLink()); in test_getFileAttributeView_Path() 436 assertTrue(fileAttributeView.readAttributes().isRegularFile()); in test_getFileAttributeView_Path() 437 assertFalse(fileAttributeView.readAttributes().isDirectory()); in test_getFileAttributeView_Path() 438 assertFalse(fileAttributeView.readAttributes().isSymbolicLink()); in test_getFileAttributeView_Path() [all …]
|
D | DefaultFileSystemProvider2Test.java | 320 assertTrue(fileAttributeView.readAttributes().isRegularFile()); in test_getFileAttributeView() 321 assertFalse(fileAttributeView.readAttributes().isDirectory()); in test_getFileAttributeView() 342 .readAttributes(filesSetup.getDataFilePath(), in test_readAttributes() 349 provider.readAttributes(filesSetup.getTestPath(), BasicFileAttributes.class); in test_readAttributes() 357 provider.readAttributes(filesSetup.getDataFilePath(), in test_readAttributes_NPE() 363 provider.readAttributes(null, BasicFileAttributes.class); in test_readAttributes_NPE()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixFileAttributeViews.java | 48 public BasicFileAttributes readAttributes() throws IOException { in readAttributes() method in UnixFileAttributeViews.Basic 202 public Map<String,Object> readAttributes(String[] requested) in readAttributes() method in UnixFileAttributeViews.Posix 207 PosixFileAttributes attrs = readAttributes(); in readAttributes() 213 public UnixFileAttributes readAttributes() throws IOException { in readAttributes() method in UnixFileAttributeViews.Posix 279 return readAttributes().owner(); in getOwner() 340 public Map<String,Object> readAttributes(String[] requested) in readAttributes() method in UnixFileAttributeViews.Unix 345 UnixFileAttributes attrs = readAttributes(); in readAttributes()
|
D | LinuxFileSystemProvider.java | 99 public <A extends BasicFileAttributes> A readAttributes(Path file, in readAttributes() method in LinuxFileSystemProvider 115 return super.readAttributes(file, type, options); in readAttributes()
|
D | UnixFileStore.java | 107 private UnixFileStoreAttributes readAttributes() throws IOException { in readAttributes() method in UnixFileStore 118 UnixFileStoreAttributes attrs = readAttributes(); in getTotalSpace() 124 UnixFileStoreAttributes attrs = readAttributes(); in getUsableSpace() 130 UnixFileStoreAttributes attrs = readAttributes(); in getUnallocatedSpace()
|
D | FileOwnerAttributeViewImpl.java | 73 public Map<String,Object> readAttributes(String[] attributes) throws IOException { in readAttributes() method in FileOwnerAttributeViewImpl 89 return ((PosixFileAttributeView)view).readAttributes().owner(); in getOwner()
|
D | AbstractFileSystemProvider.java | 83 …public final Map<String,Object> readAttributes(Path file, String attributes, LinkOption... options) in readAttributes() method in AbstractFileSystemProvider 92 return view.readAttributes(s[1].split(",")); in readAttributes()
|
D | DynamicFileAttributeView.java | 45 Map<String,Object> readAttributes(String[] attributes) throws IOException; in readAttributes() method
|
D | LinuxDosFileAttributeView.java | 98 public Map<String,Object> readAttributes(String[] attributes) in readAttributes() method in LinuxDosFileAttributeView 103 DosFileAttributes attrs = readAttributes(); in readAttributes() 117 public DosFileAttributes readAttributes() throws IOException { in readAttributes() method in LinuxDosFileAttributeView
|
D | AbstractBasicFileAttributeView.java | 163 public Map<String,Object> readAttributes(String[] requested) in readAttributes() method in AbstractBasicFileAttributeView 168 addRequestedBasicAttributes(readAttributes(), builder); in readAttributes()
|
D | AbstractUserDefinedFileAttributeView.java | 76 public final Map<String,Object> readAttributes(String[] attributes) in readAttributes() method in AbstractUserDefinedFileAttributeView
|
D | UnixSecureDirectoryStream.java | 369 public BasicFileAttributes readAttributes() throws IOException { in readAttributes() method in UnixSecureDirectoryStream.BasicFileAttributeViewImpl 468 public PosixFileAttributes readAttributes() throws IOException { in readAttributes() method in UnixSecureDirectoryStream.PosixFileAttributeViewImpl 548 return readAttributes().owner(); in getOwner()
|
D | UnixFileSystemProvider.java | 130 public <A extends BasicFileAttributes> A readAttributes(Path file, in readAttributes() method in UnixFileSystemProvider 144 return (A) getFileAttributeView(file, view, options).readAttributes(); in readAttributes()
|
D | PollingWatchService.java | 147 BasicFileAttributes attrs = Files.readAttributes(path, BasicFileAttributes.class);
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | Files.java | 1732 public static <A extends BasicFileAttributes> A readAttributes(Path path, 1737 return provider(path).readAttributes(path, type, options); 1869 Map<String,Object> map = readAttributes(path, attribute, options); 1960 public static Map<String,Object> readAttributes(Path path, String attributes, 1964 return provider(path).readAttributes(path, attributes, options); 2004 return readAttributes(path, PosixFileAttributes.class, options).permissions(); 2153 return readAttributes(path, 2192 return readAttributes(path, BasicFileAttributes.class, options).isDirectory(); 2229 return readAttributes(path, BasicFileAttributes.class, options).isRegularFile(); 2266 return readAttributes(path, BasicFileAttributes.class, options).lastModifiedTime(); [all …]
|
D | FileTreeWalker.java | 219 attrs = Files.readAttributes(file, BasicFileAttributes.class, linkOptions); in getAttributes() 225 attrs = Files.readAttributes(file, in getAttributes()
|
D | CopyMoveHelper.java | 109 BasicFileAttributes attrs = Files.readAttributes(source, in copyToForeignTarget()
|
/libcore/ojluni/src/main/java/java/nio/file/attribute/ |
D | BasicFileAttributeView.java | 124 BasicFileAttributes readAttributes() throws IOException; in readAttributes() method
|
D | DosFileAttributeView.java | 98 DosFileAttributes readAttributes() throws IOException; in readAttributes() method
|
D | PosixFileAttributeView.java | 157 PosixFileAttributes readAttributes() throws IOException; in readAttributes() method
|
/libcore/luni/src/test/filesystems/src/mypackage/ |
D | MockFileSystemProvider.java | 123 public <A extends BasicFileAttributes> A readAttributes(Path path, Class<A> type, in readAttributes() method in MockFileSystemProvider 129 public Map<String, Object> readAttributes(Path path, String attributes, in readAttributes() method in MockFileSystemProvider
|
/libcore/ojluni/src/main/java/java/nio/file/spi/ |
D | FileSystemProvider.java | 1033 readAttributes(Path path, Class<A> type, LinkOption... options) throws IOException; in readAttributes() method in FileSystemProvider 1064 public abstract Map<String,Object> readAttributes(Path path, String attributes, in readAttributes() method in FileSystemProvider
|