Home
last modified time | relevance | path

Searched refs:readOnly (Results 1 – 12 of 12) sorted by relevance

/tools/external/fat32lib/src/main/java/de/waldheinz/fs/util/
DFileDisk.java44 private final boolean readOnly; field in FileDisk
57 public FileDisk(File file, boolean readOnly) throws FileNotFoundException { in FileDisk() argument
60 this.readOnly = readOnly; in FileDisk()
62 final String modeString = readOnly ? "r" : "rw"; //NOI18N in FileDisk()
67 public FileDisk(RandomAccessFile raf, FileChannel fc, boolean readOnly) { in FileDisk() argument
71 this.readOnly = readOnly; in FileDisk()
74 private FileDisk(RandomAccessFile raf, boolean readOnly) { in FileDisk() argument
78 this.readOnly = readOnly; in FileDisk()
129 if (this.readOnly) throw new ReadOnlyException(); in write()
178 return this.readOnly; in isReadOnly()
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/
DAbstractFsObject.java34 private final boolean readOnly; field in AbstractFsObject
47 protected AbstractFsObject(boolean readOnly) { in AbstractFsObject() argument
49 this.readOnly = readOnly; in AbstractFsObject()
109 return this.readOnly; in isReadOnly()
DAbstractFileSystem.java31 private final boolean readOnly; field in AbstractFileSystem
39 public AbstractFileSystem(boolean readOnly) { in AbstractFileSystem() argument
41 this.readOnly = readOnly; in AbstractFileSystem()
62 return readOnly; in isReadOnly()
DFileSystemFactory.java48 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/
DFatFileSystem.java50 FatFileSystem(BlockDevice api, boolean readOnly) throws IOException { in FatFileSystem() argument
52 this(api, readOnly, false); in FatFileSystem()
63 private FatFileSystem(BlockDevice device, boolean readOnly, in FatFileSystem() argument
67 super(readOnly); in FatFileSystem()
101 Fat16RootDirectory.read((Fat16BootSector) bs,readOnly); in FatFileSystem()
120 public static FatFileSystem read(BlockDevice device, boolean readOnly) in read() argument
123 return new FatFileSystem(device, readOnly); in read()
DFat16RootDirectory.java34 private Fat16RootDirectory(Fat16BootSector bs, boolean readOnly) { in Fat16RootDirectory() argument
35 super(bs.getRootDirEntryCount(), readOnly, true); in Fat16RootDirectory() local
54 Fat16BootSector bs, boolean readOnly) throws IOException { in read() argument
56 final Fat16RootDirectory result = new Fat16RootDirectory(bs, readOnly); in read()
DAbstractDirectory.java44 private final boolean readOnly; field in AbstractDirectory
60 int capacity, boolean readOnly, boolean isRoot) { in AbstractDirectory() argument
64 this.readOnly = readOnly; in AbstractDirectory()
164 return readOnly; in isReadOnly()
DClusterChain.java46 public ClusterChain(Fat fat, boolean readOnly) { in ClusterChain() argument
47 this(fat, 0, readOnly); in ClusterChain()
50 public ClusterChain(Fat fat, long startCluster, boolean readOnly) { in ClusterChain() argument
51 super(readOnly); in ClusterChain()
DFatDirectoryEntry.java69 FatDirectoryEntry(byte[] data, boolean readOnly) { in FatDirectoryEntry() argument
70 super(readOnly); in FatDirectoryEntry()
94 public static FatDirectoryEntry read(ByteBuffer buff, boolean readOnly) { in read() argument
105 return new FatDirectoryEntry(data, readOnly); in read()
DFatLfnDirectoryEntry.java167 public void setReadOnlyFlag(boolean readOnly) throws ReadOnlyException { in setReadOnlyFlag() argument
170 this.realEntry.setReadonlyFlag(readOnly); in setReadOnlyFlag()
DFatLfnDirectory.java65 FatLfnDirectory(AbstractDirectory dir, Fat fat, boolean readOnly) in FatLfnDirectory() argument
68 super(readOnly); in FatLfnDirectory()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DZFile.java420 private boolean readOnly; field in ZFile
462 public ZFile(@Nonnull File file, @Nonnull ZFileOptions options, boolean readOnly) in ZFile() argument
470 this.readOnly = readOnly; in ZFile()
492 } else if (readOnly) { in ZFile()
972 if (readOnly) { in checkNotInReadOnlyMode()
1282 if (!readOnly) { in close()
1581 Verify.verify(!readOnly); in reopenRw()