Home
last modified time | relevance | path

Searched refs:versionedPackage (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DIPackageInstaller.aidl56 void uninstall(in VersionedPackage versionedPackage, String callerPackageName, int flags, in uninstall() argument
59 void uninstallExistingPackage(in VersionedPackage versionedPackage, String callerPackageName, in uninstallExistingPackage() argument
DSharedLibraryInfo.java178 VersionedPackage versionedPackage = allDependents.get(k); in SharedLibraryInfo() local
183 optionalDependents.add(versionedPackage); in SharedLibraryInfo()
DIPackageManager.aidl78 PackageInfo getPackageInfoVersioned(in VersionedPackage versionedPackage, in getPackageInfoVersioned() argument
240 void deletePackageVersioned(in VersionedPackage versionedPackage, in deletePackageVersioned() argument
250 void deleteExistingPackageAsUser(in VersionedPackage versionedPackage, in deleteExistingPackageAsUser() argument
DPackageInstaller.java1043 public void uninstall(@NonNull VersionedPackage versionedPackage, in uninstall() argument
1045 uninstall(versionedPackage, 0 /*flags*/, statusReceiver); in uninstall()
1065 public void uninstall(@NonNull VersionedPackage versionedPackage, @DeleteFlags int flags, in uninstall() argument
1067 Objects.requireNonNull(versionedPackage, "versionedPackage cannot be null"); in uninstall()
1069 mInstaller.uninstall(versionedPackage, mInstallerPackageName, in uninstall()
DPackageManager.java5733 public abstract PackageInfo getPackageInfo(@NonNull VersionedPackage versionedPackage, in getPackageInfo() argument
5740 public PackageInfo getPackageInfo(@NonNull VersionedPackage versionedPackage, in getPackageInfo() argument
/frameworks/base/services/core/java/com/android/server/pm/
DDeletePackageHelper.java690 public void deletePackageVersionedInternal(VersionedPackage versionedPackage, in deletePackageVersionedInternal() argument
698 Preconditions.checkNotNull(versionedPackage); in deletePackageVersionedInternal()
700 Preconditions.checkArgumentInRange(versionedPackage.getLongVersionCode(), in deletePackageVersionedInternal()
704 final String packageName = versionedPackage.getPackageName(); in deletePackageVersionedInternal()
705 final long versionCode = versionedPackage.getLongVersionCode(); in deletePackageVersionedInternal()
1019 public void deleteExistingPackageAsUser(VersionedPackage versionedPackage, in deleteExistingPackageAsUser() argument
1023 Preconditions.checkNotNull(versionedPackage); in deleteExistingPackageAsUser()
1025 final String packageName = versionedPackage.getPackageName(); in deleteExistingPackageAsUser()
1026 final long versionCode = versionedPackage.getLongVersionCode(); in deleteExistingPackageAsUser()
1042 deletePackageVersionedInternal(versionedPackage, observer, userId, 0, true); in deleteExistingPackageAsUser()
DIPackageManagerBase.java274 public final void deleteExistingPackageAsUser(VersionedPackage versionedPackage, in deleteExistingPackageAsUser() argument
276 mService.deleteExistingPackageAsUser(versionedPackage, observer, userId); in deleteExistingPackageAsUser()
290 public final void deletePackageVersioned(VersionedPackage versionedPackage, in deletePackageVersioned() argument
292 mService.deletePackageVersioned(versionedPackage, observer, userId, deleteFlags); in deletePackageVersioned()
591 public final PackageInfo getPackageInfoVersioned(VersionedPackage versionedPackage, in getPackageInfoVersioned() argument
593 return snapshot().getPackageInfoInternal(versionedPackage.getPackageName(), in getPackageInfoVersioned()
594 versionedPackage.getLongVersionCode(), flags, Binder.getCallingUid(), userId); in getPackageInfoVersioned()
DPackageInstallerService.java1406 public void uninstall(VersionedPackage versionedPackage, String callerPackageName, int flags,
1409 versionedPackage,
1418 void uninstall(VersionedPackage versionedPackage, String callerPackageName, int flags,
1433 versionedPackage.getPackageName(), snapshot, userId, callingUid);
1436 statusReceiver, versionedPackage.getPackageName(),
1441 mPm.deletePackageVersioned(versionedPackage, adapter.getBinder(), userId, flags);
1447 mPm.deletePackageVersioned(versionedPackage, adapter.getBinder(), userId, flags);
1464 intent.setData(Uri.fromParts("package", versionedPackage.getPackageName(), null));
1477 public void uninstallExistingPackage(VersionedPackage versionedPackage,
1488 statusReceiver, versionedPackage.getPackageName(), false, userId);
[all …]
DPackageManagerService.java3316 public void deleteExistingPackageAsUser(VersionedPackage versionedPackage,
3319 versionedPackage, observer, userId);
3322 public void deletePackageVersioned(VersionedPackage versionedPackage,
3325 versionedPackage, observer, userId, deleteFlags, false);
/frameworks/base/services/core/java/com/android/server/
DPackageWatchdog.java433 VersionedPackage versionedPackage = packages.get(pIndex); in onPackageFailure() local
445 versionedPackage.getPackageName())) { in onPackageFailure()
447 versionedPackage.getPackageName()); in onPackageFailure()
453 versionedPackage, failureReason, mitigationCount); in onPackageFailure()
472 maybeExecute(currentObserverToNotify, versionedPackage, in onPackageFailure()
475 currentObserverToNotify.execute(versionedPackage, in onPackageFailure()
517 VersionedPackage versionedPackage, in maybeExecute() argument
525 currentObserverToNotify.execute(versionedPackage, failureReason, mitigationCount); in maybeExecute()
709 @Nullable VersionedPackage versionedPackage, in onHealthCheckFailed()
723 boolean execute(@Nullable VersionedPackage versionedPackage, in execute() argument
/frameworks/base/tests/PackageWatchdog/src/com/android/server/
DPackageWatchdogTest.java429 public int onHealthCheckFailed(VersionedPackage versionedPackage, in testPackageFailureDifferentVersionNotifyNone()
431 if (versionedPackage.getVersionCode() == VERSION_CODE) { in testPackageFailureDifferentVersionNotifyNone()
1838 public int onHealthCheckFailed(VersionedPackage versionedPackage, int failureReason, in onHealthCheckFailed() argument
1840 mHealthCheckFailedPackages.add(versionedPackage.getPackageName()); in onHealthCheckFailed()
1844 public boolean execute(VersionedPackage versionedPackage, int failureReason, in execute() argument
1846 mMitigatedPackages.add(versionedPackage.getPackageName()); in execute()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/testutils/
DPackageManagerStub.java55 public PackageInfo getPackageInfo(VersionedPackage versionedPackage, int flags) in getPackageInfo() argument
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java86 public PackageInfo getPackageInfo(VersionedPackage versionedPackage, in getPackageInfo() argument
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java237 public PackageInfo getPackageInfo(VersionedPackage versionedPackage, int flags) in getPackageInfo() argument
239 return getPackageInfo(versionedPackage, PackageInfoFlags.of(flags)); in getPackageInfo()
243 public PackageInfo getPackageInfo(VersionedPackage versionedPackage, PackageInfoFlags flags) in getPackageInfo() argument
247 PackageInfo pi = mPM.getPackageInfoVersioned(versionedPackage, in getPackageInfo()
255 throw new NameNotFoundException(versionedPackage.toString()); in getPackageInfo()
/frameworks/base/test-mock/src/android/test/mock/
DMockPackageManager.java79 public PackageInfo getPackageInfo(VersionedPackage versionedPackage, in getPackageInfo() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/app/
DMockPackageManager.java76 public PackageInfo getPackageInfo(@NonNull VersionedPackage versionedPackage, int flags) in getPackageInfo() argument
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...