Home
last modified time | relevance | path

Searched refs:AppendStreamOpener (Results 1 – 7 of 7) sorted by relevance

/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/openers/
DAppendStreamOpener.java27 public final class AppendStreamOpener implements Opener<OutputStream> { class
31 private AppendStreamOpener() {} in AppendStreamOpener() method in AppendStreamOpener
33 public static AppendStreamOpener create() { in create()
34 return new AppendStreamOpener(); in create()
42 public AppendStreamOpener withBehaviors(Behavior... behaviors) { in withBehaviors()
DBUILD151 "AppendStreamOpener.java",
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/file/backends/
DContentResolverBackendTest.java29 import com.google.android.libraries.mobiledatadownload.file.openers.AppendStreamOpener;
97 () -> storage.open(uri, AppendStreamOpener.create())); in openForAppend_notImplemented()
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/common/testing/
DStreamUtils.java25 import com.google.android.libraries.mobiledatadownload.file.openers.AppendStreamOpener;
78 try (OutputStream out = storage.open(uri, AppendStreamOpener.create())) { in appendFile()
DBackendTestBase.java32 import com.google.android.libraries.mobiledatadownload.file.openers.AppendStreamOpener;
244 MalformedUriException.class, () -> storage.open(uri, AppendStreamOpener.create())); in openForAppend_withIllegalUri_throwsIllegalArgumentException()
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/file/transforms/
DIntegrityTransformTest.java30 import com.google.android.libraries.mobiledatadownload.file.openers.AppendStreamOpener;
197 storage.open(uriWithoutTransform, AppendStreamOpener.create()), UTF_8)) { in read_shouldValidateChecksum()
219 storage.open(uriWithoutTransform, AppendStreamOpener.create()), UTF_8)) { in read_shouldValidateChecksumWithReadingOneByteAtATime()
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/file/
DSynchronousFileStorageTest.java41 import com.google.android.libraries.mobiledatadownload.file.openers.AppendStreamOpener;
466 try (OutputStream out = storage.open(file1Uri, AppendStreamOpener.create())) { in append_shouldMonitor()