/tools/external/fat32lib/src/main/java/de/waldheinz/fs/ |
D | UnknownFileSystemException.java | 32 private final BlockDevice device; field in UnknownFileSystemException 40 public UnknownFileSystemException(BlockDevice device) { in UnknownFileSystemException() argument 42 this.device = device; in UnknownFileSystemException() 52 return this.device; in getDevice()
|
D | FileSystemFactory.java | 48 public static FileSystem create(BlockDevice device, boolean readOnly) in create() argument 51 return FatFileSystem.read(device, readOnly); in create()
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
D | SuperFloppyFormatter.java | 85 private final BlockDevice device; field in SuperFloppyFormatter 101 private SuperFloppyFormatter(BlockDevice device) throws IOException { in SuperFloppyFormatter() argument 102 this.device = device; in SuperFloppyFormatter() 189 final int sectorSize = device.getSectorSize(); in format() 190 final int totalSectors = (int)(device.getSize() / sectorSize); in format() 197 bs = new Fat32BootSector(device); in format() 213 bs = new Fat16BootSector(device); in format() 219 device.getSectorSize(), totalSectors); in format() 233 f32bs.writeCopy(device); in format() 259 FatFileSystem fs = FatFileSystem.read(device, false); in format() [all …]
|
D | Sector.java | 31 private final BlockDevice device; field in Sector 41 protected Sector(BlockDevice device, long offset, int size) { in Sector() argument 43 this.device = device; in Sector() 59 device.read(offset, buffer); in read() 77 return this.device; in getDevice() 85 device.write(offset, buffer); in write()
|
D | Fat16RootDirectory.java | 31 private final BlockDevice device; field in Fat16RootDirectory 41 this.device = bs.getDevice(); in Fat16RootDirectory() 80 this.device.read(deviceOffset, data); in read() 85 this.device.write(deviceOffset, data); in write()
|
D | Fat32BootSector.java | 57 public Fat32BootSector(BlockDevice device) throws IOException { in Fat32BootSector() argument 58 super(device); in Fat32BootSector() 191 public void writeCopy(BlockDevice device) throws IOException { in writeCopy() argument 196 device.write(offset, buffer); in writeCopy()
|
D | BootSector.java | 69 protected BootSector(BlockDevice device) { in BootSector() argument 70 super(device, 0, SIZE); in BootSector() 74 public static BootSector read(BlockDevice device) throws IOException { in read() argument 77 device.read(0, bb); in read() 91 (device.getSectorSize() - 1)) / device.getSectorSize(); in read() 115 new Fat32BootSector(device) : new Fat16BootSector(device); in read()
|
D | FatFileSystem.java | 63 private FatFileSystem(BlockDevice device, boolean readOnly, in FatFileSystem() argument 69 this.bs = BootSector.read(device); in FatFileSystem() 120 public static FatFileSystem read(BlockDevice device, boolean readOnly) in read() argument 123 return new FatFileSystem(device, readOnly); in read()
|
D | ClusterChain.java | 34 private final BlockDevice device; field in ClusterChain 63 this.device = fat.getDevice(); in ClusterChain() 78 return device; in getDevice() 263 device.write(getDevOffset(chain[chainIdx], clusOfs), srcBuf); in writeData() 274 device.write(getDevOffset(chain[chainIdx], 0), srcBuf); in writeData()
|
D | FsInfoSector.java | 47 private FsInfoSector(BlockDevice device, long offset) { in FsInfoSector() argument 48 super(device, offset, BootSector.SIZE); in FsInfoSector()
|
D | Fat.java | 44 private final BlockDevice device; field in Fat 122 this.device = bs.getDevice(); in Fat() 161 return device; in getDevice() 179 device.read(offset, ByteBuffer.wrap(data)); in read() 202 device.write(offset, ByteBuffer.wrap(data)); in writeCopy()
|
D | Fat16BootSector.java | 93 public Fat16BootSector(BlockDevice device) { in Fat16BootSector() argument 94 super(device); in Fat16BootSector()
|