Home
last modified time | relevance | path

Searched refs:FileSystemProvider (Results 1 – 25 of 25) sorted by relevance

/libcore/ojluni/src/main/java/java/nio/file/
DFileSystems.java28 import java.nio.file.spi.FileSystemProvider;
95 FileSystemProvider provider = AccessController in defaultFileSystem()
96 .doPrivileged(new PrivilegedAction<FileSystemProvider>() { in defaultFileSystem()
97 public FileSystemProvider run() { in defaultFileSystem()
107 private static FileSystemProvider getDefaultProvider() { in getDefaultProvider()
108 FileSystemProvider provider = sun.nio.fs.DefaultFileSystemProvider.create(); in getDefaultProvider()
120 .getDeclaredConstructor(FileSystemProvider.class); in getDefaultProvider()
121 provider = (FileSystemProvider)ctor.newInstance(provider); in getDefaultProvider()
219 for (FileSystemProvider provider: FileSystemProvider.installedProviders()) { in getFileSystem()
324 for (FileSystemProvider provider: FileSystemProvider.installedProviders()) { in newFileSystem()
[all …]
DPaths.java28 import java.nio.file.spi.FileSystemProvider;
141 for (FileSystemProvider provider: FileSystemProvider.installedProviders()) { in get()
DFileSystem.java29 import java.nio.file.spi.FileSystemProvider;
112 public abstract FileSystemProvider provider(); in provider()
DPath.java31 import java.nio.file.spi.FileSystemProvider;
206 for (FileSystemProvider provider: FileSystemProvider.installedProviders()) { in of()
DFiles.java59 import java.nio.file.spi.FileSystemProvider;
96 private static FileSystemProvider provider(Path path) { in provider()
1271 FileSystemProvider provider = provider(source);
1392 FileSystemProvider provider = provider(source);
/libcore/ojluni/src/main/java/java/nio/file/spi/
DFileSystemProvider.java77 public abstract class FileSystemProvider { class
82 private static volatile List<FileSystemProvider> installedProviders;
93 private FileSystemProvider(Void ignore) { } in FileSystemProvider() method in FileSystemProvider
107 protected FileSystemProvider() { in FileSystemProvider() method in FileSystemProvider
112 private static List<FileSystemProvider> loadInstalledProviders() { in loadInstalledProviders()
113 List<FileSystemProvider> list = new ArrayList<FileSystemProvider>(); in loadInstalledProviders()
115 ServiceLoader<FileSystemProvider> sl = ServiceLoader in loadInstalledProviders()
116 .load(FileSystemProvider.class, ClassLoader.getSystemClassLoader()); in loadInstalledProviders()
119 for (FileSystemProvider provider: sl) { in loadInstalledProviders()
125 for (FileSystemProvider p: list) { in loadInstalledProviders()
[all …]
/libcore/ojluni/src/main/java/sun/nio/fs/
DDefaultFileSystemProvider.java28 import java.nio.file.spi.FileSystemProvider;
40 private static FileSystemProvider createProvider(String cn) { in createProvider()
41 Class<FileSystemProvider> c; in createProvider()
43 c = (Class<FileSystemProvider>)Class.forName(cn); in createProvider()
57 public static FileSystemProvider create() { in create()
DDefaultFileTypeDetector.java30 import java.nio.file.spi.FileSystemProvider;
36 FileSystemProvider provider = FileSystems.getDefault().provider(); in create()
DAbstractFileSystemProvider.java31 import java.nio.file.spi.FileSystemProvider;
39 public abstract class AbstractFileSystemProvider extends FileSystemProvider {
DUnixFileSystem.java106 public final FileSystemProvider provider() { in provider()
/libcore/luni/src/test/filesystems/src/mypackage/
DMockFileSystem.java27 import java.nio.file.spi.FileSystemProvider;
59 public FileSystemProvider provider() { in provider()
DMockFileSystemProvider.java33 import java.nio.file.spi.FileSystemProvider;
37 public class MockFileSystemProvider extends FileSystemProvider {
/libcore/luni/src/test/java/libcore/java/nio/channels/
DFileChannelTest.java36 import java.nio.file.spi.FileSystemProvider;
304 FileSystemProvider mockFileSystemProvider = mock(FileSystemProvider.class); in test_open_Path_Set_FileAttributes()
332 FileSystemProvider mockFileSystemProvider = mock(FileSystemProvider.class); in test_open_Path_OpenOptions()
/libcore/ojluni/src/main/java/sun/nio/ch/
DUnixDomainSockets.java38 import java.nio.file.spi.FileSystemProvider;
103 FileSystemProvider provider = FileSystems.getDefault().provider(); in getPathBytes()
/libcore/luni/src/test/java/libcore/java/nio/file/spi/
DFileSystemProviderTest.java36 import java.nio.file.spi.FileSystemProvider;
48 class MockFileSystemProvider extends FileSystemProvider {
/libcore/luni/src/test/filesystems/
DAndroid.bp15 // Contains classes for testing loading FileSystemProvider from a custom ClassLoader.
/libcore/ojluni/src/main/java/java/nio/channels/
DAsynchronousFileChannel.java252 FileSystemProvider provider = file.getFileSystem().provider(); in open()
DFileChannel.java291 FileSystemProvider provider = path.getFileSystem().provider(); in open()
/libcore/luni/src/test/java/libcore/java/nio/file/
DFilesTest.java44 import java.nio.file.spi.FileSystemProvider;
75 private FileSystemProvider mockFileSystemProvider;
DDefaultFileSystemProvider2Test.java47 import java.nio.file.spi.FileSystemProvider;
85 private FileSystemProvider provider;
DDefaultFileSystemProviderTest.java45 import java.nio.file.spi.FileSystemProvider;
83 private FileSystemProvider provider;
DFiles2Test.java58 import java.nio.file.spi.FileSystemProvider;
108 private FileSystemProvider mockFileSystemProvider;
/libcore/
Dopenjdk_java_files.bp542 "ojluni/src/main/java/java/nio/file/spi/FileSystemProvider.java",
DEXPECTED_UPSTREAM531 …in/java/java/nio/file/spi/FileSystemProvider.java,jdk8u/jdk8u121-b13,jdk/src/share/classes/java/ni…
/libcore/api/
Dcurrent.txt7310 method public abstract java.nio.file.spi.FileSystemProvider provider();
7781 public abstract class FileSystemProvider {
7782 ctor protected FileSystemProvider();
7795 method public static java.util.List<java.nio.file.spi.FileSystemProvider> installedProviders();