Searched refs:mSignatures (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageSignatures.java | 32 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 …]
|
D | PackageInstallerSession.java | 229 private Signature[] mSignatures; field in PackageInstallerSession 885 Preconditions.checkNotNull(mSignatures); in commitLocked() 998 mSignatures = null; in validateInstallLocked() 1050 if (mSignatures == null) { in validateInstallLocked() 1051 mSignatures = apk.signatures; in validateInstallLocked() 1101 if (mSignatures == null) { in validateInstallLocked() 1102 mSignatures = pkgInfo.signatures; in validateInstallLocked() 1203 if (!Signature.areExactMatch(mSignatures, apk.signatures)) { in assertApkConsistentLocked()
|
D | InstantAppRegistry.java | 303 pkg.mSignatures); in onPackageInstalledLPw() 314 if (pkg.mSignatures.length > 1 && currentCookieFile.equals(computeInstantCookieFile( in onPackageInstalledLPw() 1176 PackageUtils.computeSignaturesSha256Digest(pkg.mSignatures), userId); in schedulePersistLPw() 1177 if (pkg.mSignatures.length > 0) { in schedulePersistLPw()
|
D | SELinuxMMAC.java | 440 if (!Signature.areExactMatch(certs, pkg.mSignatures)) { in getMatchedSeInfo()
|
D | PackageManagerService.java | 6292 return compareSignatures(p1.mSignatures, p2.mSignatures); in checkSignatures() 6314 s1 = ((SharedUserSetting)obj).signatures.mSignatures; in checkUidSignatures() 6320 s1 = ps.signatures.mSignatures; in checkUidSignatures() 6333 s2 = ((SharedUserSetting)obj).signatures.mSignatures; in checkUidSignatures() 6339 s2 = ps.signatures.mSignatures; in checkUidSignatures() 6446 for (Signature sig : existingSigs.mSignatures) { in compareSignaturesCompat() 6450 for (Signature sig : scannedPkg.mSignatures) { in compareSignaturesCompat() 6466 existingSigs.assignSignatures(scannedPkg.mSignatures); in compareSignaturesCompat() 6489 if (Signature.areEffectiveMatch(existingSigs.mSignatures, scannedPkg.mSignatures)) { in compareSignaturesRecover() 9288 if (ps.signatures.mSignatures != null in collectCertificatesLI() [all …]
|
D | DefaultPermissionGrantPolicy.java | 1061 return PackageManagerService.compareSignatures(mService.mPlatformPackage.mSignatures, in isSysComponentOrPersistentPlatformSignedPrivAppLPr() 1062 pkg.mSignatures) == PackageManager.SIGNATURE_MATCH; in isSysComponentOrPersistentPlatformSignedPrivAppLPr()
|
D | Settings.java | 978 if (p.signatures.mSignatures == null) { in insertPackageSettingLPw() 979 p.signatures.assignSignatures(pkg.mSignatures); in insertPackageSettingLPw() 987 if (p.sharedUser != null && p.sharedUser.signatures.mSignatures == null) { in insertPackageSettingLPw() 988 p.sharedUser.signatures.assignSignatures(pkg.mSignatures); in insertPackageSettingLPw()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | PackageParserTest.java | 263 assertTrue(Arrays.equals(a.mSignatures, b.mSignatures)); in assertPackagesEqual() 496 pkg.mSignatures = new Signature[] { new Signature(new byte[16]) }; in setKnownFields()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageParser.java | 802 int N = (p.mSignatures != null) ? p.mSignatures.length : 0; in generatePackageInfo() 805 System.arraycopy(p.mSignatures, 0, pi.signatures, 0, N); in generatePackageInfo() 1484 pkg.mSignatures = null; in populateCertificates() 1489 pkg.mSignatures = convertToSignatures(certificates); in populateCertificates() 1506 childPkg.mSignatures = pkg.mSignatures; in populateCertificates() 1523 childPkg.mSignatures = pkg.mSignatures; in collectCertificates() 1531 pkg.mSignatures = null; in collectCertificatesInternal() 1588 pkg.mSignatures = signatures; in collectCertificates() 1596 if (!Signature.areExactMatch(pkg.mSignatures, signatures)) { in collectCertificates() 1668 pkg.mSignatures = entrySignatures; in collectCertificates() [all …]
|