/frameworks/base/core/java/android/content/pm/ |
D | SigningInfo.java | 99 return mSigningDetails.getSignatures() != null in hasMultipleSigners() 100 && mSigningDetails.getSignatures().length > 1; in hasMultipleSigners() 142 return mSigningDetails.getSignatures(); in getSigningCertificateHistory() 160 return mSigningDetails.getSignatures(); in getApkContentsSigners()
|
D | Signature.java | 315 return areExactArraysMatch(ad.getSignatures(), bd.getSignatures()); in areExactMatch() 323 return areExactArraysMatch(ad.getSignatures(), b); in areExactMatch() 351 return areEffectiveArraysMatch(a.getSignatures(), b.getSignatures()); in areEffectiveMatch()
|
D | SigningDetails.java | 970 public @Nullable Signature[] getSignatures() { in getSignatures() method in SigningDetails
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
D | PackageSignaturesTest.java | 143 mPackageSetting.getSignatures().readXml(parser, signatures); in testReadXmlFromTwoSigsTagsWithSameSigner() 147 mPackageSetting.getSignatures().readXml(parser, signatures); in testReadXmlFromTwoSigsTagsWithSameSigner() 171 mPackageSetting.getSignatures().readXml(parser, signatures); in testReadXmlWithInvalidPublicKeyInCertKey() 357 mPackageSetting.getSignatures().readXml(parser, signatures); in testReadXmlWithPastSignerWithNoCapabilities() 383 mPackageSetting.getSignatures().readXml(parser, signatures); in verifyReadXmlReturnsExpectedSignatures() 400 mPackageSetting.getSignatures().readXml(parser, signatures); in verifyReadXmlReturnsExpectedSignaturesAndLineage()
|
D | PackageManagerSettingsTests.java | 1409 final PackageSignatures originalSignatures = originalPkgSetting01.getSignatures(); in testCreateNewSetting01() 1449 assertNotSame(testPkgSetting01.getSignatures(), originalSignatures); in testCreateNewSetting01() 1554 final PackageSignatures disabledSignatures = disabledPkgSetting01.getSignatures(); in testCreateNewSetting04() 1592 assertNotSame(testPkgSetting01.getSignatures(), disabledSignatures); in testCreateNewSetting04() 1928 assertSame(origPkgSetting.getSignatures(), testPkgSetting.getSignatures()); in verifySettingCopy() 1929 assertThat(origPkgSetting.getSignatures(), is(testPkgSetting.getSignatures())); in verifySettingCopy()
|
D | PackageParserTest.java | 999 assertArrayEquals(a.getSigningDetails().getSignatures(), in assertPackagesEqual() 1000 b.getSigningDetails().getSignatures()); in assertPackagesEqual()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageSignatures.java | 58 if (mSigningDetails.getSignatures() == null) { in writeXml() 62 serializer.attributeInt(null, "count", mSigningDetails.getSignatures().length); in writeXml() 64 writeCertsListXml(serializer, writtenSignatures, mSigningDetails.getSignatures(), false); in writeXml() 320 if (mSigningDetails.getSignatures() != null) { in toString() 321 for (int i = 0; i < mSigningDetails.getSignatures().length; i++) { in toString() 324 mSigningDetails.getSignatures()[i].hashCode())); in toString()
|
D | SELinuxMMAC.java | 529 public Set<Signature> getSignatures() { in getSignatures() method in Policy 807 if (p1.getSignatures().equals(p2.getSignatures())) { in compare()
|
D | PackageManagerServiceUtils.java | 390 return compareSignatureArrays(sd1.getSignatures(), sd2.getSignatures()); in compareSignatures() 451 for (Signature sig : packageSignatures.mSigningDetails.getSignatures()) { in matchSignaturesCompat() 455 for (Signature sig : parsedSignatures.getSignatures()) { in matchSignaturesCompat() 551 if (pkgSetting.getSigningDetails().getSignatures() != null) { in verifySignatures() 570 match = matchSignaturesCompat(packageName, pkgSetting.getSignatures(), in verifySignatures() 609 pkgSetting.getSigningDetails().getSignatures() != null in verifySignatures()
|
D | ScanPackageUtils.java | 1006 if (ps.getSigningDetails().getSignatures() != null in collectCertificatesLI() 1007 && ps.getSigningDetails().getSignatures().length != 0 in collectCertificatesLI()
|
D | SharedLibrariesImpl.java | 1020 libPkg.getSignatures()) 1022 new Signature[]{libPkg.getSignatures()[0]});
|
D | InstantAppRegistry.java | 429 pkg.getSigningDetails().getSignatures()); 1341 pkg.getSigningDetails().getSignatures()), userId);
|
D | ShortcutService.java | 4052 boolean getSignatures) { 4054 packageName, userId, getSignatures)); 4063 boolean getSignatures) { 4068 | (getSignatures ? PackageManager.GET_SIGNING_CERTIFICATES : 0), userId); 4077 (getSignatures ? Stats.GET_PACKAGE_INFO_WITH_SIG : Stats.GET_PACKAGE_INFO),
|
D | ApkChecksums.java | 477 certs = installer.getSigningDetails().getSignatures(); in getInstallerChecksums()
|
/frameworks/base/telephony/java/android/telephony/ |
D | UiccAccessRule.java | 223 List<Signature> signatures = getSignatures(packageInfo); in getCarrierPrivilegeStatus() 320 public static List<Signature> getSignatures(PackageInfo packageInfo) { in getSignatures() method in UiccAccessRule
|
/frameworks/base/services/core/java/com/android/server/integrity/ |
D | AppIntegrityManagerServiceImpl.java | 462 for (Signature signature : getSignatures(packageName, signingDetails)) { in getCertificateFingerprint() 547 private static Signature[] getSignatures(@NonNull String packageName, in getSignatures() method in AppIntegrityManagerServiceImpl 549 Signature[] signatures = signingDetails.getSignatures(); in getSignatures() 561 Signature[] signatureLineage = getSignatures(packageName, signingDetails); in getSignatureLineage()
|
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/ |
D | DomainVerificationDebug.java | 184 Signature[] signatures = pkg.getSigningDetails().getSignatures(); in printState() 187 pkg.getSigningDetails().getSignatures(), ":")); in printState()
|
D | DomainVerificationService.java | 1079 newPkgSetting.getSigningDetails().getSignatures()))) { in addPackage() 1224 pkgSetting.getSigningDetails().getSignatures()); in writeSettings()
|
/frameworks/base/services/companion/java/com/android/server/companion/utils/ |
D | PackageUtils.java | 227 .getSigningDetails().getSignatures();
|
/frameworks/base/core/java/com/android/internal/pm/parsing/ |
D | PackageInfoCommonUtils.java | 206 int numberOfSigs = signingDetails.getSignatures().length; in generate() 208 System.arraycopy(signingDetails.getSignatures(), 0, info.signatures, 0, in generate()
|
/frameworks/base/services/core/java/com/android/server/policy/role/ |
D | RoleServicePlatformHelperImpl.java | 341 for (final Signature signature : pkg.getSigningDetails().getSignatures()) { in computePackageStateHash()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | SigningDetailsTest.java | 1098 assertEquals(1, details.getSignatures().length); in assertSigningDetailsContainsLineage() 1099 assertTrue(details.getSignatures()[0].toCharsString().equalsIgnoreCase( in assertSigningDetailsContainsLineage()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | BaseShortcutManagerTest.java | 420 boolean getSignatures) { in injectPackageInfoWithUninstalled() argument 421 return getInjectedPackageInfo(packageName, userId, getSignatures); in injectPackageInfoWithUninstalled() 1252 boolean getSignatures) { in getInjectedPackageInfo() argument 1278 if (getSignatures) { in getInjectedPackageInfo()
|
/frameworks/base/services/core/java/com/android/server/pm/parsing/ |
D | PackageInfoUtils.java | 370 int numberOfSigs = signingDetails.getSignatures().length; in getDeprecatedSignatures() 372 System.arraycopy(signingDetails.getSignatures(), 0, signatures, 0, in getDeprecatedSignatures()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierPrivilegesTracker.java | 564 List<Signature> signatures = UiccAccessRule.getSignatures(pkg); in updateCertsForPackage()
|