Home
last modified time | relevance | path

Searched refs:getFileSystem (Results 1 – 23 of 23) sorted by relevance

/libcore/ojluni/src/main/java/sun/nio/fs/
DAbstractPath.java43 return startsWith(getFileSystem().getPath(other)); in startsWith()
48 return endsWith(getFileSystem().getPath(other)); in endsWith()
53 return resolve(getFileSystem().getPath(other)); in resolve()
66 return resolveSibling(getFileSystem().getPath(other)); in resolveSibling()
DUnixPath.java168 if (getFileSystem().needToResolveAgainstDefaultDirectory()) { in getByteArrayForSysCalls()
169 return resolve(getFileSystem().defaultDirectory(), path); in getByteArrayForSysCalls()
188 if (getFileSystem().needToResolveAgainstDefaultDirectory()) { in getPathForPermissionCheck()
254 return new UnixPath(getFileSystem(), new byte[0]); in emptyPath()
258 public UnixFileSystem getFileSystem() { in getFileSystem() method in UnixPath
265 return getFileSystem().rootDirectory(); in getRoot()
289 return new UnixPath(getFileSystem(), result); in getFileName()
308 return new UnixPath(getFileSystem(), result); in getParent()
336 return new UnixPath(getFileSystem(), result); in getName()
365 return new UnixPath(getFileSystem(), result); in subpath()
[all …]
DLinuxFileStore.java57 LinuxFileSystem fs = (LinuxFileSystem)file().getFileSystem(); in findMountEntry()
143 UnixPath dir = new UnixPath(file().getFileSystem(), entry().dir()); in supportsFileAttributeView()
DUnixCopyFile.java185 source.getFileSystem().copyNonPosixAttributes(sfd, dfd); in copyDirectory()
267 source.getFileSystem().copyNonPosixAttributes(fi, fo); in copyFile()
DUnixFileSystemProvider.java91 public final FileSystem getFileSystem(URI uri) { in getFileSystem() method in UnixFileSystemProvider
499 return new UnixPath(link.getFileSystem(), target); in readSymbolicLink()
/libcore/ojluni/src/main/java/java/nio/file/
DFileSystems.java103 return provider.getFileSystem(URI.create("file:///")); in defaultFileSystem()
217 public static FileSystem getFileSystem(URI uri) { in getFileSystem() method in FileSystems
221 return provider.getFileSystem(uri); in getFileSystem()
DTempFileHelper.java60 Path name = dir.getFileSystem().getPath(prefix + Long.toString(n) + suffix); in generatePath()
96 if (isPosix && (dir.getFileSystem() == FileSystems.getDefault())) { in create()
DPath.java106 FileSystem getFileSystem(); in getFileSystem() method
DFiles.java97 return path.getFileSystem().provider(); in provider()
517 FileSystem fs = dir.getFileSystem();
/libcore/ojluni/src/main/java/java/io/
DDefaultFileSystem.java37 public static FileSystem getFileSystem() { in getFileSystem() method in DefaultFileSystem
DFile.java162 private static final FileSystem fs = DefaultFileSystem.getFileSystem();
/libcore/luni/src/test/java/libcore/java/nio/file/
DFileSystemsTest.java63 FileSystem fs = FileSystems.getFileSystem(testPath.toUri()); in test_getFileSystem()
67 FileSystems.getFileSystem(null); in test_getFileSystem()
DDefaultFileSystemProvider2Test.java89 provider = filesSetup.getDataFilePath().getFileSystem().provider(); in setUp()
643 assertNotNull(provider.getFileSystem(testPath.toUri())); in test_newFileSystem$URI$Map()
646 provider.getFileSystem(null); in test_newFileSystem$URI$Map()
653 provider.getFileSystem(stubURI); in test_newFileSystem$URI$Map()
DFilesTest.java79 when(mockPath.getFileSystem()).thenReturn(mockFileSystem); in setUp()
80 when(mockPath2.getFileSystem()).thenReturn(mockFileSystem); in setUp()
DLinuxPathTest.java69 assertTrue(fakePath.getFileSystem().provider() instanceof in test_getFileSystem()
DDefaultFileSystemProviderTest.java87 provider = filesSetup.getDataFilePath().getFileSystem().provider(); in setUp()
DFiles2Test.java112 when(mockPath.getFileSystem()).thenReturn(mockFileSystem); in setUp()
113 when(mockPath2.getFileSystem()).thenReturn(mockFileSystem); in setUp()
/libcore/ojluni/src/main/java/java/nio/channels/
DAsynchronousFileChannel.java247 FileSystemProvider provider = file.getFileSystem().provider(); in open()
DFileChannel.java286 FileSystemProvider provider = path.getFileSystem().provider(); in open()
/libcore/ojluni/src/test/java/nio/file/attribute/
DPosixFileAttributeViewTest.java280 UserPrincipalLookupService lookupService = dir.getFileSystem() in lookupPrincipalTests()
349 UserPrincipalLookupService lookupService = dir.getFileSystem() in exceptionsTests()
/libcore/luni/src/test/filesystems/src/mypackage/
DMockFileSystemProvider.java55 public FileSystem getFileSystem(URI uri) { in getFileSystem() method in MockFileSystemProvider
/libcore/luni/src/test/java/libcore/java/nio/channels/
DFileChannelTest.java314 when(mockPath.getFileSystem()).thenReturn(mockFileSystem); in test_open_Path_Set_FileAttributes()
339 when(mockPath.getFileSystem()).thenReturn(mockFileSystem); in test_open_Path_OpenOptions()
/libcore/ojluni/src/main/java/java/nio/file/spi/
DFileSystemProvider.java269 public abstract FileSystem getFileSystem(URI uri); in getFileSystem() method in FileSystemProvider