Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/oemlock/
DOemLockService.java103 UserManager.DISALLOW_FACTORY_RESET)) {
105 !newRestrictions.getBoolean(UserManager.DISALLOW_FACTORY_RESET);
258 .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()
DPolicyDefinition.java487 USER_RESTRICTION_FLAGS.put(UserManager.DISALLOW_FACTORY_RESET, /* flags= */ 0); in USER_RESTRICTION_FLAGS.put() argument
DDevicePolicyManagerService.java8008 restriction = UserManager.DISALLOW_FACTORY_RESET;
13758 … UserManager.DISALLOW_FACTORY_RESET, new String[]{MANAGE_DEVICE_POLICY_FACTORY_RESET});
/frameworks/base/services/core/java/com/android/server/pm/
DUserRestrictionsUtils.java102 UserManager.DISALLOW_FACTORY_RESET,
184 UserManager.DISALLOW_FACTORY_RESET,
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserInfoTest.java129 final String globalRestriction = UserManager.DISALLOW_FACTORY_RESET; in testWriteReadDevicePolicyUserRestrictions()
/frameworks/base/services/core/java/com/android/server/pdb/
DPersistentDataBlockService.java1132 enforceUserRestriction(UserManager.DISALLOW_FACTORY_RESET);
/frameworks/base/core/java/android/os/
DRecoverySystem.java936 if (!force && um.hasUserRestriction(UserManager.DISALLOW_FACTORY_RESET)) { in rebootWipeUserData()
DUserManager.java968 public static final String DISALLOW_FACTORY_RESET = "no_factory_reset"; field in UserManager
2057 DISALLOW_FACTORY_RESET,
/frameworks/base/services/tests/servicestests/src/com/android/server/pdb/
DPersistentDataBlockServiceTest.java622 when(mUserManager.hasUserRestriction(eq(UserManager.DISALLOW_FACTORY_RESET))) in oemUnlockUserRestriction_FactoryReset()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java5118 UserManager.DISALLOW_FACTORY_RESET, in testWipeDevice_DeviceOwner()
5133 UserManager.DISALLOW_FACTORY_RESET, in testWipeEuiccDataEnabled()
5148 UserManager.DISALLOW_FACTORY_RESET, in testWipeDevice_DeviceOwnerDisallowed()
5230 UserManager.DISALLOW_FACTORY_RESET, in testMaximumFailedPasswordAttemptsReachedDeviceOwner()
5251 UserManager.DISALLOW_FACTORY_RESET, in testMaximumFailedPasswordAttemptsReachedDeviceOwnerDisallowed()
8043 UserManager.DISALLOW_FACTORY_RESET, in testWipeDevice_financeDo_success()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/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.txt34079 field public static final String DISALLOW_FACTORY_RESET = "no_factory_reset";