Searched refs:dataSource (Results 1 – 6 of 6) sorted by relevance
/tools/apksig/src/test/java/com/android/apksig/internal/apk/ |
D | ApkSigningBlockUtilsTest.java | 36 DataSource[] dataSource; field in ApkSigningBlockUtilsTest 62 dataSource = new DataSource[] { in setUp() 77 algos, dataSource, outputContentDigestsOld); in testNewVersionMatchesOld() 81 algos, dataSource, outputContentDigestsNew); in testNewVersionMatchesOld() 95 algos, dataSource, outputContentDigests); in testMultithreadedVersionMatchesSinglethreaded() 118 algos, dataSource, outputContentDigestsMultithreaded); in testMultithreadedVersionMatchesSinglethreaded()
|
/tools/apksig/src/test/java/com/android/apksig/util/ |
D | DataSourceTestBase.java | 339 private CloseableWithDataSource(DataSource dataSource, Closeable closeable) { in CloseableWithDataSource() argument 340 mDataSource = dataSource; in CloseableWithDataSource() 344 public static CloseableWithDataSource of(DataSource dataSource) { in of() argument 345 return new CloseableWithDataSource(dataSource, null); in of() 348 public static CloseableWithDataSource of(DataSource dataSource, Closeable closeable) { in of() argument 349 return new CloseableWithDataSource(dataSource, closeable); in of()
|
/tools/apksig/src/main/java/com/android/apksig/internal/util/ |
D | VerityTreeBuilder.java | 222 private void digestDataByChunks(DataSource dataSource, DataSink dataSink) throws IOException { in digestDataByChunks() argument 223 final long size = dataSource.size(); in digestDataByChunks() 246 dataSource.copyTo(readOffset, readSize, buffer); in digestDataByChunks()
|
/tools/apksig/src/main/java/com/android/apksig/ |
D | SigningCertificateLineage.java | 151 public static SigningCertificateLineage readFromDataSource(DataSource dataSource) in readFromDataSource() argument 153 if (dataSource == null) { in readFromDataSource() 156 ByteBuffer inBuff = dataSource.getByteBuffer(0, (int) dataSource.size()); in readFromDataSource()
|
D | DefaultApkSignerEngine.java | 1171 public void signV4(DataSource dataSource, File outputFile, boolean ignoreFailures) in signV4() argument 1181 V4SchemeSigner.generateV4Signature(dataSource, v4SignerConfig, outputFile); in signV4() 1191 public byte[] produceV4Signature(DataSource dataSource, OutputStream sigOutput) in produceV4Signature() argument 1199 V4SchemeSigner.generateV4Signature(dataSource, v4SignerConfig); in produceV4Signature()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/ |
D | ApkSigningBlockUtils.java | 643 public static VerityTreeAndDigest computeChunkVerityTreeAndDigest(DataSource dataSource) in computeChunkVerityTreeAndDigest() argument 649 ByteBuffer tree = builder.generateVerityTree(dataSource); in computeChunkVerityTreeAndDigest()
|