Home
last modified time | relevance | path

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

/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DFactoryResetTest.java19 …rt static com.android.bedstead.nene.userrestrictions.CommonUserRestrictions.DISALLOW_FACTORY_RESET;
52 sDeviceState.dpc().componentName(), DISALLOW_FACTORY_RESET)); in addUserRestriction_disallowFactoryReset_cannotSet_throwsException()
61 sDeviceState.dpc().componentName(), DISALLOW_FACTORY_RESET); in addUserRestriction_disallowFactoryReset_isSet() local
63 assertThat(TestApis.devicePolicy().userRestrictions().isSet(DISALLOW_FACTORY_RESET)) in addUserRestriction_disallowFactoryReset_isSet()
67 sDeviceState.dpc().componentName(), DISALLOW_FACTORY_RESET); in addUserRestriction_disallowFactoryReset_isSet() local
78 DISALLOW_FACTORY_RESET); in clearUserRestriction_disallowFactoryReset_isNotSet() local
81 sDeviceState.dpc().componentName(), DISALLOW_FACTORY_RESET); in clearUserRestriction_disallowFactoryReset_isNotSet() local
83 assertThat(TestApis.devicePolicy().userRestrictions().isSet(DISALLOW_FACTORY_RESET)) in clearUserRestriction_disallowFactoryReset_isNotSet()
87 sDeviceState.dpc().componentName(), DISALLOW_FACTORY_RESET); in clearUserRestriction_disallowFactoryReset_isNotSet() local
101 DISALLOW_FACTORY_RESET); in addUserRestrictionGlobally_disallowFactoryReset_isSet()
[all …]
DUserRestrictionsTest.java60 CommonUserRestrictions.DISALLOW_FACTORY_RESET,
106 CommonUserRestrictions.DISALLOW_FACTORY_RESET,
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/userrestrictions/
DCommonUserRestrictions.java86 public static final String DISALLOW_FACTORY_RESET = "no_factory_reset"; field in CommonUserRestrictions
284 DISALLOW_FACTORY_RESET,
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/userrestrictions/
DPrimaryProfileOwnerUserRestrictionsTest.java34 UserManager.DISALLOW_FACTORY_RESET,
DSecondaryProfileOwnerUserRestrictionsTest.java54 UserManager.DISALLOW_FACTORY_RESET,
DBaseUserRestrictionsTest.java52 UserManager.DISALLOW_FACTORY_RESET,
91 UserManager.DISALLOW_FACTORY_RESET,
DDeviceOwnerUserRestrictionsTest.java36 UserManager.DISALLOW_FACTORY_RESET,
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DUserRestrictions.java48 UserManager.DISALLOW_FACTORY_RESET,
185 UserManager.DISALLOW_FACTORY_RESET,
DDeviceOwnerPositiveTestActivity.java393 UserManager.DISALLOW_FACTORY_RESET, true)), in addTestsToAdapter()
397 UserManager.DISALLOW_FACTORY_RESET, false)) in addTestsToAdapter()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt34073 field public static final String DISALLOW_FACTORY_RESET = "no_factory_reset";