/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/ |
D | AttributeServiceTest.java | 250 service.getFileAttributeView(fileLookup, TestAttributeView.class).readAttributes(); in testGetFileAttributeView() 274 ImmutableMap<String, Object> map = service.readAttributes(file, "test:foo,bar,baz"); in testReadAttributes_asMap() 279 map = service.readAttributes(file, "test:*"); in testReadAttributes_asMap() 297 map = service.readAttributes(file, "basic:*"); in testReadAttributes_asMap() 317 service.readAttributes(file, "basic:fileKey,isOther,*,creationTime"); in testReadAttributes_asMap_failsForInvalidAttributes() 324 service.readAttributes(file, "basic:fileKey,isOther,foo"); in testReadAttributes_asMap_failsForInvalidAttributes() 336 BasicFileAttributes basicAttrs = service.readAttributes(file, BasicFileAttributes.class); in testReadAttributes_asObject() 341 TestAttributes testAttrs = service.readAttributes(file, TestAttributes.class); in testReadAttributes_asObject() 347 assertThat(service.readAttributes(file, TestAttributes.class).baz()).isEqualTo(100); in testReadAttributes_asObject() 354 service.readAttributes(file, PosixFileAttributes.class); in testReadAttributes_failsForUnsupportedAttributesType()
|
D | DosAttributeProviderTest.java | 82 DosFileAttributes attrs = view.readAttributes(); in testView() 97 attrs = view.readAttributes(); in testView() 104 assertThat(view.readAttributes().lastModifiedTime()).isEqualTo(FileTime.fromMillis(0L)); in testView() 109 DosFileAttributes attrs = provider.readAttributes(file); in testAttributes() 117 attrs = provider.readAttributes(file); in testAttributes()
|
D | BasicAttributeProviderTest.java | 121 BasicFileAttributes attrs = view.readAttributes(); in testView() 130 attrs = view.readAttributes(); in testView() 137 attrs = view.readAttributes(); in testView() 145 BasicFileAttributes attrs = provider.readAttributes(file); in testAttributes()
|
D | PosixAttributeProviderTest.java | 96 PosixFileAttributes attrs = view.readAttributes(); in testView() 107 assertThat(view.readAttributes().group()).isEqualTo(createGroupPrincipal("root")); in testView() 111 assertThat(view.readAttributes().permissions()) in testView() 119 PosixFileAttributes attrs = provider.readAttributes(file); in testAttributes()
|
D | TestAttributeProvider.java | 110 public TestAttributes readAttributes(File file) { in readAttributes() method in TestAttributeProvider 130 public Attributes readAttributes() throws IOException { in readAttributes() method in TestAttributeProvider.View
|
D | TestAttributeView.java | 25 TestAttributes readAttributes() throws IOException; in readAttributes() method
|
D | JimfsFileSystemCloseTest.java | 227 view.readAttributes(); in testOpenFileAttributeViewsThrow() 409 Files.readAttributes(file, "basic:size,lastModifiedTime"); in testFilesMethodsThrow() 415 Files.readAttributes(file, BasicFileAttributes.class); in testFilesMethodsThrow()
|
D | JimfsUnixLikeFileSystemTest.java | 1583 BasicFileAttributes attributes = Files.readAttributes(bar, BasicFileAttributes.class); in testCopy_withCopyAttributes() 1593 attributes = Files.readAttributes(baz, BasicFileAttributes.class); in testCopy_withCopyAttributes() 2016 .readAttributes() in testSecureDirectoryStream() 2023 .readAttributes() in testSecureDirectoryStream() 2046 .readAttributes() in testSecureDirectoryStream() 2053 .readAttributes() in testSecureDirectoryStream() 2063 .readAttributes() in testSecureDirectoryStream() 2070 .readAttributes() in testSecureDirectoryStream() 2091 .readAttributes() in testSecureDirectoryStream() 2205 view1.readAttributes(); in testClosedSecureDirectoryStreamAttributeViewAndIterator() [all …]
|
D | AbstractJimfsIntegrationTest.java | 90 return Files.readAttributes(path, BasicFileAttributes.class); in attrs()
|
/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/ |
D | JimfsFileStore.java | 182 ImmutableMap<String, Object> readAttributes(File file, String attributes) { in readAttributes() method in JimfsFileStore 184 return this.attributes.readAttributes(file, attributes); in readAttributes() 192 <A extends BasicFileAttributes> A readAttributes(File file, Class<A> type) { in readAttributes() method in JimfsFileStore 194 return attributes.readAttributes(file, type); in readAttributes()
|
D | JimfsFileSystemProvider.java | 306 return view.readAttributes(checkedPath, DosFileAttributes.class, Options.NOFOLLOW_LINKS) in isHidden() 333 public <A extends BasicFileAttributes> A readAttributes( in readAttributes() method in JimfsFileSystemProvider 337 .readAttributes(checkedPath, type, Options.getLinkOptions(options)); in readAttributes() 341 public Map<String, Object> readAttributes(Path path, String attributes, LinkOption... options) in readAttributes() method in JimfsFileSystemProvider 345 .readAttributes(checkedPath, attributes, Options.getLinkOptions(options)); in readAttributes()
|
D | DosAttributeProvider.java | 113 public DosFileAttributes readAttributes(File file) { in readAttributes() method in DosAttributeProvider 133 public DosFileAttributes readAttributes() throws IOException { in readAttributes() method in DosAttributeProvider.View
|
D | BasicAttributeProvider.java | 128 public BasicFileAttributes readAttributes(File file) { in readAttributes() method in BasicAttributeProvider 145 public BasicFileAttributes readAttributes() throws IOException { in readAttributes() method in BasicAttributeProvider.View
|
D | PosixAttributeProvider.java | 185 public PosixFileAttributes readAttributes(File file) { in readAttributes() method in PosixAttributeProvider 208 public PosixFileAttributes readAttributes() throws IOException { in readAttributes() method in PosixAttributeProvider.View
|
D | SystemJimfsFileSystemProvider.java | 261 public <A extends BasicFileAttributes> A readAttributes( 267 public Map<String, Object> readAttributes(Path path, String attributes, LinkOption... options)
|
D | AttributeService.java | 310 public ImmutableMap<String, Object> readAttributes(File file, String attributes) { in readAttributes() method in AttributeService 345 public <A extends BasicFileAttributes> A readAttributes(File file, Class<A> type) { in readAttributes() method in AttributeService 348 return (A) provider.readAttributes(file); in readAttributes()
|
D | FileSystemView.java | 715 public <A extends BasicFileAttributes> A readAttributes( 718 return store.readAttributes(file, type); 722 public ImmutableMap<String, Object> readAttributes( 725 return store.readAttributes(file, attributes);
|
D | AttributeProvider.java | 122 public BasicFileAttributes readAttributes(File file) { in readAttributes() method in AttributeProvider
|
/external/guava/guava/src/com/google/common/io/ |
D | MoreFiles.java | 119 private BasicFileAttributes readAttributes() throws IOException { in readAttributes() method in MoreFiles.PathByteSource 120 return Files.readAttributes( in readAttributes() 130 attrs = readAttributes(); in sizeIfKnown() 147 BasicFileAttributes attrs = readAttributes(); in size() 341 .readAttributes()
|
/external/apache-commons-io/src/main/java/org/apache/commons/io/file/ |
D | FilesUncheck.java | 571 …public static <A extends BasicFileAttributes> A readAttributes(final Path path, final Class<A> typ… in readAttributes() method in FilesUncheck 572 return Uncheck.apply(Files::readAttributes, path, type, options); in readAttributes() 584 …public static Map<String, Object> readAttributes(final Path path, final String attributes, final L… in readAttributes() method in FilesUncheck 585 return Uncheck.apply(Files::readAttributes, path, attributes, options); in readAttributes()
|
D | PathUtils.java | 1226 …public static <A extends BasicFileAttributes> A readAttributes(final Path path, final Class<A> typ… 1228 return path == null ? null : Uncheck.apply(Files::readAttributes, path, type, options); 1246 return Files.readAttributes(path, BasicFileAttributes.class); 1259 return readAttributes(path, BasicFileAttributes.class, options); 1287 return readAttributes(path, DosFileAttributes.class, options); 1318 return readAttributes(path, PosixFileAttributes.class, options); 1732 …lk(final Path start, final PathFilter pathFilter, final int maxDepth, final boolean readAttributes, 1735 ….filter(path -> pathFilter.accept(path, readAttributes ? readBasicFileAttributesUnchecked(path) : …
|
/external/apache-commons-bcel/src/main/java/org/apache/bcel/classfile/ |
D | ClassParser.java | 155 readAttributes(); in parse() 202 private void readAttributes() throws IOException, ClassFormatException { in readAttributes() method in ClassParser
|
/external/apache-commons-io/src/test/java/org/apache/commons/io/file/ |
D | FilesUncheckTest.java | 368 …assertNotNull(FilesUncheck.readAttributes(FILE_PATH_EMPTY, BasicFileAttributes.class, LinkOption.N… in testReadAttributesPathClassOfALinkOptionArray() 373 …assertNotNull(FilesUncheck.readAttributes(FILE_PATH_EMPTY, "basic:lastModifiedTime", LinkOption.NO… in testReadAttributesPathStringLinkOptionArray()
|
D | PathUtilsTest.java | 395 … assertEquals(isPosix, PathUtils.readAttributes(current(), PosixFileAttributes.class) != null); in testReadAttributesPosix() 458 assertTrue(dosFileAttributeView.readAttributes().isReadOnly()); in testSetReadOnlyFile()
|