Home
last modified time | relevance | path

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

/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/apksig/src/main/java/com/android/apksig/
DDefaultApkSignerEngine.java32 import com.android.apksig.util.DataSink;
1047 private DataSink mDataSink;
1060 public DataSink getDataSink() { in getDataSink()
1116 private DataSink mDataSink;
1131 public DataSink getDataSink() { in getDataSink()
1200 private DataSink mSink;
1214 public DataSink getDataSink() { in getDataSink()
1217 DataSink[] sinks = new DataSink[mRequests.length]; in getDataSink()
DApkSigner.java28 import com.android.apksig.util.DataSink;
104 private final DataSink mOutputApkDataSink;
122 DataSink outputApkDataSink, in ApkSigner()
178 DataSink outputApkOut; in sign()
208 DataSink outputApkOut, in sign()
596 DataSink outputLfhSection, in outputInputJarEntryLfhRecordPreservingDataAlignment()
971 private DataSink mOutputApkDataSink;
1097 public Builder setOutputApk(DataSink outputApkOut, DataSource outputApkIn) { in setOutputApk()
DApkSignerEngine.java20 import com.android.apksig.util.DataSink;
396 DataSink getDataSink(); in getDataSink()
DSigningCertificateLineage.java33 import com.android.apksig.util.DataSink;
293 public void writeToDataSink(DataSink dataSink) throws IOException { in writeToDataSink()
/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()
DVerityTreeBuilder.java20 import com.android.apksig.util.DataSink;
108 DataSink middleBufferSink = new ByteBufferSink( in generateVerityTreeRootHash()
169 private void digestDataByChunks(DataSource dataSource, DataSink dataSink) throws IOException { in digestDataByChunks()
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()
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()
DFileChannelDataSource.java19 import com.android.apksig.util.DataSink;
93 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/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/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/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/internal/apk/
DApkSigningBlockUtils.java35 import com.android.apksig.util.DataSink;
481 DataSink mdSink = DataSinks.asDataSink(mds); in computeOneMbChunkContentDigests()
605 private final DataSink mdSink;