Home
last modified time | relevance | path

Searched refs:consume (Results 1 – 22 of 22) sorted by relevance

/tools/apksig/src/test/java/com/android/apksig/util/
DDataSinkTestBase.java51 sink.consume(input, 2, 3); // "cde" in testConsumeFromArray()
52 sink.consume(input, 0, 1); // "a" in testConsumeFromArray()
56 sink.consume(input, 0, 0); in testConsumeFromArray()
57 sink.consume(input, 1, 0); in testConsumeFromArray()
58 sink.consume(input, input.length - 2, 0); in testConsumeFromArray()
59 sink.consume(input, input.length - 1, 0); in testConsumeFromArray()
60 sink.consume(input, input.length, 0); in testConsumeFromArray()
81 sink.consume(input); // "cde" in testConsumeFromByteBuffer()
87 sink.consume(input); // "a" in testConsumeFromByteBuffer()
91 sink.consume(input); in testConsumeFromByteBuffer()
[all …]
DInMemoryDataSinkDataSourceTest.java31 sink.consume(contents, 0, contents.length); in createDataSource()
DDataSourceTestBase.java372 public void consume(byte[] buf, int offset, int length) {} in consume() method in DataSourceTestBase.NullDataSink
375 public void consume(ByteBuffer buf) {} in consume() method in DataSourceTestBase.NullDataSink
/tools/apksig/src/main/java/com/android/apksig/internal/util/
DTeeDataSink.java35 public void consume(byte[] buf, int offset, int length) throws IOException { in consume() method in TeeDataSink
37 sink.consume(buf, offset, length); in consume()
42 public void consume(ByteBuffer buf) throws IOException { in consume() method in TeeDataSink
48 mSinks[i].consume(buf); in consume()
DMessageDigestSink.java35 public void consume(byte[] buf, int offset, int length) { in consume() method in MessageDigestSink
42 public void consume(ByteBuffer buf) { in consume() method in MessageDigestSink
DByteArrayDataSink.java49 public void consume(byte[] buf, int offset, int length) throws IOException { in consume() method in ByteArrayDataSink
71 public void consume(ByteBuffer buf) throws IOException { in consume() method in ByteArrayDataSink
77 consume(buf.array(), buf.arrayOffset() + buf.position(), buf.remaining()); in consume()
128 sink.consume(mArray, (int) offset, (int) size); in feed()
190 sink.consume(mArray, (int) (mSliceOffset + offset), (int) size); in feed()
DByteBufferSink.java40 public void consume(byte[] buf, int offset, int length) throws IOException { in consume() method in ByteBufferSink
50 public void consume(ByteBuffer buf) throws IOException { in consume() method in ByteBufferSink
DOutputStreamDataSink.java52 public void consume(byte[] buf, int offset, int length) throws IOException { in consume() method in OutputStreamDataSink
57 public void consume(ByteBuffer buf) throws IOException { in consume() method in OutputStreamDataSink
DRandomAccessFileDataSink.java66 public void consume(byte[] buf, int offset, int length) throws IOException { in consume() method in RandomAccessFileDataSink
90 public void consume(ByteBuffer buf) throws IOException { in consume() method in RandomAccessFileDataSink
DByteBufferDataSource.java87 sink.consume(getByteBuffer(offset, (int) size)); in feed()
DVerityTreeBuilder.java173 middleBufferSink.consume(padding, 0, padding.length); in generateVerityTree()
271 dataSink.consume(hash, 0, hash.length); in digestDataByChunks()
DFileChannelDataSource.java119 sink.consume(buf); in feed()
/tools/apksig/src/main/java/com/android/apksig/util/
DDataSink.java36 void consume(byte[] buf, int offset, int length) throws IOException; in consume() method
45 void consume(ByteBuffer buf) throws IOException; in consume() method
/tools/apksig/src/main/java/com/android/apksig/internal/zip/
DLocalFileRecord.java325 output.consume(header); in outputRecordWithModifiedExtra()
366 output.consume(result); in outputRecordWithDeflateCompressedData()
368 output.consume(compressedData, 0, compressedData.length); in outputRecordWithDeflateCompressedData()
477 public void consume(byte[] buf, int offset, int length) throws IOException { in consume() method in LocalFileRecord.InflateSinkAdapter
493 mDelegate.consume(mOutputBuffer, 0, outputChunkSize); in consume()
499 public void consume(ByteBuffer buf) throws IOException { in consume() method in LocalFileRecord.InflateSinkAdapter
502 consume(buf.array(), buf.arrayOffset() + buf.position(), buf.remaining()); in consume()
511 consume(mInputBuffer, 0, chunkSize); in consume()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/sign/
DZFileDataSource.java118 sink.consume(buf, 0, readSize); in feed()
DSigningExtension.java257 inspectEntryRequest.getDataSink().consume(entryContents, 0, entryContents.length); in onZipEntryOutput()
/tools/ndkports/
DREADME.md6 If you're an Android app developer looking to *consume* these libraries, this is
/tools/apksig/src/main/java/com/android/apksig/
DApkSigner.java521 .consume(uncompressedData, 0, uncompressedData.length); in sign()
592 outputApkOut.consume(ByteBuffer.allocate(padding)); in sign()
594 outputApkOut.consume(outputApkSigningBlock, 0, outputApkSigningBlock.length); in sign()
603 outputApkOut.consume(outputEocd); in sign()
DSigningCertificateLineage.java297 dataSink.consume(write()); in writeToDataSink()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java659 mdSink.consume(chunkContentPrefix, 0, chunkContentPrefix.length); in run()
662 mdSink.consume(chunk.data); in run()
/tools/repohooks/tools/
Dspelling.txt270 comsume||consume
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...