Searched refs:DONT_DELETE_DATA (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | PackageManagerTests.java | 864 boolean retainData = ((dFlags & PackageManager.DONT_DELETE_DATA) != 0); in deleteFromRawResource() 914 deleteFromRawResource(0, PackageManager.DONT_DELETE_DATA); in testDeleteNormalInternalRetainData() 919 deleteFromRawResource(PackageManager.INSTALL_FORWARD_LOCK, PackageManager.DONT_DELETE_DATA); in testDeleteFwdLockedInternalRetainData() 929 deleteFromRawResource(PackageManager.INSTALL_EXTERNAL, PackageManager.DONT_DELETE_DATA); in testDeleteSdcardRetainData() 1656 invokeDeletePackage(ip.pkg.packageName, PackageManager.DONT_DELETE_DATA, receiver); in testMoveAppFailInternalToExternalDelete() 2532 invokeDeletePackage(ip.pkg.packageName, PackageManager.DONT_DELETE_DATA, receiver); in testInstallDeclaresPermissions()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageManager.java | 627 public static final int DONT_DELETE_DATA = 0x00000001; field in PackageManager
|
/frameworks/base/services/java/com/android/server/pm/ |
D | PackageManagerService.java | 6963 dataDirExists ? PackageManager.DONT_DELETE_DATA : 0, in installNewPackageLI() 7011 if (!deletePackageLI(pkgName, true, PackageManager.DONT_DELETE_DATA, in replaceNonSystemPackageLI() 7042 PackageManager.DONT_DELETE_DATA, in replaceNonSystemPackageLI() 7545 if ((flags&PackageManager.DONT_DELETE_DATA) == 0) { in removePackageDataLI() 7560 if ((flags&PackageManager.DONT_DELETE_DATA) == 0) { in removePackageDataLI() 7611 flags &= ~PackageManager.DONT_DELETE_DATA; in deleteSystemPackageLI() 7614 flags |= PackageManager.DONT_DELETE_DATA; in deleteSystemPackageLI() 9109 boolean res = deletePackageLI(pkgName, false, PackageManager.DONT_DELETE_DATA, in unloadMediaPackages()
|
/frameworks/base/cmds/pm/src/com/android/commands/pm/ |
D | Pm.java | 1064 unInstallFlags = PackageManager.DONT_DELETE_DATA; in runUninstall()
|