Home
last modified time | relevance | path

Searched defs:size (Results 1 – 25 of 45) sorted by relevance

12

/tools/apksig/src/main/java/com/android/apksig/internal/util/
DByteArrayDataSink.java111 public long size() { in size() method in ByteArrayDataSink
116 public ByteBuffer getByteBuffer(long offset, int size) { in getByteBuffer()
124 public void feed(long offset, long size, DataSink sink) throws IOException { in feed()
132 public void copyTo(long offset, int size, ByteBuffer dest) throws IOException { in copyTo()
139 private void checkChunkValid(long offset, long size) { in checkChunkValid()
162 public DataSource slice(long offset, long size) { in slice()
175 private SliceDataSource(int offset, int size) { in SliceDataSource()
181 public long size() { in size() method in ByteArrayDataSink.SliceDataSource
186 public void feed(long offset, long size, DataSink sink) throws IOException { in feed()
194 public ByteBuffer getByteBuffer(long offset, int size) throws IOException { in getByteBuffer()
[all …]
DByteBufferDataSource.java50 public long size() { in size() method in ByteBufferDataSource
55 public ByteBuffer getByteBuffer(long offset, int size) { in getByteBuffer()
78 public void copyTo(long offset, int size, ByteBuffer dest) { in copyTo()
83 public void feed(long offset, long size, DataSink sink) throws IOException { in feed()
91 public ByteBufferDataSource slice(long offset, long size) { in slice()
104 private void checkChunkValid(long offset, long size) { in checkChunkValid()
DRandomAccessFileDataSource.java56 public RandomAccessFileDataSource(RandomAccessFile file, long offset, long size) { in RandomAccessFileDataSource()
69 public long size() { in size() method in RandomAccessFileDataSource
82 public RandomAccessFileDataSource slice(long offset, long size) { in slice()
93 public void feed(long offset, long size, DataSink sink) throws IOException { in feed()
116 public void copyTo(long offset, int size, ByteBuffer dest) throws IOException { in copyTo()
149 public ByteBuffer getByteBuffer(long offset, int size) throws IOException { in getByteBuffer()
159 private static void checkChunkValid(long offset, long size, long sourceSize) { in checkChunkValid()
/tools/apksig/src/main/java/com/android/apksig/util/
DDataSource.java58 long size(); in size() method
69 void feed(long offset, long size, DataSink sink) throws IOException; in feed()
85 ByteBuffer getByteBuffer(long offset, int size) throws IOException; in getByteBuffer()
97 void copyTo(long offset, int size, ByteBuffer dest) throws IOException; in copyTo()
109 DataSource slice(long offset, long size); in slice()
DDataSources.java57 public static DataSource asDataSource(RandomAccessFile file, long offset, long size) { in asDataSource()
/tools/apksig/src/test/java/com/android/apksig/util/
DDataSourceTestBase.java223 String expectedContents, DataSource ds, long offset, int size) throws IOException { in assertSliceEquals()
229 protected static void assertSliceThrowsIOOB(DataSource ds, long offset, int size) { in assertSliceThrowsIOOB()
237 String expectedContents, DataSource ds, long offset, int size) throws IOException { in assertGetByteBufferEquals()
245 protected static void assertGetByteBufferThrowsIOOB(DataSource ds, long offset, int size) in assertGetByteBufferThrowsIOOB()
254 String expectedFedContents, DataSource ds, long offset, int size) throws IOException { in assertFeedEquals()
261 protected static void assertFeedThrowsIOOB(DataSource ds, long offset, long size) in assertFeedThrowsIOOB()
270 String expectedContents, DataSource ds, long offset, int size) throws IOException { in assertCopyToEquals()
283 String expectedContents, DataSource ds, long offset, int size, ByteBuffer buf) in assertCopyToEquals()
297 protected static void assertCopyToThrowsIOOB(DataSource ds, long offset, int size) in assertCopyToThrowsIOOB()
307 DataSource ds, long offset, int size, ByteBuffer buf) throws IOException { in assertCopyToThrowsBufferOverflow()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/util/
DCircularByteArray.java29 public CircularByteArray(int size) { in CircularByteArray()
54 public int size() { in size() method in CircularByteArray
DByteArrayList.java109 void setSize(int size) { in setSize()
268 public int size() { in size() method in ByteArrayList
DFixedByteArrayOutputStream.java112 public long size() { in size() method in FixedByteArrayOutputStream
DStreamUtil.java154 int size = -1; in copyStreams() local
171 int size = -1; in copyStreamToWriter() local
DSimpleStats.java72 public int size() { in size() method in SimpleStats
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DClusterChain.java127 public long setSize(long size) throws IOException { in setSize()
210 int size = Math.min(len, in readData() local
222 int size = Math.min(clusterSize, len); in readData() local
259 int size = Math.min(len, in writeData() local
271 int size = Math.min(clusterSize, len); in writeData() local
DSuperFloppyFormatter.java376 static private int sectorsPerCluster32FromSize(long size, int sectorSize) { in sectorsPerCluster32FromSize()
406 static private int sectorsPerCluster16FromSize(long size, int sectorSize) { in sectorsPerCluster16FromSize()
430 long size = device.getSize(); in sectorsPerCluster16() local
436 long size = device.getSize(); in defaultSectorsPerCluster() local
454 static private int sectorsPerCluster12(long size, int sectorSize) { in sectorsPerCluster12()
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/util/
DRamDisk.java43 private final int size; field in RamDisk
89 public RamDisk(int size) { in RamDisk()
100 public RamDisk(int size, int sectorSize) { in RamDisk()
/tools/apksig/src/test/java/com/android/apksig/internal/util/
DArrayBackedByteBufferSinkTest.java26 protected ByteBuffer createBuffer(int size) { in createBuffer()
DDirectByteBufferSinkTest.java26 protected ByteBuffer createBuffer(int size) { in createBuffer()
DByteBufferSinkTestBase.java27 protected abstract ByteBuffer createBuffer(int size); in createBuffer()
/tools/tradefederation/core/src/com/android/tradefed/result/
DInputStreamSource.java63 public long size(); in size() method
DByteArrayInputStreamSource.java54 public long size() { in size() method in ByteArrayInputStreamSource
DFileInputStreamSource.java80 public long size() { in size() method in FileInputStreamSource
DSnapshotInputStreamSource.java91 public long size() { in size() method in SnapshotInputStreamSource
/tools/loganalysis/src/com/android/loganalysis/util/
DLogTailUtil.java98 public String getLastTail(int size) { in getLastTail()
126 public String getIdTail(int id, int size) { in getIdTail()
/tools/tradefederation/core/src/com/android/tradefed/device/
DManagedDeviceList.java99 public int size() { in size() method in ManagedDeviceList
DLargeOutputReceiver.java123 public long size() { in getData() method
/tools/tradefederation/core/prod-tests/src/com/android/encryption/tests/
DEncryptionCpuTest.java501 private void createFileHost(String filePath, int size) throws IOException { in createFileHost()
530 private boolean createFileDevice(String filePath, int size) throws DeviceNotAvailableException { in createFileDevice()
548 private String constructDdCommand(String filePath, int size) { in constructDdCommand()

12