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/ |
D | DeviceTest.java | 19 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/ |
D | DeviceTest.java | 19 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/ |
D | WifiTest.java | 24 … 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)
|
D | UserRestrictionsTest.java | 153 CommonUserRestrictions.DISALLOW_ADD_WIFI_CONFIG,
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/userrestrictions/ |
D | CommonUserRestrictions.java | 226 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/ |
D | BaseUserRestrictionsTest.java | 80 UserManager.DISALLOW_ADD_WIFI_CONFIG, 107 UserManager.DISALLOW_ADD_WIFI_CONFIG,
|
D | DeviceOwnerUserRestrictionsTest.java | 67 UserManager.DISALLOW_ADD_WIFI_CONFIG,
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | DeviceOwnerPositiveTestActivity.java | 281 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/ |
D | current.txt | 34041 field public static final String DISALLOW_ADD_WIFI_CONFIG = "no_add_wifi_config";
|