Searched refs:DISALLOW_FACTORY_RESET (Results 1 – 15 of 15) sorted by relevance
103 UserManager.DISALLOW_FACTORY_RESET)) {105 !newRestrictions.getBoolean(UserManager.DISALLOW_FACTORY_RESET);258 .hasUserRestriction(UserManager.DISALLOW_FACTORY_RESET, UserHandle.SYSTEM); in isOemUnlockAllowedByAdmin()
259 when(mUm.hasUserRestriction(UserManager.DISALLOW_FACTORY_RESET)).thenReturn(false); in allowFactoryReset()263 when(mUm.hasUserRestriction(UserManager.DISALLOW_FACTORY_RESET)).thenReturn(true); in disallowFactoryReset()
127 if (!mForce && um.hasUserRestriction(UserManager.DISALLOW_FACTORY_RESET)) { in factoryResetInternalUnchecked()
487 USER_RESTRICTION_FLAGS.put(UserManager.DISALLOW_FACTORY_RESET, /* flags= */ 0); in USER_RESTRICTION_FLAGS.put() argument
8008 restriction = UserManager.DISALLOW_FACTORY_RESET;13758 … UserManager.DISALLOW_FACTORY_RESET, new String[]{MANAGE_DEVICE_POLICY_FACTORY_RESET});
102 UserManager.DISALLOW_FACTORY_RESET,184 UserManager.DISALLOW_FACTORY_RESET,
129 final String globalRestriction = UserManager.DISALLOW_FACTORY_RESET; in testWriteReadDevicePolicyUserRestrictions()
1132 enforceUserRestriction(UserManager.DISALLOW_FACTORY_RESET);
936 if (!force && um.hasUserRestriction(UserManager.DISALLOW_FACTORY_RESET)) { in rebootWipeUserData()
968 public static final String DISALLOW_FACTORY_RESET = "no_factory_reset"; field in UserManager2057 DISALLOW_FACTORY_RESET,
622 when(mUserManager.hasUserRestriction(eq(UserManager.DISALLOW_FACTORY_RESET))) in oemUnlockUserRestriction_FactoryReset()
5118 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()
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
22399 field public static final java.lang.String DISALLOW_FACTORY_RESET = "no_factory_reset";
34079 field public static final String DISALLOW_FACTORY_RESET = "no_factory_reset";