Home
last modified time | relevance | path

Searched refs:INSTALL_REPLACE_EXISTING (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java571 if ((flags & PackageManager.INSTALL_REPLACE_EXISTING) == 0) { in installFromRawResource()
586 if ((flags & PackageManager.INSTALL_REPLACE_EXISTING) == 0) { in installFromRawResource()
698 boolean replace = ((flags & PackageManager.INSTALL_REPLACE_EXISTING) != 0); in sampleReplaceFromRawResource()
743 sampleReplaceFromRawResource(PackageManager.INSTALL_REPLACE_EXISTING); in testReplaceNormalInternal()
748 sampleReplaceFromRawResource(PackageManager.INSTALL_REPLACE_EXISTING | in testReplaceFwdLockedInternal()
759 sampleReplaceFromRawResource(PackageManager.INSTALL_REPLACE_EXISTING | in testReplaceSdcard()
1245 int replaceFlags = rFlags | PackageManager.INSTALL_REPLACE_EXISTING; in testReplaceFlagInternalSdcard()
1272 int replaceFlags = rFlags | PackageManager.INSTALL_REPLACE_EXISTING; in testReplaceFlagSdcardInternal()
1298 int replaceFlags = rFlags | PackageManager.INSTALL_REPLACE_EXISTING; in testManifestInstallLocationReplaceInternalSdcard()
1325 int replaceFlags = rFlags | PackageManager.INSTALL_REPLACE_EXISTING; in testManifestInstallLocationReplaceSdcardInternal()
[all …]
/frameworks/base/core/java/android/content/pm/
DPackageManager.java275 public static final int INSTALL_REPLACE_EXISTING = 0x00000002; field in PackageManager
/frameworks/base/cmds/pm/src/com/android/commands/pm/
DPm.java752 installFlags |= PackageManager.INSTALL_REPLACE_EXISTING; in runInstall()
/frameworks/base/services/java/com/android/server/pm/
DPackageManagerService.java3615 if ((parseFlags & PackageManager.INSTALL_REPLACE_EXISTING) != 0) { in scanPackageLI()
5346 if ((flags & PackageManager.INSTALL_REPLACE_EXISTING) != 0) { in installLocationPolicy()
6432 parseFlags |= PackageManager.INSTALL_REPLACE_EXISTING | in replaceSystemPackageLI()
6636 if ((pFlags&PackageManager.INSTALL_REPLACE_EXISTING) != 0) { in installPackageLI()
/frameworks/base/services/java/com/android/server/
DBackupManagerService.java3473 PackageManager.INSTALL_REPLACE_EXISTING | PackageManager.INSTALL_FROM_ADB, in installApk()