HomeSort by relevance Sort by last modified time
    Searched refs:DISALLOW_REMOVE_USER (Results 1 - 20 of 20) sorted by null

  /cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/provisioning/
UserRestrictionTest.java 45 setUserRestriction(UserManager.DISALLOW_REMOVE_USER, true);
49 setUserRestriction(UserManager.DISALLOW_REMOVE_USER, false);
  /cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/userrestrictions/
DeviceOwnerUserRestrictionsTest.java 31 UserManager.DISALLOW_REMOVE_USER,
SecondaryProfileOwnerUserRestrictionsTest.java 33 UserManager.DISALLOW_REMOVE_USER,
BaseUserRestrictionsTest.java 43 UserManager.DISALLOW_REMOVE_USER,
  /frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DevicePolicyManagerServiceMigrationTest.java 91 UserManager.DISALLOW_REMOVE_USER,
100 UserManager.DISALLOW_REMOVE_USER,
187 UserManager.DISALLOW_REMOVE_USER
193 UserManager.DISALLOW_REMOVE_USER
  /cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
CreateAndManageUserTest.java 70 mDevicePolicyManager.clearUserRestriction(getWho(), UserManager.DISALLOW_REMOVE_USER);
270 mDevicePolicyManager.addUserRestriction(getWho(), UserManager.DISALLOW_REMOVE_USER);
  /packages/apps/Settings/src/com/android/settings/users/
UserPreference.java 145 UserManager.DISALLOW_REMOVE_USER, UserHandle.myUserId());
UserDetailsSettings.java 108 UserManager.DISALLOW_REMOVE_USER, UserHandle.myUserId())) {
UserSettings.java 284 boolean allowRemoveUser = !um.hasUserRestriction(UserManager.DISALLOW_REMOVE_USER);
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
UserRestrictions.java 50 UserManager.DISALLOW_REMOVE_USER,
74 R.string.disallow_remove_user,
199 case UserManager.DISALLOW_REMOVE_USER:
  /cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DeviceAndProfileOwnerTest.java 97 private static final String DISALLOW_REMOVE_USER = "no_remove_user";
738 // Outside of the primary user, setting DISALLOW_REMOVE_USER would not work.
744 changeUserRestrictionOrFail(DISALLOW_REMOVE_USER, true, mUserId);
747 changeUserRestrictionOrFail(DISALLOW_REMOVE_USER, false, mUserId);
    [all...]
  /frameworks/base/services/core/java/com/android/server/pm/
UserRestrictionsUtils.java 79 UserManager.DISALLOW_REMOVE_USER,
UserManagerService.java     [all...]
  /frameworks/base/core/java/android/os/
UserManager.java 277 public static final String DISALLOW_REMOVE_USER = "no_remove_user";
    [all...]
  /frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DevicePolicyManagerService.java     [all...]
  /prebuilts/sdk/19/
android.jar 
  /prebuilts/sdk/20/
android.jar 
  /prebuilts/sdk/21/
android.jar 
  /prebuilts/sdk/24/
android.jar 
  /prebuilts/sdk/25/
android.jar 

Completed in 1565 milliseconds