/tools/apksig/src/main/java/com/android/apksig/internal/zip/ |
D | LocalFileRecord.java | 20 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/ |
D | DefaultApkSignerEngine.java | 32 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()
|
D | ApkSigner.java | 28 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()
|
D | ApkSignerEngine.java | 20 import com.android.apksig.util.DataSink; 396 DataSink getDataSink(); in getDataSink()
|
D | SigningCertificateLineage.java | 33 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/ |
D | TeeDataSink.java | 19 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()
|
D | VerityTreeBuilder.java | 20 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()
|
D | ByteArrayDataSink.java | 19 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()
|
D | MessageDigestSink.java | 18 import com.android.apksig.util.DataSink; 26 public class MessageDigestSink implements DataSink {
|
D | ByteBufferSink.java | 19 import com.android.apksig.util.DataSink; 27 public class ByteBufferSink implements DataSink {
|
D | OutputStreamDataSink.java | 19 import com.android.apksig.util.DataSink; 27 public class OutputStreamDataSink implements DataSink {
|
D | RandomAccessFileDataSink.java | 19 import com.android.apksig.util.DataSink; 28 public class RandomAccessFileDataSink implements DataSink {
|
D | ByteBufferDataSource.java | 19 import com.android.apksig.util.DataSink; 83 public void feed(long offset, long size, DataSink sink) throws IOException { in feed()
|
D | FileChannelDataSource.java | 19 import com.android.apksig.util.DataSink; 93 public void feed(long offset, long size, DataSink sink) throws IOException { in feed()
|
D | ChainedDataSource.java | 19 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/ |
D | DataSinkTestBase.java | 35 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()
|
D | DataSourceTestBase.java | 368 private static final class NullDataSink implements DataSink {
|
/tools/apksig/src/main/java/com/android/apksig/util/ |
D | DataSinks.java | 37 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()
|
D | ReadableDataSink.java | 23 public interface ReadableDataSink extends DataSink, DataSource {
|
D | DataSink.java | 25 public interface DataSink { interface
|
D | DataSource.java | 69 void feed(long offset, long size, DataSink sink) throws IOException; in feed()
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/sign/ |
D | ZFileDataSource.java | 19 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/ |
D | ApkSigningBlockUtils.java | 35 import com.android.apksig.util.DataSink; 481 DataSink mdSink = DataSinks.asDataSink(mds); in computeOneMbChunkContentDigests() 605 private final DataSink mdSink;
|