Home
last modified time | relevance | path

Searched refs:pkg2 (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationComparatorTest.java69 private final String pkg2 = "pkg2"; field in NotificationComparatorTest
146 mRecordDefaultMedia = new NotificationRecord(mContext, new StatusBarNotification(pkg2, in setUp()
147 pkg2, 1, "media", uid2, uid2, n3, new UserHandle(userId), in setUp()
153 mRecordInlineReply = new NotificationRecord(mContext, new StatusBarNotification(pkg2, in setUp()
154 pkg2, 1, "inlinereply", uid2, uid2, n4, new UserHandle(userId), in setUp()
169 mRecordStarredContact = new NotificationRecord(mContext, new StatusBarNotification(pkg2, in setUp()
170 pkg2, 1, "starred", uid2, uid2, n6, new UserHandle(userId), in setUp()
176 mRecordContact = new NotificationRecord(mContext, new StatusBarNotification(pkg2, in setUp()
177 pkg2, 1, "contact", uid2, uid2, n7, new UserHandle(userId), in setUp()
183 mRecordUrgent = new NotificationRecord(mContext, new StatusBarNotification(pkg2, in setUp()
[all …]
DGroupHelperTest.java100 final String pkg2 = "package2"; in testNoGroup_multiPackage() local
106 getSbn(pkg2, AUTOGROUP_AT_COUNT, "four", UserHandle.SYSTEM), false); in testNoGroup_multiPackage()
/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayManagerServiceImplTestsBase.java334 final DummyDeviceState.Package pkg2 = mState.select(packageName2, 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.java262 final AndroidPackage pkg2 = ((ParsedPackage) PackageImpl.forTesting(packageName2) in testShouldInstallPackage() local
274 pkg2, pkgBitSetMap, userWhitelist, implicit)); in testShouldInstallPackage()
285 pkg2, pkgBitSetMap, userWhitelist, implicit)); in testShouldInstallPackage()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java2537 ParsingPackage pkg2 = getParsedPackage(apk2Name, apk2); in checkSharedSignatures() local
2542 cleanUpInstall(pkg2.getPackageName()); in checkSharedSignatures()
2557 int matchByName = pm.checkSignatures(pkg1.getPackageName(), pkg2.getPackageName()); in checkSharedSignatures()
2559 int pkg2Uid = pm.getApplicationInfo(pkg2.getPackageName(), 0).uid; in checkSharedSignatures()
2567 cleanUpInstall(pkg2.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
2802 if (pai != null && !pai.isPackageAssociationAllowed(pkg2)) { in validateAssociationAllowedLocked()
2805 pai = mAllowedAssociations.get(pkg2); in validateAssociationAllowedLocked()