Home
last modified time | relevance | path

Searched refs:newFileChannel (Results 1 – 8 of 8) sorted by relevance

/libcore/luni/src/test/java/libcore/java/nio/file/
DDefaultFileSystemProvider2Test.java410 provider.newFileChannel(filesSetup.getTestPath(), openOptions); in test_newFileChannel()
423 provider.newFileChannel(filesSetup.getTestPath(), openOptions); in test_newFileChannel()
433 FileChannel fc = provider.newFileChannel(filesSetup.getDataFilePath(), openOptions); in test_newFileChannel()
443 FileChannel fc = provider.newFileChannel(filesSetup.getDataFilePath(), openOptions); in test_newFileChannel()
453 FileChannel fc = provider.newFileChannel(filesSetup.getDataFilePath(), openOptions); in test_newFileChannel()
465 FileChannel fc = provider.newFileChannel(filesSetup.getDataFilePath(), openOptions); in test_newFileChannel()
479 FileChannel fc = provider.newFileChannel(filesSetup.getDataFilePath(), openOptions); in test_newFileChannel()
492 FileChannel fc = provider.newFileChannel(filesSetup.getDataFilePath(), openOptions); in test_newFileChannel()
507 provider.newFileChannel(filesSetup.getTestPath(), openOptions); in test_newFileChannel_NoSuchFileException()
543 provider.newFileChannel(filesSetup.getTestPath(), openOptions, unsupportedAttr); in test_newFileChannel_withFileAttributes()
[all …]
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixChannelFactory.java103 static FileChannel newFileChannel(int fd, String path, boolean reading, boolean writing) { in newFileChannel() method in UnixChannelFactory
112 static FileChannel newFileChannel(int dfd, in newFileChannel() method in UnixChannelFactory
143 static FileChannel newFileChannel(UnixPath path, in newFileChannel() method in UnixChannelFactory
148 return newFileChannel(-1, path, null, options, mode); in newFileChannel()
DUnixFileSystemProvider.java166 public FileChannel newFileChannel(Path obj, in newFileChannel() method in UnixFileSystemProvider
175 return UnixChannelFactory.newFileChannel(file, options, mode); in newFileChannel()
212 return UnixChannelFactory.newFileChannel(file, options, mode); in newByteChannel()
DUnixSecureDirectoryStream.java171 return UnixChannelFactory.newFileChannel(dfd, file, pathToCheck, options, mode); in newByteChannel()
/libcore/luni/src/main/java/java/nio/
DNioUtils.java66 public static FileChannel newFileChannel(Closeable ioObject, FileDescriptor fd, int mode) { in newFileChannel() method in NioUtils
/libcore/ojluni/src/main/java/java/nio/channels/
DFileChannel.java287 return provider.newFileChannel(path, options, attrs); in open()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DFileChannelTest.java316 when(mockFileSystemProvider.newFileChannel(mockPath, standardOpenOptions, in test_open_Path_Set_FileAttributes()
341 when(mockFileSystemProvider.newFileChannel(mockPath, standardOpenOptions)) in test_open_Path_OpenOptions()
/libcore/ojluni/src/main/java/java/nio/file/spi/
DFileSystemProvider.java471 public FileChannel newFileChannel(Path path, in newFileChannel() method in FileSystemProvider