Home
last modified time | relevance | path

Searched refs:DISALLOW_UNINSTALL_APPS (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DRestrictedLockUtilsTest.java93 final String userRestriction = UserManager.DISALLOW_UNINSTALL_APPS; in checkIfRestrictionEnforced_deviceOwner()
111 final String userRestriction = UserManager.DISALLOW_UNINSTALL_APPS; in checkIfRestrictionEnforced_profileOwner()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DPackageHelperTestBase.kt102 eq(UserManager.DISALLOW_UNINSTALL_APPS), eq(TEST_USER_ID))).thenReturn(true) in setup()
/frameworks/base/services/core/java/com/android/server/pm/
DUserRestrictionsUtils.java86 UserManager.DISALLOW_UNINSTALL_APPS,
689 case UserManager.DISALLOW_UNINSTALL_APPS: in applyUserRestriction()
DSuspendPackageHelper.java464 && !userManager.hasUserRestriction(UserManager.DISALLOW_UNINSTALL_APPS, userId)); in isSuspendAllowedForUser()
DDeletePackageHelper.java711 if (mPm.isUserRestricted(userId, UserManager.DISALLOW_UNINSTALL_APPS)) { in deletePackageVersionedInternal()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtilsInternal.java240 UserManager.DISALLOW_UNINSTALL_APPS, userId); in checkIfUninstallBlocked()
/frameworks/base/core/java/android/os/
DUserManager.java411 public static final String DISALLOW_UNINSTALL_APPS = "no_uninstall_apps"; field in UserManager
1503 DISALLOW_UNINSTALL_APPS,
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java908 assertThat(stored.getBoolean(UserManager.DISALLOW_UNINSTALL_APPS)).isFalse(); in testRestrictions()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt22409 field public static final java.lang.String DISALLOW_UNINSTALL_APPS = "no_uninstall_apps";
/frameworks/base/core/api/
Dcurrent.txt32277 field public static final String DISALLOW_UNINSTALL_APPS = "no_uninstall_apps";