Home
last modified time | relevance | path

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

12

/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 …]
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
DInMemoryDataSinkDataSourceTest.java31 sink.consume(contents, 0, contents.length); in createDataSource()
/tools/platform-compat/javatest/com/android/class2nonsdklist/
DUnsupportedAppUsageAnnotationHandlerTest.java102 verify(mConsumer, times(1)).consume(greylist.capture(), any(), any()); in testGreylistMethod()
123 verify(mConsumer, times(1)).consume(greylist.capture(), any(), any()); in testGreylistConstructor()
144 verify(mConsumer, times(1)).consume(greylist.capture(), any(), any()); in testGreylistField()
165 verify(mConsumer, times(1)).consume(greylist.capture(), any(), any()); in testGreylistImplicit()
229 verify(mConsumer, times(1)).consume(greylist.capture(), any(), any()); in testGreylistMethodExpectedSignature()
270 verify(mConsumer, times(1)).consume(greylist.capture(), any(), any()); in testGreylistInnerClassMethod()
288 verify(mConsumer, never()).consume(any(String.class), any(), any()); in testMethodNotGreylisted()
308 verify(mConsumer, times(1)).consume(greylist.capture(), any(), any()); in testMethodArgGenerics()
338 verify(mConsumer, times(2)).consume(greylist.capture(), any(), any()); in testOverrideMethodWithBridge()
370 verify(mConsumer, times(2)).consume(greylist.capture(), any(), any()); in testOverridePublicMethodWithBridge()
[all …]
DAnnotationPropertyWriterTest.java50 mAnnotationPropertyWriter.consume(signature, annotationProperties, parsedFlags); in testExportPropertiesNoEscaping()
66 mAnnotationPropertyWriter.consume(signature, annotationProperties, parsedFlags); in testExportPropertiesEscapeQuotes()
DCovariantReturnTypeHandlerTest.java84 verify(mConsumer, times(1)).consume( in testReturnTypeWhitelisted()
/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/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()
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()
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
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
DVerityTreeBuilder.java173 middleBufferSink.consume(padding, 0, padding.length); in generateVerityTree()
271 dataSink.consume(hash, 0, hash.length); in digestDataByChunks()
DByteBufferDataSource.java87 sink.consume(getByteBuffer(offset, (int) size)); in feed()
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/
DApkSigner.java611 outputApkOut.consume(ByteBuffer.allocate(padding)); in sign()
613 outputApkOut.consume(outputApkSigningBlock, 0, outputApkSigningBlock.length); in sign()
622 outputApkOut.consume(outputEocd); in sign()
639 inspectEntryRequest.getDataSink().consume( in requestOutputEntryInspection()
/tools/platform-compat/java/com/android/annotationvisitor/
DAnnotationConsumer.java30 public void consume(String apiSignature, Map<String, String> annotationProperties, in consume() method
/tools/platform-compat/java/com/android/class2nonsdklist/
DHiddenapiFlagsWriter.java29 public void consume(String apiSignature, Map<String, String> annotationProperties, in consume() method in HiddenapiFlagsWriter
DAnnotationPropertyWriter.java38 public void consume(String apiSignature, Map<String, String> annotationProperties, in consume() method in AnnotationPropertyWriter
DCovariantReturnTypeHandler.java97 mAnnotationConsumer.consume(signature, stringifyAnnotationProperties(annotation), in handleAnnotation()
DUnsupportedAppUsageAnnotationHandler.java206 mAnnotationConsumer.consume(signature, stringifyAnnotationProperties(annotation), in handleAnnotation()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/sign/
DZFileDataSource.java118 sink.consume(buf, 0, readSize); in feed()
/tools/ndkports/
DREADME.md6 If you're an Android app developer looking to *consume* these libraries, this is

12