Home
last modified time | relevance | path

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

/cts/hostsidetests/securitybulletin/test-apps/CVE-2024-31332/src/android/security/cts/CVE_2024_31332/
DDeviceTest.java19 import static android.os.UserManager.DISALLOW_ADD_WIFI_CONFIG;
108 .getBoolean(DISALLOW_ADD_WIFI_CONFIG); in withDisallowAddWifiConfigRestriction()
114 devicePolicyManager.addUserRestriction(componentName, DISALLOW_ADD_WIFI_CONFIG); in withDisallowAddWifiConfigRestriction()
121 devicePolicyManager.clearUserRestriction(componentName, DISALLOW_ADD_WIFI_CONFIG); in withDisallowAddWifiConfigRestriction()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2024-23704/src/android/security/cts/CVE_2024_23704/
DDeviceTest.java19 import static android.os.UserManager.DISALLOW_ADD_WIFI_CONFIG;
117 .getBoolean(DISALLOW_ADD_WIFI_CONFIG); in withDisallowAddWifiConfigRestriction()
123 devicePolicyManager.addUserRestriction(componentName, DISALLOW_ADD_WIFI_CONFIG); in withDisallowAddWifiConfigRestriction()
130 devicePolicyManager.clearUserRestriction(componentName, DISALLOW_ADD_WIFI_CONFIG); in withDisallowAddWifiConfigRestriction()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DWifiTest.java24 … static com.android.bedstead.nene.userrestrictions.CommonUserRestrictions.DISALLOW_ADD_WIFI_CONFIG;
481 sDeviceState.dpc().componentName(), DISALLOW_ADD_WIFI_CONFIG)); in setUserRestriction_disallowAddWifiConfig_cannotSet_throwsException()
490 sDeviceState.dpc().componentName(), DISALLOW_ADD_WIFI_CONFIG); in setUserRestriction_disallowAddWifiConfig_isSet() local
492 assertThat(TestApis.devicePolicy().userRestrictions().isSet(DISALLOW_ADD_WIFI_CONFIG)) in setUserRestriction_disallowAddWifiConfig_isSet()
497 sDeviceState.dpc().componentName(), DISALLOW_ADD_WIFI_CONFIG); in setUserRestriction_disallowAddWifiConfig_isSet() local
507 sDeviceState.dpc().componentName(), DISALLOW_ADD_WIFI_CONFIG); in setUserRestriction_disallowAddWifiConfig_isNotSet() local
509 assertThat(TestApis.devicePolicy().userRestrictions().isSet(DISALLOW_ADD_WIFI_CONFIG)) in setUserRestriction_disallowAddWifiConfig_isNotSet()
514 sDeviceState.dpc().componentName(), DISALLOW_ADD_WIFI_CONFIG); in setUserRestriction_disallowAddWifiConfig_isNotSet() local
519 @EnsureDoesNotHaveUserRestriction(DISALLOW_ADD_WIFI_CONFIG)
532 @EnsureHasUserRestriction(DISALLOW_ADD_WIFI_CONFIG)
DUserRestrictionsTest.java153 CommonUserRestrictions.DISALLOW_ADD_WIFI_CONFIG,
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/userrestrictions/
DCommonUserRestrictions.java226 public static final String DISALLOW_ADD_WIFI_CONFIG = "no_add_wifi_config"; field in CommonUserRestrictions
333 DISALLOW_ADD_WIFI_CONFIG,
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/userrestrictions/
DBaseUserRestrictionsTest.java80 UserManager.DISALLOW_ADD_WIFI_CONFIG,
107 UserManager.DISALLOW_ADD_WIFI_CONFIG,
DDeviceOwnerUserRestrictionsTest.java67 UserManager.DISALLOW_ADD_WIFI_CONFIG,
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DDeviceOwnerPositiveTestActivity.java281 UserManager.DISALLOW_ADD_WIFI_CONFIG, true)), in addTestsToAdapter()
289 UserManager.DISALLOW_ADD_WIFI_CONFIG, false)) in addTestsToAdapter()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt34041 field public static final String DISALLOW_ADD_WIFI_CONFIG = "no_add_wifi_config";