Searched refs:IntegrityTransform (Results 1 – 9 of 9) sorted by relevance
25 import com.google.android.libraries.mobiledatadownload.file.transforms.IntegrityTransform;50 ImmutableList.of(new JavaFileBackend()), ImmutableList.of(new IntegrityTransform())); in setUpStorage()58 String digest = IntegrityTransform.getDigestIfPresent(uriWithChecksum); in integrityUriComputingOpener_shouldProduceCorrectChecksum()68 TransformProto.IntegrityTransform.newBuilder() in integrityUriComputingOpener_shouldIgnoreIncorrectInitialSpec()73 String digest = IntegrityTransform.getDigestIfPresent(uriWithChecksum); in integrityUriComputingOpener_shouldIgnoreIncorrectInitialSpec()83 .setIntegrity(TransformProto.IntegrityTransform.getDefaultInstance()) in integrityUriComputingOpener_shouldIgnoreIntegrityParamWithNoSubparam()88 String digest = IntegrityTransform.getDigestIfPresent(uriWithChecksum); in integrityUriComputingOpener_shouldIgnoreIntegrityParamWithNoSubparam()
62 ImmutableList.of(new JavaFileBackend()), ImmutableList.of(new IntegrityTransform())); in setUpStorage()67 Transform transform = new IntegrityTransform(); in name_isIntegrity()85 assertThat(IntegrityTransform.getDigestIfPresent(uriWithHash)).isEqualTo(ORIGTEXT_SHA256_B64); in write_shouldComputeChecksum()101 assertThat(IntegrityTransform.getDigestIfPresent(uriFuture.get())) in consumeStream_shouldComputeChecksum()118 assertThat(IntegrityTransform.getDigestIfPresent(uriFuture.get())) in consumeStream_shouldBothVerifyAndComputeChecksum()131 assertThat(IntegrityTransform.getDigestIfPresent(uriFuture2.get())) in consumeStream_shouldBothVerifyAndComputeChecksum()152 assertThat(IntegrityTransform.getDigestIfPresent(result.get())).isEqualTo(ORIGTEXT_SHA256_B64); in readFully_shouldComputeChecksum()172 assertThat(IntegrityTransform.getDigestIfPresent(result.get())) in readWithWithPrematureClose_shouldComputeDifferentChecksum()190 assertThat(IntegrityTransform.getDigestIfPresent(uriFuture.get())) in read_shouldValidateChecksum()239 assertThat(IntegrityTransform.getDigestIfPresent(uriFuture.get())) in partialReadAndClose_shouldFailValidation()
88 .setIntegrity(TransformProto.IntegrityTransform.getDefaultInstance())) in integrityProto_producesIntegrityTransform()
22 import com.google.android.libraries.mobiledatadownload.file.transforms.IntegrityTransform;35 .setIntegrity(TransformProto.IntegrityTransform.getDefaultInstance())65 String base64Digest = IntegrityTransform.getDigestIfPresent(uriWithDigest); in open()68 .setIntegrity(TransformProto.IntegrityTransform.newBuilder().setSha256(base64Digest)) in open()
44 .setIntegrity(TransformProto.IntegrityTransform.getDefaultInstance())59 .setIntegrity(TransformProto.IntegrityTransform.newBuilder().setSha256(sha256)) in integrityTransformSpecWithSha256()110 TransformProto.IntegrityTransform integrity = transformProto.getIntegrity(); in toEncodedSpec()
38 srcs = ["IntegrityTransform.java"],
67 public final class IntegrityTransform implements Transform { class
38 IntegrityTransform integrity = 3;64 message IntegrityTransform { message
27 import com.google.mobiledatadownload.TransformProto.IntegrityTransform;146 .setIntegrity(IntegrityTransform.getDefaultInstance()))) in testAddGroupForDownload_integrityFileTransform()286 .setIntegrity(IntegrityTransform.getDefaultInstance())))) in testAddGroupForDownload_readTransform()