Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DScanRequest.java65 @Nullable AndroidPackage oldPkg, in ScanRequest() argument
77 mOldPkg = oldPkg; in ScanRequest()
DInstallPackageHelper.java496 final AndroidPackage oldPkg = request.getScanRequestOldPackage(); in commitPackageSettings() local
647 (scanFlags & SCAN_AS_INSTANT_APP) != 0, oldPkg); in commitPackageSettings()
1183 private boolean checkNoAppStorageIsConsistent(AndroidPackage oldPkg, AndroidPackage newPkg) { in checkNoAppStorageIsConsistent() argument
1184 if (oldPkg == null) { in checkNoAppStorageIsConsistent()
1189 oldPkg.getProperties().get(PackageManager.PROPERTY_NO_APP_DATA_STORAGE); in checkNoAppStorageIsConsistent()
2270 private boolean disableSystemPackageLPw(AndroidPackage oldPkg) { in disableSystemPackageLPw() argument
2271 return mPm.mSettings.disableSystemPackageLPw(oldPkg.getPackageName(), true); in disableSystemPackageLPw()
4370 private boolean verifyPackageUpdateLPr(PackageSetting oldPkg, AndroidPackage newPkg) { in verifyPackageUpdateLPr() argument
4371 if ((oldPkg.getFlags() & ApplicationInfo.FLAG_SYSTEM) == 0) { in verifyPackageUpdateLPr()
4372 Slog.w(TAG, "Unable to update from " + oldPkg.getPackageName() in verifyPackageUpdateLPr()
[all …]
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DScanRequestBuilder.java46 public ScanRequestBuilder setOldPkg(AndroidPackage oldPkg) { in setOldPkg() argument
47 this.mOldPkg = oldPkg; in setOldPkg()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerServiceLoggingDecorator.java425 @Nullable AndroidPackage oldPkg) { in onPackageAdded() argument
427 + isInstantApp + ", oldPkg = " + oldPkg + ")"); in onPackageAdded()
428 mService.onPackageAdded(packageState, isInstantApp, oldPkg); in onPackageAdded()
DPermissionManagerServiceTestingShim.java556 @Nullable AndroidPackage oldPkg) { in onPackageAdded() argument
557 mOldImplementation.onPackageAdded(pkg, isInstantApp, oldPkg); in onPackageAdded()
558 mNewImplementation.onPackageAdded(pkg, isInstantApp, oldPkg); in onPackageAdded()
DPermissionManagerServiceInternal.java289 boolean isInstantApp, @Nullable AndroidPackage oldPkg); in onPackageAdded() argument
DPermissionManagerServiceInterface.java617 @Nullable AndroidPackage oldPkg); in onPackageAdded() argument
DPermissionManagerServiceTracingDecorator.java633 @Nullable AndroidPackage oldPkg) { in onPackageAdded() argument
636 mService.onPackageAdded(packageState, isInstantApp, oldPkg); in onPackageAdded()
DPermissionManagerServiceImpl.java4658 @NonNull AndroidPackage pkg, boolean isInstantApp, @Nullable AndroidPackage oldPkg) {
4694 boolean hasOldPkg = oldPkg != null;
4703 revokeRuntimePermissionsIfGroupChangedInternal(pkg, oldPkg);
4704 revokeStoragePermissionsIfScopeExpandedInternal(pkg, oldPkg);
4705 revokeSystemAlertWindowIfUpgradedPast23(pkg, oldPkg);
5252 @Nullable AndroidPackage oldPkg) {
5256 onPackageAddedInternal(packageState, pkg, isInstantApp, oldPkg);
DPermissionManagerService.java722 @Nullable AndroidPackage oldPkg) { in onPackageAdded() argument
723 mPermissionManagerServiceImpl.onPackageAdded(packageState, isInstantApp, oldPkg); in onPackageAdded()
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
DDomainVerificationService.java974 AndroidPackage oldPkg = oldPkgSetting.getPkg(); in migrateState() local
980 if (oldPkgState == null || oldPkg == null || newPkg == null) { in migrateState()
985 + ", old pkg = " + oldPkg in migrateState()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerService.java3948 private void updateMediaBackupExemptionLocked(int userId, @Nullable String oldPkg,
3952 && (job.getSourcePackageName().equals(oldPkg)
4685 final String oldPkg = mCloudMediaProviderPackages.get(userId);
4686 if (!Objects.equals(oldPkg, newPkg)) {
4688 Slog.d(TAG, "Cloud provider of user " + userId + " changed from " + oldPkg
4694 args.arg1 = oldPkg;