Home
last modified time | relevance | path

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

/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageManagerTests.java720 if ((flags & PackageManager.INSTALL_REPLACE_EXISTING) == 0) { in installFromRawResource()
733 if ((flags & PackageManager.INSTALL_REPLACE_EXISTING) == 0) { in installFromRawResource()
834 boolean replace = ((flags & PackageManager.INSTALL_REPLACE_EXISTING) != 0); in sampleReplaceFromRawResource()
860 sampleReplaceFromRawResource(PackageManager.INSTALL_REPLACE_EXISTING); in testReplaceNormalInternal()
1093 int replaceFlags = rFlags | PackageManager.INSTALL_REPLACE_EXISTING; in testManifestInstallLocationReplaceInternalSdcard()
1120 int replaceFlags = rFlags | PackageManager.INSTALL_REPLACE_EXISTING; in testManifestInstallLocationReplaceSdcardInternal()
1397 int rFlags = PackageManager.INSTALL_INTERNAL | PackageManager.INSTALL_REPLACE_EXISTING; in testFlagIExistingI()
1461 int rFlags = PackageManager.INSTALL_REPLACE_EXISTING; in testManifestIExistingI()
1484 int rFlags = PackageManager.INSTALL_REPLACE_EXISTING; in testManifestEExistingI()
1502 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.java137 .addInstallFlags(PackageManager.INSTALL_REPLACE_EXISTING).commit(); in testRollbackAllowlistedApp_Phase1_Install()
/frameworks/base/core/java/com/android/internal/content/
DInstallLocationUtils.java483 if ((installFlags & PackageManager.INSTALL_REPLACE_EXISTING) == 0) { in installLocationPolicy()
/frameworks/base/services/core/java/com/android/server/pm/
DMovePackageHelper.java311 installFlags |= PackageManager.INSTALL_REPLACE_EXISTING; in movePackageInternal()
DPackageManagerShellCommand.java2271 sessionParams.installFlags |= PackageManager.INSTALL_REPLACE_EXISTING; in runRemoveSplits()
3610 sessionParams.installFlags |= PackageManager.INSTALL_REPLACE_EXISTING; in makeInstallParams()
DPackageInstallerService.java735 params.installFlags |= PackageManager.INSTALL_REPLACE_EXISTING;
DInstallPackageHelper.java1356 if ((installFlags & PackageManager.INSTALL_REPLACE_EXISTING) != 0) { in preparePackageLI()
/frameworks/base/core/java/android/content/pm/
DPackageManager.java1567 INSTALL_REPLACE_EXISTING,
1611 public static final int INSTALL_REPLACE_EXISTING = 0x00000002; field in PackageManager