Home
last modified time | relevance | path

Searched refs:DISALLOW_CONFIG_PRIVATE_DNS (Results 1 – 9 of 9) sorted by relevance

/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DDnsTest.java19 …atic com.android.bedstead.nene.userrestrictions.CommonUserRestrictions.DISALLOW_CONFIG_PRIVATE_DNS;
58 sDeviceState.dpc().componentName(), DISALLOW_CONFIG_PRIVATE_DNS)); in setUserRestriction_disallowConfigPrivateDns_cannotSet_throwsException()
67 sDeviceState.dpc().componentName(), DISALLOW_CONFIG_PRIVATE_DNS); in setUserRestriction_disallowConfigPrivateDns_isSet() local
69 … assertThat(TestApis.devicePolicy().userRestrictions().isSet(DISALLOW_CONFIG_PRIVATE_DNS)) in setUserRestriction_disallowConfigPrivateDns_isSet()
73 sDeviceState.dpc().componentName(), DISALLOW_CONFIG_PRIVATE_DNS); in setUserRestriction_disallowConfigPrivateDns_isSet() local
83 sDeviceState.dpc().componentName(), DISALLOW_CONFIG_PRIVATE_DNS); in setUserRestriction_disallowConfigPrivateDns_isNotSet() local
85 … assertThat(TestApis.devicePolicy().userRestrictions().isSet(DISALLOW_CONFIG_PRIVATE_DNS)) in setUserRestriction_disallowConfigPrivateDns_isNotSet()
90 sDeviceState.dpc().componentName(), DISALLOW_CONFIG_PRIVATE_DNS); in setUserRestriction_disallowConfigPrivateDns_isNotSet() local
94 @EnsureDoesNotHaveUserRestriction(DISALLOW_CONFIG_PRIVATE_DNS)
105 @EnsureHasUserRestriction(DISALLOW_CONFIG_PRIVATE_DNS)
DNetworkResetTest.java21 import static android.os.UserManager.DISALLOW_CONFIG_PRIVATE_DNS;
102 sUserManager.hasUserRestriction(DISALLOW_CONFIG_PRIVATE_DNS); in factoryReset_disallowedByConfigPrivateDnsPolicy_doesPartialFactoryReset()
108 sDeviceState.dpc().componentName(), DISALLOW_CONFIG_PRIVATE_DNS); in factoryReset_disallowedByConfigPrivateDnsPolicy_doesPartialFactoryReset() local
117 restoreUserRestriction(originalUserRestriction, DISALLOW_CONFIG_PRIVATE_DNS); in factoryReset_disallowedByConfigPrivateDnsPolicy_doesPartialFactoryReset()
127 sUserManager.hasUserRestriction(DISALLOW_CONFIG_PRIVATE_DNS); in factoryReset_noPolicyRestrictions_resetsToDefault()
138 sDeviceState.dpc().componentName(), DISALLOW_CONFIG_PRIVATE_DNS); in factoryReset_noPolicyRestrictions_resetsToDefault() local
150 restoreUserRestriction(originalPrivateDnsUserRestriction, DISALLOW_CONFIG_PRIVATE_DNS); in factoryReset_noPolicyRestrictions_resetsToDefault()
DUserRestrictionsTest.java146 CommonUserRestrictions.DISALLOW_CONFIG_PRIVATE_DNS,
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DPrivateDnsPolicyTest.java46 setUserRestriction(UserManager.DISALLOW_CONFIG_PRIVATE_DNS, false); in tearDown()
51 setUserRestriction(UserManager.DISALLOW_CONFIG_PRIVATE_DNS, true); in testDisallowPrivateDnsConfigurationRestriction()
53 UserManager.DISALLOW_CONFIG_PRIVATE_DNS)).isTrue(); in testDisallowPrivateDnsConfigurationRestriction()
57 setUserRestriction(UserManager.DISALLOW_CONFIG_PRIVATE_DNS, false); in testClearDisallowPrivateDnsConfigurationRestriction()
59 UserManager.DISALLOW_CONFIG_PRIVATE_DNS)).isFalse(); in testClearDisallowPrivateDnsConfigurationRestriction()
152 setUserRestriction(UserManager.DISALLOW_CONFIG_PRIVATE_DNS, true); in testCanSetModeDespiteUserRestriction()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/userrestrictions/
DCommonUserRestrictions.java198 public static final String DISALLOW_CONFIG_PRIVATE_DNS = field in CommonUserRestrictions
326 DISALLOW_CONFIG_PRIVATE_DNS,
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DOrgOwnedProfileOwnerParentTest.java69 UserManager.DISALLOW_CONFIG_PRIVATE_DNS,
DUserRestrictionsParentTest.java257 UserManager.DISALLOW_CONFIG_PRIVATE_DNS,
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DUserRestrictions.java171 UserManager.DISALLOW_CONFIG_PRIVATE_DNS,
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt34062 field public static final String DISALLOW_CONFIG_PRIVATE_DNS = "disallow_config_private_dns";