/tools/apksig/src/test/java/com/android/apksig/util/ |
D | DataSinkTestBase.java | 51 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 …]
|
D | DataSourceTestBase.java | 372 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
|
D | InMemoryDataSinkDataSourceTest.java | 31 sink.consume(contents, 0, contents.length); in createDataSource()
|
/tools/platform-compat/javatest/com/android/class2nonsdklist/ |
D | UnsupportedAppUsageAnnotationHandlerTest.java | 102 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 …]
|
D | AnnotationPropertyWriterTest.java | 50 mAnnotationPropertyWriter.consume(signature, annotationProperties, parsedFlags); in testExportPropertiesNoEscaping() 66 mAnnotationPropertyWriter.consume(signature, annotationProperties, parsedFlags); in testExportPropertiesEscapeQuotes()
|
D | CovariantReturnTypeHandlerTest.java | 84 verify(mConsumer, times(1)).consume( in testReturnTypeWhitelisted()
|
/tools/apksig/src/main/java/com/android/apksig/internal/zip/ |
D | LocalFileRecord.java | 325 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/ |
D | TeeDataSink.java | 35 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()
|
D | ByteArrayDataSink.java | 49 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()
|
D | MessageDigestSink.java | 35 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
|
D | ByteBufferSink.java | 40 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
|
D | OutputStreamDataSink.java | 52 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
|
D | RandomAccessFileDataSink.java | 66 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
|
D | VerityTreeBuilder.java | 173 middleBufferSink.consume(padding, 0, padding.length); in generateVerityTree() 271 dataSink.consume(hash, 0, hash.length); in digestDataByChunks()
|
D | ByteBufferDataSource.java | 87 sink.consume(getByteBuffer(offset, (int) size)); in feed()
|
D | FileChannelDataSource.java | 119 sink.consume(buf); in feed()
|
/tools/apksig/src/main/java/com/android/apksig/util/ |
D | DataSink.java | 36 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/ |
D | ApkSigner.java | 611 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/ |
D | AnnotationConsumer.java | 30 public void consume(String apiSignature, Map<String, String> annotationProperties, in consume() method
|
/tools/platform-compat/java/com/android/class2nonsdklist/ |
D | HiddenapiFlagsWriter.java | 29 public void consume(String apiSignature, Map<String, String> annotationProperties, in consume() method in HiddenapiFlagsWriter
|
D | AnnotationPropertyWriter.java | 38 public void consume(String apiSignature, Map<String, String> annotationProperties, in consume() method in AnnotationPropertyWriter
|
D | CovariantReturnTypeHandler.java | 97 mAnnotationConsumer.consume(signature, stringifyAnnotationProperties(annotation), in handleAnnotation()
|
D | UnsupportedAppUsageAnnotationHandler.java | 206 mAnnotationConsumer.consume(signature, stringifyAnnotationProperties(annotation), in handleAnnotation()
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/sign/ |
D | ZFileDataSource.java | 118 sink.consume(buf, 0, readSize); in feed()
|
/tools/ndkports/ |
D | README.md | 6 If you're an Android app developer looking to *consume* these libraries, this is
|