Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/
DWifiEnterpriseRestrictionUtilsTest.java18 import static android.os.UserManager.DISALLOW_ADD_WIFI_CONFIG;
95 when(mUserManager.hasUserRestriction(DISALLOW_ADD_WIFI_CONFIG)).thenReturn(true); in isAddWifiConfigAllowed_hasDisallowRestriction_shouldReturnFalse()
102 when(mUserManager.hasUserRestriction(DISALLOW_ADD_WIFI_CONFIG)).thenReturn(false); in isAddWifiConfigAllowed_noDisallowRestriction_shouldReturnTrue()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiEnterpriseRestrictionUtils.java63 if (!hasUserRestrictionFromT(context, UserManager.DISALLOW_ADD_WIFI_CONFIG)) return true; in isAddWifiConfigAllowed()
/frameworks/base/services/core/java/com/android/server/pm/
DUserRestrictionsUtils.java152 UserManager.DISALLOW_ADD_WIFI_CONFIG,
208 UserManager.DISALLOW_ADD_WIFI_CONFIG,
255 UserManager.DISALLOW_ADD_WIFI_CONFIG,
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DOsuWifiEntry.java84 UserManager.DISALLOW_ADD_WIFI_CONFIG); in OsuWifiEntry()
DStandardWifiEntry.java982 UserManager.DISALLOW_ADD_WIFI_CONFIG); in updateAdminRestrictions()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DStandardWifiEntryTest.java1450 UserManager.DISALLOW_ADD_WIFI_CONFIG)).thenReturn(true); in testCanConnect_userRestrictionSet_savedNetwork_returnTrue()
1471 UserManager.DISALLOW_ADD_WIFI_CONFIG)).thenReturn(true); in testCanConnect_userRestrictionSet_suggestionNetwork_returnTrue()
1492 UserManager.DISALLOW_ADD_WIFI_CONFIG)).thenReturn(true); in testCanConnect_UserRestrictionSet_returnFalse()
1792 UserManager.DISALLOW_ADD_WIFI_CONFIG)).thenReturn(false); in testHasAdminRestrictions_noUserRestrictionSet_returnsFalse()
1814 UserManager.DISALLOW_ADD_WIFI_CONFIG)).thenReturn(true); in testHasAdminRestrictions_userRestrictionSet_returnsTrue()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DPolicyDefinition.java454 UserManager.DISALLOW_ADD_WIFI_CONFIG, POLICY_FLAG_GLOBAL_ONLY_POLICY); in USER_RESTRICTION_FLAGS.put() argument
DDevicePolicyManagerService.java13694 UserManager.DISALLOW_ADD_WIFI_CONFIG, new String[]{MANAGE_DEVICE_POLICY_WIFI});
/frameworks/base/core/java/android/os/
DUserManager.java452 public static final String DISALLOW_ADD_WIFI_CONFIG = "no_add_wifi_config"; field in UserManager
2022 DISALLOW_ADD_WIFI_CONFIG,
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt34046 field public static final String DISALLOW_ADD_WIFI_CONFIG = "no_add_wifi_config";