Home
last modified time | relevance | path

Searched refs:dataSource (Results 1 – 6 of 6) sorted by relevance

/tools/apksig/src/test/java/com/android/apksig/internal/apk/
DApkSigningBlockUtilsTest.java36 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/
DDataSourceTestBase.java339 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/
DVerityTreeBuilder.java222 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/
DSigningCertificateLineage.java141 public static SigningCertificateLineage readFromDataSource(DataSource dataSource) in readFromDataSource() argument
143 if (dataSource == null) { in readFromDataSource()
146 ByteBuffer inBuff = dataSource.getByteBuffer(0, (int) dataSource.size()); in readFromDataSource()
DDefaultApkSignerEngine.java1160 public void signV4(DataSource dataSource, File outputFile, boolean ignoreFailures) in signV4() argument
1170 V4SchemeSigner.generateV4Signature(dataSource, v4SignerConfig, outputFile); in signV4()
1180 public byte[] produceV4Signature(DataSource dataSource, OutputStream sigOutput) in produceV4Signature() argument
1188 V4SchemeSigner.generateV4Signature(dataSource, v4SignerConfig); in produceV4Signature()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java641 public static VerityTreeAndDigest computeChunkVerityTreeAndDigest(DataSource dataSource) in computeChunkVerityTreeAndDigest() argument
647 ByteBuffer tree = builder.generateVerityTree(dataSource); in computeChunkVerityTreeAndDigest()