/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/file/transforms/ |
D | IntegrityTransformTest.java | 77 storage.open(uri, WriteStreamOpener.create().withBehaviors(computeUri)); in write_shouldComputeChecksum() 96 try (InputStream in = storage.open(uri, ReadStreamOpener.create().withBehaviors(computeUri))) { in consumeStream_shouldComputeChecksum() 113 try (InputStream in = storage.open(uri, ReadStreamOpener.create().withBehaviors(computeUri))) { in consumeStream_shouldBothVerifyAndComputeChecksum() 126 storage.open(uriFuture.get(), ReadStreamOpener.create().withBehaviors(computeUri2))) { in consumeStream_shouldBothVerifyAndComputeChecksum() 146 storage.open(uri, ReadStreamOpener.create().withBehaviors(computeUri))) { in readFully_shouldComputeChecksum() 166 storage.open(uri, ReadStreamOpener.create().withBehaviors(computeUri))) { in readWithWithPrematureClose_shouldComputeDifferentChecksum() 185 try (InputStream in = storage.open(uri, ReadStreamOpener.create().withBehaviors(computeUri))) { in read_shouldValidateChecksum() 213 try (InputStream in = storage.open(uri, ReadStreamOpener.create().withBehaviors(computeUri))) { in read_shouldValidateChecksumWithReadingOneByteAtATime() 234 try (InputStream in = storage.open(uri, ReadStreamOpener.create().withBehaviors(computeUri))) { in partialReadAndClose_shouldFailValidation()
|
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/file/behaviors/ |
D | UriComputingBehaviorTest.java | 76 storage.open(fileUriWithTransform, ReadStreamOpener.create().withBehaviors(computeUri))) { in getComputedUri_read_shouldRetainUnencodedUriAndFragment() 90 fileUriWithoutTransform, ReadStreamOpener.create().withBehaviors(computeUri))) { in getComputedUri_read_withNoTransform_returnsSameUri() 110 storage.open(fileUriWithTransform, WriteStreamOpener.create().withBehaviors(computeUri))) { in getComputedUri_write_shouldRetainUnencodedUriAndFragment() 125 fileUriWithoutTransform, WriteStreamOpener.create().withBehaviors(computeUri))) { in getComputedUri_write_withNoTransform_returnsSameUri()
|
D | SyncingBehaviorAndroidTest.java | 59 try (OutputStream out = storage.open(uri1, WriteStreamOpener.create().withBehaviors(syncing))) { in syncing_sync()
|
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/openers/ |
D | WriteByteArrayOpener.java | 42 public WriteByteArrayOpener withBehaviors(Behavior... behaviors) { in withBehaviors() method in WriteByteArrayOpener 54 try (OutputStream out = WriteStreamOpener.create().withBehaviors(behaviors).open(openContext)) { in open()
|
D | WriteStringOpener.java | 47 public WriteStringOpener withBehaviors(Behavior... behaviors) { in withBehaviors() method in WriteStringOpener 55 .withBehaviors(behaviors) in open()
|
D | AppendStreamOpener.java | 42 public AppendStreamOpener withBehaviors(Behavior... behaviors) { in withBehaviors() method in AppendStreamOpener
|
D | WriteStreamOpener.java | 40 public WriteStreamOpener withBehaviors(Behavior... behaviors) { in withBehaviors() method in WriteStreamOpener
|
D | ReadStreamOpener.java | 40 public ReadStreamOpener withBehaviors(Behavior... behaviors) { in withBehaviors() method in ReadStreamOpener
|
D | WriteProtoOpener.java | 48 public WriteProtoOpener withBehaviors(Behavior... behaviors) { in withBehaviors() method in WriteProtoOpener
|
D | IntegrityUriComputingOpener.java | 51 openContext.storage().open(uri, ReadStreamOpener.create().withBehaviors(uriComputer))) { in open()
|
D | StreamMutationOpener.java | 80 public StreamMutationOpener withBehaviors(Behavior... behaviors) { in withBehaviors() method in StreamMutationOpener
|
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/file/openers/ |
D | StringOpenerTest.java | 72 storage.open(uri1, WriteStringOpener.create("some string").withBehaviors(syncing)); in invokes_autoSync()
|
D | WriteProtoOpenerTest.java | 112 storage.open(uri1, WriteProtoOpener.create(TEST_PROTO).withBehaviors(syncing)); in invokes_autoSync()
|
D | WriteByteArrayOpenerTest.java | 131 uri1, WriteByteArrayOpener.create(makeArrayOfBytesContent()).withBehaviors(syncing)); in invokes_autoSync()
|
D | StreamMutationOpenerTest.java | 184 storage.open(uri, StreamMutationOpener.create().withBehaviors(syncing))) { in canMutate_withSync()
|