Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java1014 boolean retainData = ((dFlags & PackageManager.DELETE_KEEP_DATA) != 0); in deleteFromRawResource()
1063 deleteFromRawResource(0, PackageManager.DELETE_KEEP_DATA); in testDeleteNormalInternalRetainData()
1068 deleteFromRawResource(PackageManager.INSTALL_FORWARD_LOCK, PackageManager.DELETE_KEEP_DATA); in testDeleteFwdLockedInternalRetainData()
1078 deleteFromRawResource(PackageManager.INSTALL_EXTERNAL, PackageManager.DELETE_KEEP_DATA); in testDeleteSdcardRetainData()
1754 invokeDeletePackage(ip.pkg.packageName, PackageManager.DELETE_KEEP_DATA, receiver); in testMoveAppFailInternalToExternalDelete()
2635 invokeDeletePackage(ip.pkg.packageName, PackageManager.DELETE_KEEP_DATA, receiver); in testInstallDeclaresPermissions()
3827 invokeDeletePackage(ip.pkg.packageName, PackageManager.DELETE_KEEP_DATA, receiver); in testGetUnInstalledPackagesAll()
/frameworks/base/core/java/android/content/pm/
DPackageManager.java1140 DELETE_KEEP_DATA,
1154 public static final int DELETE_KEEP_DATA = 0x00000001; field in PackageManager
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java721 flags |= PackageManager.DELETE_KEEP_DATA; in runUninstall()
DPackageManagerService.java27 import static android.content.pm.PackageManager.DELETE_KEEP_DATA;
14122 PackageManager.DELETE_KEEP_DATA, res.removedInfo, true, null);
14345 final int deleteFlags = PackageManager.DELETE_KEEP_DATA
15741 if ((flags & PackageManager.DELETE_KEEP_DATA) == 0) {
15763 if ((flags&PackageManager.DELETE_KEEP_DATA) == 0) {
15898 flags &= ~PackageManager.DELETE_KEEP_DATA;
15901 flags |= PackageManager.DELETE_KEEP_DATA;
16016 final int deleteFlags = (flags & DELETE_KEEP_DATA) != 0
16019 ? flags & ~DELETE_KEEP_DATA : flags;
19143 final int deleteFlags = PackageManager.DELETE_KEEP_DATA;
[all …]