Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/
DPackageWatchdog.java331 VersionedPackage versionedPackage = packages.get(pIndex); in onPackageFailure() local
342 versionedPackage.getPackageName())) { in onPackageFailure()
343 int impact = registeredObserver.onHealthCheckFailed(versionedPackage); in onPackageFailure()
354 currentObserverToNotify.execute(versionedPackage, failureReason); in onPackageFailure()
418 @PackageHealthObserverImpact int onHealthCheckFailed(VersionedPackage versionedPackage); in onHealthCheckFailed() argument
425 boolean execute(VersionedPackage versionedPackage, @FailureReasons int failureReason); in execute() argument
/frameworks/base/core/java/android/content/pm/
DIPackageInstaller.aidl51 void uninstall(in VersionedPackage versionedPackage, String callerPackageName, int flags, in uninstall() argument
DPackageInstaller.java576 public void uninstall(@NonNull VersionedPackage versionedPackage, in uninstall() argument
578 uninstall(versionedPackage, 0 /*flags*/, statusReceiver); in uninstall()
598 public void uninstall(@NonNull VersionedPackage versionedPackage, @DeleteFlags int flags, in uninstall() argument
600 Preconditions.checkNotNull(versionedPackage, "versionedPackage cannot be null"); in uninstall()
602 mInstaller.uninstall(versionedPackage, mInstallerPackageName, in uninstall()
DIPackageManager.aidl71 PackageInfo getPackageInfoVersioned(in VersionedPackage versionedPackage, in getPackageInfoVersioned() argument
284 void deletePackageVersioned(in VersionedPackage versionedPackage, in deletePackageVersioned() argument
DPackageManager.java3452 public abstract PackageInfo getPackageInfo(@NonNull VersionedPackage versionedPackage, in getPackageInfo() argument
/frameworks/base/tests/PackageWatchdog/src/com/android/server/
DPackageWatchdogTest.java322 public int onHealthCheckFailed(VersionedPackage versionedPackage) { in testPackageFailureDifferentVersionNotifyNone()
323 if (versionedPackage.getVersionCode() == VERSION_CODE) { in testPackageFailureDifferentVersionNotifyNone()
864 public int onHealthCheckFailed(VersionedPackage versionedPackage) { in onHealthCheckFailed() argument
868 public boolean execute(VersionedPackage versionedPackage, int failureReason) { in execute() argument
869 mFailedPackages.add(versionedPackage.getPackageName()); in execute()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java819 public void uninstall(VersionedPackage versionedPackage, String callerPackageName, int flags, in uninstall() argument
835 statusReceiver, versionedPackage.getPackageName(), in uninstall()
840 mPm.deletePackageVersioned(versionedPackage, adapter.getBinder(), userId, flags); in uninstall()
846 mPm.deletePackageVersioned(versionedPackage, adapter.getBinder(), userId, flags); in uninstall()
863 intent.setData(Uri.fromParts("package", versionedPackage.getPackageName(), null)); in uninstall()
DPackageManagerService.java4120 public PackageInfo getPackageInfoVersioned(VersionedPackage versionedPackage,
4122 return getPackageInfoInternal(versionedPackage.getPackageName(),
4123 versionedPackage.getLongVersionCode(), flags, Binder.getCallingUid(), userId);
17744 public void deletePackageVersioned(VersionedPackage versionedPackage,
17750 Preconditions.checkNotNull(versionedPackage);
17752 Preconditions.checkArgumentInRange(versionedPackage.getLongVersionCode(),
17756 final String packageName = versionedPackage.getPackageName();
17757 final long versionCode = versionedPackage.getLongVersionCode();
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java77 public PackageInfo getPackageInfo(VersionedPackage versionedPackage, in getPackageInfo() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/testutils/
DPackageManagerStub.java55 public PackageInfo getPackageInfo(VersionedPackage versionedPackage, int flags) in getPackageInfo() argument
/frameworks/base/test-mock/src/android/test/mock/
DMockPackageManager.java79 public PackageInfo getPackageInfo(VersionedPackage versionedPackage, in getPackageInfo() argument
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java163 public PackageInfo getPackageInfo(VersionedPackage versionedPackage, int flags) in getPackageInfo() argument
167 PackageInfo pi = mPM.getPackageInfoVersioned(versionedPackage, in getPackageInfo()
175 throw new NameNotFoundException(versionedPackage.toString()); in getPackageInfo()