Home
last modified time | relevance | path

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

12

/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DAbstractDirectory.java178 public int getSize() { in getSize() method in AbstractDirectory
271 if (getSize() == getCapacity()) { in addEntry()
281 if (getSize() + entries.length > getCapacity()) { in addEntries()
282 changeSize(getSize() + entries.length); in addEntries()
292 changeSize(getSize()); in removeEntry()
367 changeSize(getSize() - 1); in setLabel()
375 changeSize(getSize() + 1); in setLabel()
DSuperFloppyFormatter.java190 final int totalSectors = (int)(device.getSize() / sectorSize); in format()
295 return fatTypeFromSize(device.getSize()); in fatTypeFromDevice()
396 final long sectors = device.getSize() / device.getSectorSize(); in sectorsPerCluster32()
401 return sectorsPerCluster32FromSize(device.getSize(), device.getSectorSize()); in sectorsPerCluster32()
430 long size = device.getSize(); in sectorsPerCluster16()
436 long size = device.getSize(); in defaultSectorsPerCluster()
DBootSector.java155 setSectorCount(getDevice().getSize() / getDevice().getSectorSize()); in init()
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/util/
DRamDisk.java110 public long getSize() { in getSize() method in RamDisk
119 if (devOffset > getSize()){ in read()
122 sb.append(" is off size (").append(getSize()).append(")"); in read()
137 if (devOffset + src.remaining() > getSize()) throw new in write()
141 ", size=" + getSize()); in write()
DFileDisk.java103 public long getSize() throws IOException { in getSize() method in FileDisk
114 if ((devOffset + toRead) > getSize()) throw new IOException( in read()
133 if ((devOffset + toWrite) > getSize()) throw new IOException( in write()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/multi/
DMixImageZipPreparer.java159 long getSize(); in getSize() method
178 public long getSize() { in getSize() method in MixImageZipPreparer.FileInputStreamFactory
374 if (entry.getSize() < 0) { in getInputStreamFactoriesFromImageZip()
390 public long getSize() { in getInputStreamFactoriesFromImageZip()
391 return entry.getSize(); in getInputStreamFactoriesFromImageZip()
418 public long getSize() { in createStubInputStreamFactories()
456 entry.setCompressedSize(factory.getSize()); in initStoredZipEntry()
457 entry.setSize(factory.getSize()); in initStoredZipEntry()
492 if (factory.getValue().getSize() != (1L << 32) - 1) { in createZip()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DFileUseMapEntry.java48 (o1, o2) -> Ints.saturatedCast(o1.getSize() - o2.getSize());
131 long getSize() { in getSize() method in FileUseMapEntry
DZFile.java848 if (centralDirectoryEnd > eocdEntry.getSize()) { in readCentralDirectory()
1049 storedEntry.getLocalExtra().size() + Ints.checkedCast(before.getSize()); in update()
1058 long newSize = entry.getSize() + before.getSize(); in update()
1093 before.getSize() in update()
1145 int size = Ints.checkedCast(fileUseMapEntry.getSize()); in update()
1215 storedEntry.getLocalExtra().size() + Ints.checkedCast(before.getSize()); in packIfNecessary()
1477 dirSize = directoryEntry.getSize(); in computeEocd()
1715 result.getSize())); in createSources()
2143 mapEntry.getSize(), in realign()
2531 return directoryEntry.getSize(); in getCentralDirectorySize()
[all …]
DFileUseMap.java437 if (curr.getSize() < (size + extraSize)) { in locateFree()
446 long emptySpaceLeft = curr.getSize() - (size + extraSize); in locateFree()
458 if (best != null && best.getSize() < curr.getSize()) { in locateFree()
DCompressionResult.java83 public long getSize() { in getSize() method in CompressionResult
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/compress/
DBestAndDefaultDeflateExecutorCompressor.java82 double sizeRatio = bestResult.getSize() / (double) defaultResult.getSize(); in immediateCompress()
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/multi/
DMixImageZipPreparerTest.java141 public long getSize() { in getSize() method in MixImageZipPreparerTest.ByteArrayInputStreamFactory
528 Assert.assertEquals(expected.getSize(), actual.getSize()); in runCreateZipTest()
531 Assert.assertEquals(expected.getSize(), actual.getCompressedSize()); in runCreateZipTest()
533 Assert.assertTrue(expected.getSize() > actual.getCompressedSize()); in runCreateZipTest()
/tools/apksig/src/main/java/com/android/apksig/internal/zip/
DLocalFileRecord.java107 public long getSize() { in getSize() method in LocalFileRecord
300 long size = getSize(); in outputRecord()
326 long remainingRecordSize = getSize() - mDataStartOffset; in outputRecordWithModifiedExtra()
DCentralDirectoryRecord.java82 public int getSize() { in getSize() method in CentralDirectoryRecord
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/
DBlockDevice.java39 public abstract long getSize() throws IOException; in getSize() method
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/result/
DLogFile.java104 public long getSize() { in getSize() method in LogFile
/tools/tradefederation/core/javatests/com/android/tradefed/result/proto/
DProtoResultParserTest.java244 assertEquals(logFile.getSize(), capturedFile.getSize()); in testEvents()
655 assertEquals(logFile.getSize(), capturedFile.getSize()); in testEvents_subprocess()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DDynamicSystemPreparer.java158 imageSize = entry.getSize(); in getUnsparsedImageStream()
/tools/apksig/src/main/java/com/android/apksig/
DApkSigner.java422 inputOffset += inputLocalFileRecord.getSize(); in sign()
597 outputCentralDirSizeBytes += record.getSize(); in sign()
/tools/tradefederation/core/src/com/android/tradefed/util/
DGCSFileDownloader.java403 if (meta == null || meta.getSize().equals(BigInteger.ZERO)) { in fetchRemoteFile()
/tools/tradefederation/core/src/com/android/tradefed/postprocessor/
DBasePostProcessor.java508 original.getSize()); in copyLogFile()
/tools/tradefederation/core/src/com/android/tradefed/result/proto/
DProtoResultReporter.java611 .setSize(logFile.getSize()); in createFileProto()
DProtoResultParser.java634 info.getSize()); in handleLogs()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DZFileTest.java296 assertEquals(2, fooEntry.getSize());
/tools/dexter/testdata/expected/
Dmedium.wrap_invoke110920 0| invoke-static {v3}, android.view.View$MeasureSpec.getSize(int):int
114676 0| invoke-static {v2}, android.view.View$MeasureSpec.getSize(int):int
138073 0| invoke-static {v4}, android.view.View$MeasureSpec.getSize(int):int
140873 0| invoke-static {v8}, android.view.View$MeasureSpec.getSize(int):int
140881 8| invoke-static {v9}, android.view.View$MeasureSpec.getSize(int):int
153420 method com.android.ex.chips.recipientchip.ReplacementDrawableSpan.getSize(android.graphics.Paint, j…
162328 method com.android.ex.chips.recipientchip.InvisibleRecipientChip.getSize(android.graphics.Paint, ja…

12