Home
last modified time | relevance | path

Searched refs:mSignatures (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DPackageSignatures.java32 Signature[] mSignatures; field in PackageSignatures
35 if (orig != null && orig.mSignatures != null) { in PackageSignatures()
36 mSignatures = orig.mSignatures.clone(); in PackageSignatures()
49 if (mSignatures == null) { in writeXml()
54 Integer.toString(mSignatures.length)); in writeXml()
55 for (int i=0; i<mSignatures.length; i++) { in writeXml()
57 final Signature sig = mSignatures[i]; in writeXml()
88 mSignatures = new Signature[count]; in readXml()
113 mSignatures[pos] = pastSignatures.get(idx); in readXml()
133 mSignatures[pos] = sig; in readXml()
[all …]
DPackageInstallerSession.java154 private Signature[] mSignatures; field in PackageInstallerSession
544 Preconditions.checkNotNull(mSignatures); in commitLocked()
656 mSignatures = null; in validateInstallLocked()
698 if (mSignatures == null) { in validateInstallLocked()
699 mSignatures = apk.signatures; in validateInstallLocked()
732 final int flags = mSignatures == null ? PackageManager.GET_SIGNATURES : 0; in validateInstallLocked()
746 if (mSignatures == null) { in validateInstallLocked()
747 mSignatures = pkg.signatures; in validateInstallLocked()
840 if (!Signature.areExactMatch(mSignatures, apk.signatures)) { in assertApkConsistent()
DPackageManagerService.java4547 return compareSignatures(p1.mSignatures, p2.mSignatures);
4563 s1 = ((SharedUserSetting)obj).signatures.mSignatures;
4565 s1 = ((PackageSetting)obj).signatures.mSignatures;
4575 s2 = ((SharedUserSetting)obj).signatures.mSignatures;
4577 s2 = ((PackageSetting)obj).signatures.mSignatures;
4684 for (Signature sig : existingSigs.mSignatures) {
4688 for (Signature sig : scannedPkg.mSignatures) {
4704 existingSigs.assignSignatures(scannedPkg.mSignatures);
4727 if (Signature.areEffectiveMatch(existingSigs.mSignatures, scannedPkg.mSignatures)) {
6771 if (ps.signatures.mSignatures != null
[all …]
DSELinuxMMAC.java503 if (!Signature.areExactMatch(certs, pkg.mSignatures)) { in getMatchedSeinfo()
DDefaultPermissionGrantPolicy.java902 return PackageManagerService.compareSignatures(mService.mPlatformPackage.mSignatures, in isSysComponentOrPersistentPlatformSignedPrivAppLPr()
903 pkg.mSignatures) == PackageManager.SIGNATURE_MATCH; in isSysComponentOrPersistentPlatformSignedPrivAppLPr()
DEphemeralApplicationRegistry.java681 messageDigest.update(pkg.mSignatures[0].toByteArray()); in computePackageCertDigest()
DSettings.java826 if (dis.signatures.mSignatures != null) { in getPackageLPw()
827 p.signatures.mSignatures = dis.signatures.mSignatures.clone(); in getPackageLPw()
932 if (p.signatures.mSignatures == null) { in insertPackageSettingLPw()
933 p.signatures.assignSignatures(pkg.mSignatures); in insertPackageSettingLPw()
941 if (p.sharedUser != null && p.sharedUser.signatures.mSignatures == null) { in insertPackageSettingLPw()
942 p.sharedUser.signatures.assignSignatures(pkg.mSignatures); in insertPackageSettingLPw()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java618 int N = (p.mSignatures != null) ? p.mSignatures.length : 0; in generatePackageInfo()
621 System.arraycopy(p.mSignatures, 0, pi.signatures, 0, N); in generatePackageInfo()
1085 pkg.mSignatures = null; in populateCertificates()
1090 pkg.mSignatures = convertToSignatures(certificates); in populateCertificates()
1107 childPkg.mSignatures = pkg.mSignatures; in populateCertificates()
1124 childPkg.mSignatures = pkg.mSignatures; in collectCertificates()
1132 pkg.mSignatures = null; in collectCertificatesInternal()
1179 pkg.mSignatures = signatures; in collectCertificates()
1187 if (!Signature.areExactMatch(pkg.mSignatures, signatures)) { in collectCertificates()
1259 pkg.mSignatures = entrySignatures; in collectCertificates()
[all …]