Searched refs:DISALLOW_FACTORY_RESET (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/services/core/java/com/android/server/oemlock/ |
D | OemLockService.java | 97 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/ |
D | FactoryResetterTest.java | 259 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/ |
D | FactoryResetter.java | 127 if (!mForce && um.hasUserRestriction(UserManager.DISALLOW_FACTORY_RESET)) { in factoryResetInternalUnchecked()
|
D | DevicePolicyManagerService.java | 6946 restriction = UserManager.DISALLOW_FACTORY_RESET;
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserRestrictionsUtils.java | 102 UserManager.DISALLOW_FACTORY_RESET, 174 UserManager.DISALLOW_FACTORY_RESET,
|
/frameworks/base/services/core/java/com/android/server/ |
D | PersistentDataBlockService.java | 601 enforceUserRestriction(UserManager.DISALLOW_FACTORY_RESET);
|
/frameworks/base/core/java/android/os/ |
D | RecoverySystem.java | 961 if (!force && um.hasUserRestriction(UserManager.DISALLOW_FACTORY_RESET)) { in rebootWipeUserData()
|
D | UserManager.java | 799 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/ |
D | DevicePolicyManagerTest.java | 5095 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/ |
D | android-22.txt | 22399 field public static final java.lang.String DISALLOW_FACTORY_RESET = "no_factory_reset";
|
/frameworks/base/core/api/ |
D | current.txt | 32254 field public static final String DISALLOW_FACTORY_RESET = "no_factory_reset";
|