Searched refs:packageChecksum (Results 1 – 4 of 4) sorted by relevance
76 public final byte[] packageChecksum; field in PackageDownloadInfo85 packageChecksum = checkNotNull(builder.mPackageChecksum, "package checksum can't be null"); in PackageDownloadInfo()102 if (packageChecksum.length == 0 && signatureChecksum.length == 0) { in validateFields()135 StoreUtils.byteArrayToString(packageChecksum)); in toPersistableBundle()158 public Builder setPackageChecksum(byte[] packageChecksum) { in setPackageChecksum() argument159 mPackageChecksum = packageChecksum; in setPackageChecksum()
118 if (mDownloadInfo.packageChecksum.length > 0) { in run()120 packageLocation.getAbsolutePath(), mDownloadInfo.packageChecksum)) { in run()180 private boolean doesPackageHashMatch(String downloadLocation, byte[] packageChecksum) { in doesPackageHashMatch() argument185 if (Arrays.equals(packageChecksum, packageSha256Hash)) { in doesPackageHashMatch()191 + StoreUtils.byteArrayToString(packageChecksum)); in doesPackageHashMatch()
53 assertEquals(TEST_PACKAGE_CHECKSUM, downloadInfo.packageChecksum); in testBuilderWriteAndReadBack()95 assertEquals(TEST_PACKAGE_CHECKSUM, downloadInfo.packageChecksum); in testConstructPackageInfoWithDownloadLocationAndPackageChecksum()
195 private void runWithDownloadInfo(byte[] packageChecksum, byte[] signatureChecksum) { in runWithDownloadInfo() argument198 .setPackageChecksum(packageChecksum) in runWithDownloadInfo()