Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DOtaDexoptService.java165 (pkg1, pkg2) -> Long.compare( in prepare()
166 pkg1.getLatestForegroundPackageUseTimeInMills(), in prepare()
DPackageManagerServiceUtils.java127 Collections.sort(pkgs, (pkg1, pkg2) -> in sortPackagesByUsageDate()
129 pkg1.getLatestForegroundPackageUseTimeInMills())); in sortPackagesByUsageDate()
206 PackageParser.Package lastUsed = Collections.max(remainingPkgs, (pkg1, pkg2) -> in getPackagesForDexopt()
207 Long.compare(pkg1.getLatestForegroundPackageUseTimeInMills(), in getPackagesForDexopt()
DPackageManagerService.java6132 public int checkSignatures(String pkg1, String pkg2) {
6134 final PackageParser.Package p1 = mPackages.get(pkg1);
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java1860 PackageParser.Package pkg1 = getParsedPackage(apk1Name, apk1); in replaceCerts() local
1871 cleanUpInstall(pkg1.packageName); in replaceCerts()
2508 PackageParser.Package pkg1 = getParsedPackage(apk1Name, apk1); in checkSharedSignatures() local
2513 cleanUpInstall(pkg1.packageName); in checkSharedSignatures()
2523 int match = mContext.getPackageManager().checkSignatures(pkg1.packageName, in checkSharedSignatures()
2529 cleanUpInstall(pkg1.packageName); in checkSharedSignatures()
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/testutils/
DPackageManagerStub.java267 public 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/core/java/android/content/pm/
DIPackageManager.aidl148 int checkSignatures(String pkg1, String pkg2); in checkSignatures() argument
/frameworks/base/core/proto/android/providers/settings/
Dglobal.proto440 // i.e. <pkg1>,<pkg2>,...,<pkgN>
443 // i.e. <pkg1>,<pkg2>,...,<pkgN>
461 // 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.java771 public int checkSignatures(String pkg1, String pkg2) { in checkSignatures() argument
773 return mPM.checkSignatures(pkg1, pkg2); in checkSignatures()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java2648 boolean validateAssociationAllowedLocked(String pkg1, int uid1, String pkg2, int uid2) { in validateAssociationAllowedLocked() argument
2659 PackageAssociationInfo pai = mAllowedAssociations.get(pkg1); in validateAssociationAllowedLocked()
2664 if (pai != null && !pai.isPackageAssociationAllowed(pkg1)) { in validateAssociationAllowedLocked()