Searched refs:fileSystem (Results 1 - 4 of 4) sorted by relevance
/dalvik/libcore/luni/src/main/java/java/io/ |
H A D | FileOutputStream.java | 53 private IFileSystem fileSystem = Platform.getFileSystem(); field in class:FileOutputStream 97 fd.descriptor = fileSystem.open(file.pathBytes, 196 fileSystem.close(fd.descriptor); 297 fileSystem.write(fd.descriptor, buffer, offset, count); 315 fileSystem.write(fd.descriptor, byteArray, 0, 1);
|
H A D | FileInputStream.java | 50 private IFileSystem fileSystem = Platform.getFileSystem(); field in class:FileInputStream 82 fd.descriptor = fileSystem.open(file.pathBytes, IFileSystem.O_RDONLY); 148 return fileSystem.ioctlAvailable(fd.descriptor); 155 // return (int) fileSystem.ttyAvailable(); 158 // long currentPosition = fileSystem.seek(fd.descriptor, 0L, 160 // long endOfFilePosition = fileSystem.seek(fd.descriptor, 0L, 162 // fileSystem.seek(fd.descriptor, currentPosition, 184 fileSystem.close(fd.descriptor); 312 return (int) fileSystem.read(fd.descriptor, buffer, offset, count); 349 fileSystem [all...] |
H A D | RandomAccessFile.java | 49 private IFileSystem fileSystem = Platform.getFileSystem(); field in class:RandomAccessFile 145 fd.descriptor = fileSystem.open(file.pathBytes, options); 203 fileSystem.close(fd.descriptor); 255 return fileSystem.seek(fd.descriptor, 0L, IFileSystem.SEEK_CUR); 281 long currentPosition = fileSystem.seek(fd.descriptor, 0L, 283 long endOfFilePosition = fileSystem.seek(fd.descriptor, 0L, 285 fileSystem.seek(fd.descriptor, currentPosition, 305 long readed = fileSystem.read(fd.descriptor, bytes, 0, 1); 367 return (int) fileSystem.read(fd.descriptor, buffer, offset, count); 727 fileSystem [all...] |
/dalvik/libcore/nio/src/main/java/org/apache/harmony/nio/internal/ |
H A D | FileChannelImpl.java | 56 private static final IFileSystem fileSystem = Platform.getFileSystem(); field in class:FileChannelImpl 62 ALLOC_GRANULARITY = fileSystem.getAllocGranularity(); 124 if (fileSystem.lock(handle, position, size, lockType, wait)) { 174 fileSystem.unlock(handle, lock.position(), lock.size()); 185 fileSystem.fflush(handle, metadata); 195 fileSystem.truncate(handle, position + size); 216 return fileSystem.seek(handle, 0L, IFileSystem.SEEK_CUR); 230 fileSystem.seek(handle, newPosition, IFileSystem.SEEK_SET); 275 bytesRead = (int) fileSystem.readDirect(handle, address, 287 bytesRead = (int) fileSystem [all...] |
Completed in 139 milliseconds