Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java708 if ((flags & PackageManager.INSTALL_REPLACE_EXISTING) == 0) { in installFromRawResource()
721 if ((flags & PackageManager.INSTALL_REPLACE_EXISTING) == 0) { in installFromRawResource()
822 boolean replace = ((flags & PackageManager.INSTALL_REPLACE_EXISTING) != 0); in sampleReplaceFromRawResource()
848 sampleReplaceFromRawResource(PackageManager.INSTALL_REPLACE_EXISTING); in testReplaceNormalInternal()
1079 int replaceFlags = rFlags | PackageManager.INSTALL_REPLACE_EXISTING; in testManifestInstallLocationReplaceInternalSdcard()
1106 int replaceFlags = rFlags | PackageManager.INSTALL_REPLACE_EXISTING; in testManifestInstallLocationReplaceSdcardInternal()
1383 int rFlags = PackageManager.INSTALL_INTERNAL | PackageManager.INSTALL_REPLACE_EXISTING; in testFlagIExistingI()
1447 int rFlags = PackageManager.INSTALL_REPLACE_EXISTING; in testManifestIExistingI()
1470 int rFlags = PackageManager.INSTALL_REPLACE_EXISTING; in testManifestEExistingI()
1488 int rFlags = PackageManager.INSTALL_REPLACE_EXISTING; in testManifestAExistingI()
[all …]
/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/
DNetworkStagedRollbackTest.java154 .addInstallFlags(PackageManager.INSTALL_REPLACE_EXISTING).commit(); in installNetworkStackPackage()
DStagedRollbackTest.java287 .addInstallFlags(PackageManager.INSTALL_REPLACE_EXISTING).commit(); in testRollbackAllowlistedApp_Phase1_Install()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DWearPackageInstallerService.java223 installFlags |= PackageManager.INSTALL_REPLACE_EXISTING; in installPackage()
229 if ((installFlags & PackageManager.INSTALL_REPLACE_EXISTING) != 0) { in installPackage()
/frameworks/base/core/java/android/content/pm/
DPackageManager.java1079 INSTALL_REPLACE_EXISTING,
1109 public static final int INSTALL_REPLACE_EXISTING = 0x00000002; field in PackageManager
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java594 params.installFlags |= PackageManager.INSTALL_REPLACE_EXISTING; in createSessionInternal()
DPackageManagerShellCommand.java2086 sessionParams.installFlags |= PackageManager.INSTALL_REPLACE_EXISTING; in runRemoveSplits()
2893 sessionParams.installFlags |= PackageManager.INSTALL_REPLACE_EXISTING; in makeInstallParams()
DPackageManagerService.java17848 if ((installFlags & PackageManager.INSTALL_REPLACE_EXISTING) != 0) { in installLocationPolicy()
20509 if ((installFlags & PackageManager.INSTALL_REPLACE_EXISTING) != 0) { in preparePackageLI()
26272 installFlags |= PackageManager.INSTALL_REPLACE_EXISTING;