Home
last modified time | relevance | path

Searched refs:getSignatures (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/core/java/android/content/pm/
DSigningInfo.java99 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()
DSignature.java315 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()
DSigningDetails.java970 public @Nullable Signature[] getSignatures() { in getSignatures() method in SigningDetails
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageSignaturesTest.java143 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()
DPackageManagerSettingsTests.java1409 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()
DPackageParserTest.java999 assertArrayEquals(a.getSigningDetails().getSignatures(), in assertPackagesEqual()
1000 b.getSigningDetails().getSignatures()); in assertPackagesEqual()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSignatures.java58 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()
DSELinuxMMAC.java529 public Set<Signature> getSignatures() { in getSignatures() method in Policy
807 if (p1.getSignatures().equals(p2.getSignatures())) { in compare()
DPackageManagerServiceUtils.java390 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()
DScanPackageUtils.java1006 if (ps.getSigningDetails().getSignatures() != null in collectCertificatesLI()
1007 && ps.getSigningDetails().getSignatures().length != 0 in collectCertificatesLI()
DSharedLibrariesImpl.java1020 libPkg.getSignatures())
1022 new Signature[]{libPkg.getSignatures()[0]});
DInstantAppRegistry.java429 pkg.getSigningDetails().getSignatures());
1341 pkg.getSigningDetails().getSignatures()), userId);
DShortcutService.java4052 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),
DApkChecksums.java477 certs = installer.getSigningDetails().getSignatures(); in getInstallerChecksums()
/frameworks/base/telephony/java/android/telephony/
DUiccAccessRule.java223 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/
DAppIntegrityManagerServiceImpl.java462 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/
DDomainVerificationDebug.java184 Signature[] signatures = pkg.getSigningDetails().getSignatures(); in printState()
187 pkg.getSigningDetails().getSignatures(), ":")); in printState()
DDomainVerificationService.java1079 newPkgSetting.getSigningDetails().getSignatures()))) { in addPackage()
1224 pkgSetting.getSigningDetails().getSignatures()); in writeSettings()
/frameworks/base/services/companion/java/com/android/server/companion/utils/
DPackageUtils.java227 .getSigningDetails().getSignatures();
/frameworks/base/core/java/com/android/internal/pm/parsing/
DPackageInfoCommonUtils.java206 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/
DRoleServicePlatformHelperImpl.java341 for (final Signature signature : pkg.getSigningDetails().getSignatures()) { in computePackageStateHash()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DSigningDetailsTest.java1098 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/
DBaseShortcutManagerTest.java420 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/
DPackageInfoUtils.java370 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/
DCarrierPrivilegesTracker.java564 List<Signature> signatures = UiccAccessRule.getSignatures(pkg); in updateCertsForPackage()

12