Home
last modified time | relevance | path

Searched refs:DELETE_KEEP_DATA (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DDeletePackageHelper.java23 import static android.content.pm.PackageManager.DELETE_KEEP_DATA;
468 outInfo.mDataRemoved = (flags & PackageManager.DELETE_KEEP_DATA) == 0; in executeDeletePackageLIF()
600 if ((flags & PackageManager.DELETE_KEEP_DATA) != 0) { in markPackageUninstalledForUserLPw()
609 (flags & DELETE_KEEP_DATA) == 0 in markPackageUninstalledForUserLPw()
615 final long firstInstallTime = (flags & DELETE_KEEP_DATA) == 0 in markPackageUninstalledForUserLPw()
679 flags &= ~PackageManager.DELETE_KEEP_DATA; in deleteInstalledSystemPackage()
682 flags |= PackageManager.DELETE_KEEP_DATA; in deleteInstalledSystemPackage()
DRemovePackageHelper.java282 if ((flags & PackageManager.DELETE_KEEP_DATA) != 0) { in clearPackageStateForUserLIF()
472 if ((flags & PackageManager.DELETE_KEEP_DATA) != 0) { in shouldDeletePackageSetting()
DReconcilePackageUtils.java116 final int deleteFlags = PackageManager.DELETE_KEEP_DATA in reconcilePackages()
DStorageEventHelper.java258 final int deleteFlags = PackageManager.DELETE_KEEP_DATA; in unloadPrivatePackagesInner()
DPackageArchiver.java33 import static android.content.pm.PackageManager.DELETE_KEEP_DATA;
245 final int deleteFlags = DELETE_ARCHIVE | DELETE_KEEP_DATA in requestArchive()
DSharedLibrariesImpl.java731 ? PackageManager.DELETE_KEEP_DATA : 0;
DPackageManagerShellCommand.java2185 flags |= PackageManager.DELETE_KEEP_DATA; in runUninstall()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DUninstallerActivity.java244 int keepData = deleteFlags & PackageManager.DELETE_KEEP_DATA; in parseDeleteFlags()
413 flags |= keepData ? PackageManager.DELETE_KEEP_DATA : 0; in startUninstallProgress()
DUninstallUninstalling.java119 flags |= keepData ? PackageManager.DELETE_KEEP_DATA : 0; in onCreate()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DPackageArchiverTest.java23 import static android.content.pm.PackageManager.DELETE_KEEP_DATA;
371 eq(CALLER_PACKAGE), eq(DELETE_ARCHIVE | DELETE_KEEP_DATA), eq(mIntentSender), in archiveApp_withNoAdditionalFlags_success()
394 eq(DELETE_ARCHIVE | DELETE_KEEP_DATA), in archiveApp_withAdditionalFlags_success()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageManagerTests.java978 boolean retainData = ((dFlags & PackageManager.DELETE_KEEP_DATA) != 0); in deleteFromRawResource()
1011 deleteFromRawResource(0, PackageManager.DELETE_KEEP_DATA); in testDeleteNormalInternalRetainData()
1317 invokeDeletePackage(ip.pkg.getPackageName(), PackageManager.DELETE_KEEP_DATA, receiver); in testMoveAppFailInternalToExternalDelete()
1752 … invokeDeletePackage(ip.pkg.getPackageName(), PackageManager.DELETE_KEEP_DATA, receiver); in testInstallDeclaresPermissions()
2871 invokeDeletePackage(ip.pkg.getPackageName(), PackageManager.DELETE_KEEP_DATA, receiver); in testGetUnInstalledPackagesAll()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/model/
DUninstallRepository.kt719 flags = flags or if (keepData) PackageManager.DELETE_KEEP_DATA else 0 in startUninstall()
/frameworks/base/core/java/android/content/pm/
DPackageManager.java2665 DELETE_KEEP_DATA,
2681 public static final int DELETE_KEEP_DATA = 0x00000001; field in PackageManager
/frameworks/base/core/api/
Dsystem-current.txt4279 field public static final int DELETE_KEEP_DATA = 1; // 0x1
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt12416 Landroid/content/pm/PackageManager;->DELETE_KEEP_DATA:I