Home
last modified time | relevance | path

Searched refs:ReadableDataSink (Results 1 – 9 of 9) sorted by relevance

/tools/apksig/src/test/java/com/android/apksig/util/
DInMemoryDataSinkTest.java28 public class InMemoryDataSinkTest extends DataSinkTestBase<ReadableDataSink> {
31 protected CloseableWithDataSink<ReadableDataSink> createDataSink() { in createDataSink()
36 protected ByteBuffer getContents(ReadableDataSink dataSink) throws IOException { in getContents()
DInMemoryDataSinkDataSourceTest.java30 ReadableDataSink sink = DataSinks.newInMemoryDataSink(); in createDataSource()
DDataSourceTestBase.java255 ReadableDataSink out = DataSinks.newInMemoryDataSink(size); in assertFeedEquals()
/tools/apksig/src/main/java/com/android/apksig/util/
DDataSinks.java62 public static ReadableDataSink newInMemoryDataSink() { in newInMemoryDataSink()
72 public static ReadableDataSink newInMemoryDataSink(int initialCapacity) { in newInMemoryDataSink()
DReadableDataSink.java23 public interface ReadableDataSink extends DataSink, DataSource { interface
/tools/apksig/src/test/java/com/android/apksig/internal/util/
DChainedDataSourceTest.java25 import com.android.apksig.util.ReadableDataSink;
54 ReadableDataSink sink = DataSinks.newInMemoryDataSink(size); in feedAllPossibleRanges()
/tools/apksig/src/main/java/com/android/apksig/internal/util/
DByteArrayDataSink.java21 import com.android.apksig.util.ReadableDataSink;
30 public class ByteArrayDataSink implements ReadableDataSink {
/tools/apksig/src/test/java/com/android/apksig/
DApkSignerTest.java37 import com.android.apksig.util.ReadableDataSink;
958 ReadableDataSink out = DataSinks.newInMemoryDataSink(); in sign()
/tools/apksig/src/main/java/com/android/apksig/
DApkSigner.java32 import com.android.apksig.util.ReadableDataSink;
1080 public Builder setOutputApk(ReadableDataSink outputApk) { in setOutputApk()