/tools/apksig/src/test/java/com/android/apksig/util/ |
D | DataSinkTestBase.java | 49 T sink = c.getDataSink(); in testConsumeFromArray() local 51 sink.consume(input, 2, 3); // "cde" in testConsumeFromArray() 52 sink.consume(input, 0, 1); // "a" in testConsumeFromArray() 53 assertContentsEquals("cdea", sink); 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() 63 assertConsumeArrayThrowsIOOB(sink, input, -1, 0); in testConsumeFromArray() [all …]
|
D | InMemoryDataSinkDataSourceTest.java | 30 ReadableDataSink sink = DataSinks.newInMemoryDataSink(); in createDataSource() local 31 sink.consume(contents, 0, contents.length); in createDataSource() 32 return CloseableWithDataSource.of(sink); in createDataSource()
|
/tools/apksig/src/main/java/com/android/apksig/internal/util/ |
D | ByteArrayDataSink.java | 124 public void feed(long offset, long size, DataSink sink) throws IOException { in feed() argument 128 sink.consume(mArray, (int) offset, (int) size); in feed() 186 public void feed(long offset, long size, DataSink sink) throws IOException { in feed() argument 190 sink.consume(mArray, (int) (mSliceOffset + offset), (int) size); in feed()
|
D | TeeDataSink.java | 36 for (DataSink sink : mSinks) { in consume() 37 sink.consume(buf, offset, length); in consume()
|
D | ChainedDataSource.java | 43 public void feed(long offset, long size, DataSink sink) throws IOException { in feed() argument 58 src.feed(offset, size, sink); in feed() 63 src.feed(offset, remaining, sink); in feed()
|
D | ByteBufferDataSource.java | 83 public void feed(long offset, long size, DataSink sink) throws IOException { in feed() argument 87 sink.consume(getByteBuffer(offset, (int) size)); in feed()
|
D | FileChannelDataSource.java | 93 public void feed(long offset, long size, DataSink sink) throws IOException { in feed() argument 119 sink.consume(buf); in feed()
|
/tools/apksig/src/test/java/com/android/apksig/internal/util/ |
D | ChainedDataSourceTest.java | 54 ReadableDataSink sink = DataSinks.newInMemoryDataSink(size); in feedAllPossibleRanges() local 55 mChain.feed(begin, size, sink); in feedAllPossibleRanges() 58 sink.getByteBuffer(0, size)); in feedAllPossibleRanges()
|
/tools/apksig/src/main/java/com/android/apksig/internal/zip/ |
D | LocalFileRecord.java | 379 DataSink sink) throws IOException, ZipFormatException { in outputUncompressedData() argument 383 try (InflateSinkAdapter inflateAdapter = new InflateSinkAdapter(sink)) { in outputUncompressedData() 399 lfhSection.feed(dataStartOffsetInArchive, mDataSize, sink); in outputUncompressedData() 421 DataSink sink) throws ZipFormatException, IOException { in outputUncompressedData() argument 434 lfhRecord.outputUncompressedData(source, sink); in outputUncompressedData()
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/utils/ |
D | CloseableDelegateByteSource.java | 129 public long copyTo(@Nonnull ByteSink sink) throws IOException { in copyTo() argument 130 return get().copyTo(sink); in copyTo()
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/ |
D | LazyDelegateByteSource.java | 123 public long copyTo(@Nonnull ByteSink sink) throws IOException { in copyTo() argument 124 return get().copyTo(sink); in copyTo()
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/sign/ |
D | ZFileDataSource.java | 101 public void feed(long offset, long size, @Nonnull DataSink sink) throws IOException { in feed() argument 118 sink.consume(buf, 0, readSize); in feed()
|
/tools/apksig/src/main/java/com/android/apksig/util/ |
D | DataSource.java | 69 void feed(long offset, long size, DataSink sink) throws IOException; in feed() argument
|
/tools/tradefederation/prebuilts/filegroups/tradefed/ |
D | tradefed-test-framework.jar | META-INF/
META-INF/MANIFEST.MF
META-INF/maven/
META- ... |