Home
last modified time | relevance | path

Searched refs:DataSink (Results 1 – 19 of 19) sorted by relevance

/tools/apksig/src/main/java/com/android/apksig/internal/util/
DTeeDataSink.java19 import com.android.apksig.util.DataSink;
26 public class TeeDataSink implements DataSink {
28 private final DataSink[] mSinks;
30 public TeeDataSink(DataSink[] sinks) { in TeeDataSink()
36 for (DataSink sink : mSinks) { in consume()
DMessageDigestSink.java18 import com.android.apksig.util.DataSink;
26 public class MessageDigestSink implements DataSink {
DByteBufferSink.java19 import com.android.apksig.util.DataSink;
27 public class ByteBufferSink implements DataSink {
DOutputStreamDataSink.java19 import com.android.apksig.util.DataSink;
27 public class OutputStreamDataSink implements DataSink {
DRandomAccessFileDataSink.java19 import com.android.apksig.util.DataSink;
28 public class RandomAccessFileDataSink implements DataSink {
DByteBufferDataSource.java19 import com.android.apksig.util.DataSink;
83 public void feed(long offset, long size, DataSink sink) throws IOException { in feed()
DByteArrayDataSink.java19 import com.android.apksig.util.DataSink;
124 public void feed(long offset, long size, DataSink sink) throws IOException { in feed()
186 public void feed(long offset, long size, DataSink sink) throws IOException { in feed()
DChainedDataSource.java19 import com.android.apksig.util.DataSink;
43 public void feed(long offset, long size, DataSink sink) throws IOException { in feed()
/tools/apksig/src/main/java/com/android/apksig/util/
DDataSinks.java37 public static DataSink asDataSink(OutputStream out) { in asDataSink()
45 public static DataSink asDataSink(RandomAccessFile file) { in asDataSink()
54 public static DataSink asDataSink(MessageDigest... digests) { in asDataSink()
DReadableDataSink.java23 public interface ReadableDataSink extends DataSink, DataSource {
DDataSink.java25 public interface DataSink { interface
DDataSource.java69 void feed(long offset, long size, DataSink sink) throws IOException; in feed()
/tools/apksig/src/test/java/com/android/apksig/util/
DDataSinkTestBase.java35 public abstract class DataSinkTestBase<T extends DataSink> {
125 DataSink sink, byte[] arr, int offset, int length) throws IOException { in assertConsumeArrayThrowsIOOB()
132 public static class CloseableWithDataSink<T extends DataSink> implements Closeable {
141 public static <T extends DataSink> CloseableWithDataSink<T> of(T dataSink) { in of()
145 public static <T extends DataSink> CloseableWithDataSink<T> of( in of()
DDataSourceTestBase.java368 private static final class NullDataSink implements DataSink {
/tools/apksig/src/main/java/com/android/apksig/internal/zip/
DLocalFileRecord.java20 import com.android.apksig.util.DataSink;
299 public long outputRecord(DataSource sourceApk, DataSink output) throws IOException { in outputRecord()
312 DataSink output) throws IOException { in outputRecordWithModifiedExtra()
343 DataSink output) throws IOException { in outputRecordWithDeflateCompressedData()
379 DataSink sink) throws IOException, ZipFormatException { in outputUncompressedData()
421 DataSink sink) throws ZipFormatException, IOException { in outputUncompressedData()
463 private static class InflateSinkAdapter implements DataSink, Closeable {
464 private final DataSink mDelegate;
472 private InflateSinkAdapter(DataSink delegate) { in InflateSinkAdapter()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/sign/
DZFileDataSource.java19 import com.android.apksig.util.DataSink;
101 public void feed(long offset, long size, @Nonnull DataSink sink) throws IOException { in feed()
/tools/apksig/src/main/java/com/android/apksig/
DApkSigner.java28 import com.android.apksig.util.DataSink;
101 private final DataSink mOutputApkDataSink;
119 DataSink outputApkDataSink, in ApkSigner()
175 DataSink outputApkOut; in sign()
205 DataSink outputApkOut, in sign()
525 DataSink outputLfhSection, in outputInputJarEntryLfhRecordPreservingDataAlignment()
862 private DataSink mOutputApkDataSink;
988 public Builder setOutputApk(DataSink outputApkOut, DataSource outputApkIn) { in setOutputApk()
DSigningCertificateLineage.java30 import com.android.apksig.util.DataSink;
172 public void writeToDataSink(DataSink dataSink) throws IOException { in writeToDataSink()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java29 import com.android.apksig.util.DataSink;
444 DataSink mdSink = DataSinks.asDataSink(mds); in computeOneMbChunkContentDigests()