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.java121 if (!doesASignatureHashMatch(packageInfo, mDownloadInfo.signatureChecksum)) { in run()
148 private boolean doesASignatureHashMatch(PackageInfo packageInfo, byte[] signatureChecksum) { in doesASignatureHashMatch() argument
159 if (Arrays.equals(sigHash, signatureChecksum)) { in doesASignatureHashMatch()
166 + 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.java192 private void runWithDownloadInfo(byte[] packageChecksum, byte[] signatureChecksum) { in runWithDownloadInfo() argument
196 .setSignatureChecksum(signatureChecksum) in runWithDownloadInfo()