Home
last modified time | relevance | path

Searched refs:signatureChecksum (Results 1 – 4 of 4) sorted by relevance

/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
DPackageDownloadInfo.java78 public final byte[] signatureChecksum; field in PackageDownloadInfo
86 signatureChecksum = checkNotNull(builder.mSignatureChecksum, in PackageDownloadInfo()
102 if (packageChecksum.length == 0 && signatureChecksum.length == 0) { in validateFields()
137 StoreUtils.byteArrayToString(signatureChecksum)); in toPersistableBundle()
163 public Builder setSignatureChecksum(byte[] signatureChecksum) { in setSignatureChecksum() argument
164 mSignatureChecksum = signatureChecksum; in setSignatureChecksum()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DVerifyPackageTask.java125 if (!doesASignatureHashMatch(packageInfo, mDownloadInfo.signatureChecksum)) { in run()
147 private boolean doesASignatureHashMatch(PackageInfo packageInfo, byte[] signatureChecksum) { in doesASignatureHashMatch() argument
158 if (Arrays.equals(sigHash, signatureChecksum)) { in doesASignatureHashMatch()
165 + StoreUtils.byteArrayToString(signatureChecksum)); in doesASignatureHashMatch()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/
DPackageDownloadInfoTest.java54 assertEquals(TEST_SIGNATURE_CHECKSUM, downloadInfo.signatureChecksum); in testBuilderWriteAndReadBack()
108 assertEquals(TEST_SIGNATURE_CHECKSUM, downloadInfo.signatureChecksum); in testConstructPackageInfoWithDownloadLocationAndSignatureChecksum()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DVerifyPackageTaskTest.java195 private void runWithDownloadInfo(byte[] packageChecksum, byte[] signatureChecksum) { in runWithDownloadInfo() argument
199 .setSignatureChecksum(signatureChecksum) in runWithDownloadInfo()