Searched refs:capacity (Results 1 – 13 of 13) sorted by relevance
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
D | AbstractDirectory.java | 48 private int capacity; field in AbstractDirectory 60 int capacity, boolean readOnly, boolean isRoot) { in AbstractDirectory() argument 63 this.capacity = capacity; in AbstractDirectory() 117 if (newEntries.size() > capacity) in setEntries() 135 this.capacity = (int) newCount; in sizeChanged() 150 return this.capacity; in getCapacity()
|
D | Sector.java | 58 buffer.limit(buffer.capacity()); in read() 84 buffer.limit(buffer.capacity()); in write()
|
D | Fat32BootSector.java | 195 buffer.limit(buffer.capacity()); in writeCopy()
|
/tools/apksig/src/test/java/com/android/apksig/util/ |
D | DataSourceTestBase.java | 102 assertEquals(0, ds.getByteBuffer(0, 0).capacity()); in testGetByteBuffer() 103 assertEquals(0, ds.getByteBuffer(ds.size(), 0).capacity()); in testGetByteBuffer() 104 assertEquals(0, ds.getByteBuffer(ds.size() - 1, 0).capacity()); in testGetByteBuffer() 105 assertEquals(0, ds.getByteBuffer(ds.size() - 2, 0).capacity()); in testGetByteBuffer() 106 assertEquals(0, slice.getByteBuffer(0, 0).capacity()); in testGetByteBuffer() 107 assertEquals(0, slice.getByteBuffer(slice.size(), 0).capacity()); in testGetByteBuffer() 108 assertEquals(0, slice.getByteBuffer(slice.size() - 1, 0).capacity()); in testGetByteBuffer() 109 assertEquals(0, slice.getByteBuffer(slice.size() - 2, 0).capacity()); in testGetByteBuffer() 241 assertEquals(size, buf.capacity()); in assertGetByteBufferEquals()
|
D | DataSourceFromByteBufferTest.java | 39 buf.limit(buf.capacity()); in testChangesToBufferPosAndLimitNotVisible()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/ |
D | AndroidBinXmlParser.java | 658 if (offsetInStringsSection >= mStringsSection.capacity()) { in getString() 661 + ", max: " + (mStringsSection.capacity() - 1)); in getString() 799 int capacity = source.capacity(); in sliceFromTo() local 800 if (end > source.capacity()) { in sliceFromTo() 801 throw new IllegalArgumentException("end > capacity: " + end + " > " + capacity); in sliceFromTo() 819 int capacity = source.capacity(); in sliceFromTo() local 820 if (end > source.capacity()) { in sliceFromTo() 821 throw new IllegalArgumentException("end > capacity: " + end + " > " + capacity); in sliceFromTo()
|
D | ApkSigningBlockUtils.java | 236 ByteBuffer pairs = sliceFromTo(apkSigningBlock, 8, apkSigningBlock.capacity() - 24); in findApkSignatureSchemeBlock() 288 int capacity = source.capacity(); in sliceFromTo() local 289 if (end > source.capacity()) { in sliceFromTo() 290 throw new IllegalArgumentException("end > capacity: " + end + " > " + capacity); in sliceFromTo()
|
/tools/loganalysis/src/com/android/loganalysis/item/ |
D | BatteryUsageItem.java | 97 public void setBatteryCapacity(int capacity) { in setBatteryCapacity() argument 98 mBatteryCapacity = capacity; in setBatteryCapacity()
|
/tools/test/connectivity/acts/framework/acts/test_utils/bt/ |
D | bluetooth.proto | 30 // Number of BluetoothSession including discarded ones beyond capacity 33 // Number of PairEvent including discarded ones beyond capacity 36 // Number of WakeEvent including discarded ones beyond capacity 39 // Number of ScanEvent including discarded ones beyond capacity
|
/tools/apksig/src/test/java/com/android/apksig/internal/util/ |
D | ByteBufferSinkTestBase.java | 35 buf.limit(buf.capacity() - 300); in createDataSink()
|
/tools/apksig/src/main/java/com/android/apksig/internal/zip/ |
D | ZipUtils.java | 214 int archiveSize = zipContents.capacity(); in findZipEndOfCentralDirectoryRecord()
|
D | LocalFileRecord.java | 89 return (mExtra.capacity() > 0) ? mExtra.slice() : mExtra; in getExtra()
|
/tools/apksig/src/main/java/com/android/apksig/apk/ |
D | ApkUtils.java | 217 if ((apkSigBlockSizeInFooter < footer.capacity()) in findApkSigningBlock()
|