Searched refs:DISALLOW_CONFIG_PRIVATE_DNS (Results 1 – 9 of 9) sorted by relevance
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | DnsTest.java | 19 …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)
|
D | NetworkResetTest.java | 21 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()
|
D | UserRestrictionsTest.java | 146 CommonUserRestrictions.DISALLOW_CONFIG_PRIVATE_DNS,
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | PrivateDnsPolicyTest.java | 46 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/ |
D | CommonUserRestrictions.java | 198 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/ |
D | OrgOwnedProfileOwnerParentTest.java | 69 UserManager.DISALLOW_CONFIG_PRIVATE_DNS,
|
D | UserRestrictionsParentTest.java | 257 UserManager.DISALLOW_CONFIG_PRIVATE_DNS,
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | UserRestrictions.java | 171 UserManager.DISALLOW_CONFIG_PRIVATE_DNS,
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 34062 field public static final String DISALLOW_CONFIG_PRIVATE_DNS = "disallow_config_private_dns";
|