Home
last modified time | relevance | path

Searched refs:pkg1 (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayManagerServiceImplTestsBase.java333 final DummyDeviceState.Package pkg1 = mState.select(packageName1, userId); in signaturesMatching() local
335 return pkg1 != null && pkg2 != null && pkg1.certificate.equals(pkg2.certificate); in signaturesMatching()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserSystemPackageInstallerTest.java260 final AndroidPackage pkg1 = ((ParsedPackage) PackageImpl.forTesting(packageName1) in testShouldInstallPackage() local
272 pkg1, pkgBitSetMap, userWhitelist, implicit)); in testShouldInstallPackage()
283 pkg1, pkgBitSetMap, userWhitelist, implicit)); in testShouldInstallPackage()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java1868 ParsingPackage pkg1 = getParsedPackage(apk1Name, apk1); in replaceCerts() local
1879 cleanUpInstall(pkg1.getPackageName()); in replaceCerts()
2536 ParsingPackage pkg1 = getParsedPackage(apk1Name, apk1); in checkSharedSignatures() local
2541 cleanUpInstall(pkg1.getPackageName()); in checkSharedSignatures()
2557 int matchByName = pm.checkSignatures(pkg1.getPackageName(), pkg2.getPackageName()); in checkSharedSignatures()
2558 int pkg1Uid = pm.getApplicationInfo(pkg1.getPackageName(), 0).uid; in checkSharedSignatures()
2566 cleanUpInstall(pkg1.getPackageName()); in checkSharedSignatures()
/frameworks/base/core/java/android/content/pm/
DIPackageManager.aidl103 int checkSignatures(String pkg1, String pkg2); in checkSignatures() argument
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java280 public int checkSignatures(String pkg1, String pkg2) { in checkSignatures() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/testutils/
DPackageManagerStub.java267 public int checkSignatures(String pkg1, String pkg2) { in checkSignatures() argument
/frameworks/base/core/proto/android/providers/settings/
Dglobal.proto442 // i.e. <pkg1>,<pkg2>,...,<pkgN>
445 // i.e. <pkg1>,<pkg2>,...,<pkgN>
463 // i.e. <pkg1>,<pkg2>,...,<pkgN>
/frameworks/base/test-mock/src/android/test/mock/
DMockPackageManager.java338 public int checkSignatures(String pkg1, String pkg2) { in checkSignatures() argument
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java912 public int checkSignatures(String pkg1, String pkg2) { in checkSignatures() argument
914 return mPM.checkSignatures(pkg1, pkg2); in checkSignatures()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java2790 boolean validateAssociationAllowedLocked(String pkg1, int uid1, String pkg2, int uid2) { in validateAssociationAllowedLocked() argument
2801 PackageAssociationInfo pai = mAllowedAssociations.get(pkg1); in validateAssociationAllowedLocked()
2806 if (pai != null && !pai.isPackageAssociationAllowed(pkg1)) { in validateAssociationAllowedLocked()