Lines Matching defs:DataSource
404 // Each of these sections is represented as a separate DataSource instance below.
410 DataSource beforeApkSigningBlock =
412 DataSource centralDir =
421 DataSource eocd = new ByteBufferDataSource(eocdBuf);
434 new DataSource[] {beforeApkSigningBlock, centralDir, eocd});
452 DataSource[] contents) throws DigestException {
464 for (DataSource input : contents) {
503 for (DataSource input : contents) {
974 private static interface DataSource {
992 * {@link DataSource} which provides data from a file descriptor by memory-mapping the sections
994 * {@link DataSource#feedIntoMessageDigests(MessageDigest[], long, int) feedIntoMessageDigests}.
996 private static final class MemoryMappedFileDataSource implements DataSource {
1077 * {@link DataSource} which provides data from a {@link ByteBuffer}.
1079 private static final class ByteBufferDataSource implements DataSource {