Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java706 if ((flags & PackageManager.INSTALL_REPLACE_EXISTING) == 0) { in installFromRawResource()
719 if ((flags & PackageManager.INSTALL_REPLACE_EXISTING) == 0) { in installFromRawResource()
820 boolean replace = ((flags & PackageManager.INSTALL_REPLACE_EXISTING) != 0); in sampleReplaceFromRawResource()
846 sampleReplaceFromRawResource(PackageManager.INSTALL_REPLACE_EXISTING); in testReplaceNormalInternal()
1077 int replaceFlags = rFlags | PackageManager.INSTALL_REPLACE_EXISTING; in testManifestInstallLocationReplaceInternalSdcard()
1104 int replaceFlags = rFlags | PackageManager.INSTALL_REPLACE_EXISTING; in testManifestInstallLocationReplaceSdcardInternal()
1381 int rFlags = PackageManager.INSTALL_INTERNAL | PackageManager.INSTALL_REPLACE_EXISTING; in testFlagIExistingI()
1445 int rFlags = PackageManager.INSTALL_REPLACE_EXISTING; in testManifestIExistingI()
1468 int rFlags = PackageManager.INSTALL_REPLACE_EXISTING; in testManifestEExistingI()
1486 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.java309 .addInstallFlags(PackageManager.INSTALL_REPLACE_EXISTING).commit(); in testRollbackWhitelistedApp_Phase1()
/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.java769 INSTALL_REPLACE_EXISTING,
800 public static final int INSTALL_REPLACE_EXISTING = 0x00000002; field in PackageManager
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java545 params.installFlags |= PackageManager.INSTALL_REPLACE_EXISTING; in createSessionInternal()
DPackageManagerShellCommand.java2043 sessionParams.installFlags |= PackageManager.INSTALL_REPLACE_EXISTING; in runRemoveSplits()
2887 sessionParams.installFlags |= PackageManager.INSTALL_REPLACE_EXISTING; in makeInstallParams()