Home
last modified time | relevance | path

Searched refs:DISALLOW_FACTORY_RESET (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/core/java/com/android/server/oemlock/
DOemLockService.java97 UserManager.DISALLOW_FACTORY_RESET)) {
99 !newRestrictions.getBoolean(UserManager.DISALLOW_FACTORY_RESET);
244 .hasUserRestriction(UserManager.DISALLOW_FACTORY_RESET, UserHandle.SYSTEM); in isOemUnlockAllowedByAdmin()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/devicepolicy/
DFactoryResetterTest.java259 when(mUm.hasUserRestriction(UserManager.DISALLOW_FACTORY_RESET)).thenReturn(false); in allowFactoryReset()
263 when(mUm.hasUserRestriction(UserManager.DISALLOW_FACTORY_RESET)).thenReturn(true); in disallowFactoryReset()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DFactoryResetter.java127 if (!mForce && um.hasUserRestriction(UserManager.DISALLOW_FACTORY_RESET)) { in factoryResetInternalUnchecked()
DDevicePolicyManagerService.java6946 restriction = UserManager.DISALLOW_FACTORY_RESET;
/frameworks/base/services/core/java/com/android/server/pm/
DUserRestrictionsUtils.java102 UserManager.DISALLOW_FACTORY_RESET,
174 UserManager.DISALLOW_FACTORY_RESET,
/frameworks/base/services/core/java/com/android/server/
DPersistentDataBlockService.java601 enforceUserRestriction(UserManager.DISALLOW_FACTORY_RESET);
/frameworks/base/core/java/android/os/
DRecoverySystem.java961 if (!force && um.hasUserRestriction(UserManager.DISALLOW_FACTORY_RESET)) { in rebootWipeUserData()
DUserManager.java799 public static final String DISALLOW_FACTORY_RESET = "no_factory_reset"; field in UserManager
1524 DISALLOW_FACTORY_RESET,
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java5095 UserManager.DISALLOW_FACTORY_RESET, in testWipeDataDeviceOwner()
5110 UserManager.DISALLOW_FACTORY_RESET, in testWipeEuiccDataEnabled()
5125 UserManager.DISALLOW_FACTORY_RESET, in testWipeDataDeviceOwnerDisallowed()
5207 UserManager.DISALLOW_FACTORY_RESET, in testMaximumFailedPasswordAttemptsReachedDeviceOwner()
5228 UserManager.DISALLOW_FACTORY_RESET, in testMaximumFailedPasswordAttemptsReachedDeviceOwnerDisallowed()
7999 UserManager.DISALLOW_FACTORY_RESET, in testWipeData_financeDo_success()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt22399 field public static final java.lang.String DISALLOW_FACTORY_RESET = "no_factory_reset";
/frameworks/base/core/api/
Dcurrent.txt32254 field public static final String DISALLOW_FACTORY_RESET = "no_factory_reset";