| /tools/apksig/src/main/java/com/android/apksig/internal/util/ |
| D | ByteArrayDataSink.java | 111 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 …]
|
| D | ByteBufferDataSource.java | 50 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()
|
| D | RandomAccessFileDataSource.java | 56 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/ |
| D | DataSource.java | 58 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()
|
| D | DataSources.java | 57 public static DataSource asDataSource(RandomAccessFile file, long offset, long size) { in asDataSource()
|
| /tools/apksig/src/test/java/com/android/apksig/util/ |
| D | DataSourceTestBase.java | 223 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/ |
| D | CircularByteArray.java | 29 public CircularByteArray(int size) { in CircularByteArray() 54 public int size() { in size() method in CircularByteArray
|
| D | ByteArrayList.java | 109 void setSize(int size) { in setSize() 268 public int size() { in size() method in ByteArrayList
|
| D | FixedByteArrayOutputStream.java | 112 public long size() { in size() method in FixedByteArrayOutputStream
|
| D | StreamUtil.java | 154 int size = -1; in copyStreams() local 171 int size = -1; in copyStreamToWriter() local
|
| D | SimpleStats.java | 72 public int size() { in size() method in SimpleStats
|
| /tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
| D | ClusterChain.java | 127 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
|
| D | SuperFloppyFormatter.java | 376 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/ |
| D | RamDisk.java | 43 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/ |
| D | ArrayBackedByteBufferSinkTest.java | 26 protected ByteBuffer createBuffer(int size) { in createBuffer()
|
| D | DirectByteBufferSinkTest.java | 26 protected ByteBuffer createBuffer(int size) { in createBuffer()
|
| D | ByteBufferSinkTestBase.java | 27 protected abstract ByteBuffer createBuffer(int size); in createBuffer()
|
| /tools/tradefederation/core/src/com/android/tradefed/result/ |
| D | InputStreamSource.java | 63 public long size(); in size() method
|
| D | ByteArrayInputStreamSource.java | 54 public long size() { in size() method in ByteArrayInputStreamSource
|
| D | FileInputStreamSource.java | 80 public long size() { in size() method in FileInputStreamSource
|
| D | SnapshotInputStreamSource.java | 91 public long size() { in size() method in SnapshotInputStreamSource
|
| /tools/loganalysis/src/com/android/loganalysis/util/ |
| D | LogTailUtil.java | 98 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/ |
| D | ManagedDeviceList.java | 99 public int size() { in size() method in ManagedDeviceList
|
| D | LargeOutputReceiver.java | 123 public long size() { in getData() method
|
| /tools/tradefederation/core/prod-tests/src/com/android/encryption/tests/ |
| D | EncryptionCpuTest.java | 501 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()
|