Home
last modified time | relevance | path

Searched refs:setInstalled (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DPackageArchiverTest.java175 mUserState = new PackageUserStateImpl().setInstalled(true); in setUp()
263 mPackageSetting.modifyUserState(UserHandle.CURRENT.getIdentifier()).setInstalled(false); in archiveApp_packageNotInstalledForUser()
445 mUserState.setArchiveState(createArchiveState()).setInstalled(false); in unarchiveApp_callerPackageNameIncorrect()
461 mUserState.setArchiveState(createArchiveState()).setInstalled(false); in unarchiveApp_packageNotInstalled()
476 mUserState.setInstalled(false); in unarchiveApp_notArchived_missingArchiveState()
501 mUserState.setArchiveState(createArchiveState()).setInstalled(false); in unarchiveApp_noInstallerFound()
524 mUserState.setArchiveState(createArchiveState()).setInstalled(false); in unarchiveApp_success()
569 mUserState.setArchiveState(createArchiveState()).setInstalled(false); in getArchivedAppIcon_success()
/frameworks/base/services/core/java/com/android/server/pm/pkg/mutate/
DPackageUserStateWrite.java32 PackageUserStateWrite setInstalled(boolean installed); in setInstalled() method
DPackageStateMutator.java325 public PackageUserStateWrite setInstalled(boolean installed) { in setInstalled() method in PackageStateMutator.StateWriteWrapper.UserStateWriteWrapper
327 mUserState.setInstalled(installed); in setInstalled()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageSettingBuilder.java139 mUserStates.get(userId).setInstalled(installed); in setInstallState()
/frameworks/base/services/core/java/com/android/server/pm/
DRemovePackageHelper.java433 deletedPs.setInstalled(/* installed= */ false, userId); in removePackageDataLIF()
452 deletedPs.setInstalled(installed, userId); in removePackageDataLIF()
DPackageSetting.java800 void setInstalled(boolean inst, int userId) {
801 modifyUserState(userId).setInstalled(inst);
1001 .setInstalled(installed)
DUserSystemPackageInstaller.java248 .setInstalled(installed) in installWhitelistedSystemPackages()
DInstallPackageHelper.java715 pkgSetting.setInstalled(true, userId); in installExistingPackageAsUser()
2325 ps.setInstalled(installed, currentUserId); in updateSettingsInternalLI()
2361 ps.setInstalled(true, userId); in updateSettingsInternalLI()
2385 ps.setInstalled(true, currentUserId); in updateSettingsInternalLI()
2394 ps.setInstalled(false, currentUserId); in updateSettingsInternalLI()
3339 ps.setInstalled(installed, userId); in setPackageInstalledForSystemPackage()
DSharedLibrariesImpl.java617 staticLibPkgSetting.setInstalled(true, installedUsers[u]);
DSettings.java1248 pkgSetting.setInstalled(true, userInfo.id);
4597 ps.setInstalled(false, userHandle);
4609 ps.setInstalled(shouldReallyInstall, userHandle);
DPackageManagerService.java1543 .setInstalled(false); in markPackageAsArchivedIfNeeded()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DCompatibilityModeTest.java61 mMockUserState.setInstalled(true); in setUp()
DPackageUserStateTest.java81 oldUserState.setInstalled(false); in testPackageUserState01()
DPackageManagerSettingsTests.java1217 testPkgSetting01.setInstalled(false /*installed*/, 0 /*userId*/); in testUpdatePackageSetting01()
1261 testPkgSetting01.setInstalled(false /*installed*/, 0 /*userId*/); in testUpdatePackageSetting02()
1305 testPkgSetting01.setInstalled(false /*installed*/, 0 /*userId*/); in testUpdatePackageSettings02WithOldPaths()
/frameworks/base/services/core/java/com/android/server/pm/pkg/
DPackageUserStateImpl.java460 public @NonNull PackageUserStateImpl setInstalled(boolean value) {
/frameworks/base/services/
Dart-wear-profile20618 HSPLcom/android/server/pm/pkg/PackageUserStateImpl;->setInstalled(Z)Lcom/android/server/pm/pkg/Pack…