Home
last modified time | relevance | path

Searched refs:deleteFlags (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DUninstallerActivity.java80 public int deleteFlags; field in UninstallerActivity.DialogInfo
242 int deleteFlags = intent.getIntExtra(PackageInstaller.EXTRA_DELETE_FLAGS, 0); in parseDeleteFlags() local
243 int archive = deleteFlags & PackageManager.DELETE_ARCHIVE; in parseDeleteFlags()
244 int keepData = deleteFlags & PackageManager.DELETE_KEEP_DATA; in parseDeleteFlags()
245 mDialogInfo.deleteFlags = archive | keepData; in parseDeleteFlags()
365 if (mDialogInfo.deleteFlags != 0) { in startUninstallProgress()
367 mDialogInfo.deleteFlags); in startUninstallProgress()
414 flags |= mDialogInfo.deleteFlags; in startUninstallProgress()
/frameworks/base/services/core/java/com/android/server/pm/
DDeletePackageHelper.java117 public int deletePackageX(String packageName, long versionCode, int userId, int deleteFlags, in deletePackageX() argument
122 final int removeUser = (deleteFlags & PackageManager.DELETE_ALL_USERS) != 0 in deletePackageX()
153 && ((deleteFlags & PackageManager.DELETE_SYSTEM_APP) == 0)) { in deletePackageX()
225 && ((deleteFlags & PackageManager.DELETE_SYSTEM_APP) == 0)) { in deletePackageX()
247 deleteFlags, "deletePackageX", ApplicationExitInfo.REASON_OTHER)) { in deletePackageX() argument
249 deleteFlags | PackageManager.DELETE_CHATTY, info, true); in deletePackageX()
269 final boolean killApp = (deleteFlags & PackageManager.DELETE_DONT_KILL_APP) == 0; in deletePackageX()
270 final boolean isArchived = (deleteFlags & PackageManager.DELETE_ARCHIVE) != 0; in deletePackageX()
274 PackageMetrics.onUninstallSucceeded(info, deleteFlags, removeUser); in deletePackageX()
691 final IPackageDeleteObserver2 observer, final int userId, final int deleteFlags, in deletePackageVersionedInternal() argument
[all …]
DStorageEventHelper.java258 final int deleteFlags = PackageManager.DELETE_KEEP_DATA; in unloadPrivatePackagesInner() local
261 UserHandle.USER_ALL, deleteFlags, in unloadPrivatePackagesInner() argument
264 userIds, deleteFlags, new PackageRemovedInfo(), false)) { in unloadPrivatePackagesInner()
DReconcilePackageUtils.java116 final int deleteFlags = PackageManager.DELETE_KEEP_DATA in reconcilePackages() local
122 deleteFlags, null /* all users */); in reconcilePackages()
DPackageMetrics.java275 public static void onUninstallSucceeded(PackageRemovedInfo info, int deleteFlags, int userId) { in onUninstallSucceeded() argument
292 originalUserTypes, deleteFlags, PackageManager.DELETE_SUCCEEDED, in onUninstallSucceeded()
DIPackageManagerBase.java291 final IPackageDeleteObserver2 observer, final int userId, final int deleteFlags) { in deletePackageVersioned() argument
292 mService.deletePackageVersioned(versionedPackage, observer, userId, deleteFlags); in deletePackageVersioned()
DPackageArchiver.java245 final int deleteFlags = DELETE_ARCHIVE | DELETE_KEEP_DATA in requestArchive() local
253 deleteFlags, in requestArchive()
DPackageManagerService.java3323 final IPackageDeleteObserver2 observer, final int userId, final int deleteFlags) {
3325 versionedPackage, observer, userId, deleteFlags, false);
4362 public PackageFreezer freezePackageForDelete(String packageName, int userId, int deleteFlags,
4364 if ((deleteFlags & PackageManager.DELETE_DONT_KILL_APP) != 0) {
8120 int deletePackageX(String packageName, long versionCode, int userId, int deleteFlags, in deletePackageX() argument
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/handheld/
DUninstallAlertDialogFragment.java136 (dialogInfo.deleteFlags & PackageManager.DELETE_ARCHIVE) != 0); in onCreateDialog()