Home
last modified time | relevance | path

Searched refs:DISALLOW_CONFIG_WIFI (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/
DWifiRestrictionsCacheTest.java19 import static android.os.UserManager.DISALLOW_CONFIG_WIFI;
123 wifiRestrictionsCache.getRestriction(DISALLOW_CONFIG_WIFI); in getRestriction_firstTime_getFromSystem()
125 verify(userRestrictions).getBoolean(DISALLOW_CONFIG_WIFI); in getRestriction_firstTime_getFromSystem()
133 wifiRestrictionsCache.getRestriction(DISALLOW_CONFIG_WIFI); in getRestriction_secondTime_notGetFromSystem()
137 wifiRestrictionsCache.getRestriction(DISALLOW_CONFIG_WIFI); in getRestriction_secondTime_notGetFromSystem()
139 verify(userRestrictions, never()).getBoolean(DISALLOW_CONFIG_WIFI); in getRestriction_secondTime_notGetFromSystem()
147 wifiRestrictionsCache.getRestriction(DISALLOW_CONFIG_WIFI); in clearRestrictions_shouldGetRestrictionFromSystemAgain()
152 wifiRestrictionsCache.getRestriction(DISALLOW_CONFIG_WIFI); in clearRestrictions_shouldGetRestrictionFromSystemAgain()
154 verify(userRestrictions).getBoolean(DISALLOW_CONFIG_WIFI); in clearRestrictions_shouldGetRestrictionFromSystemAgain()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiRestrictionsCache.java19 import static android.os.UserManager.DISALLOW_CONFIG_WIFI;
129 return !getRestriction(DISALLOW_CONFIG_WIFI); in isConfigWifiAllowed()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
DAccessPointControllerImpl.java108 return !mUserManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_WIFI, in canConfigWifi()
/frameworks/base/services/core/java/com/android/server/pm/
DUserRestrictionsUtils.java82 UserManager.DISALLOW_CONFIG_WIFI,
280 UserManager.DISALLOW_CONFIG_WIFI,
DUserTypeFactory.java427 restrictions.putBoolean(UserManager.DISALLOW_CONFIG_WIFI, true); in getDefaultGuestUserRestrictions()
DUserManagerService.java4433 UserManager.DISALLOW_CONFIG_WIFI, guestUser.id)) { in upgradeIfNecessaryLP()
4434 setUserRestriction(UserManager.DISALLOW_CONFIG_WIFI, true, guestUser.id); in upgradeIfNecessaryLP()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DPolicyDefinition.java442 USER_RESTRICTION_FLAGS.put(UserManager.DISALLOW_CONFIG_WIFI, /* flags= */ 0); in USER_RESTRICTION_FLAGS.put() argument
DDevicePolicyManagerService.java13744 UserManager.DISALLOW_CONFIG_WIFI, new String[]{MANAGE_DEVICE_POLICY_WIFI});
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java1460 UserManager.DISALLOW_CONFIG_WIFI, false, asHandle(testUser.id)); in testRestrictions()
1464 assertThat(stored.getBoolean(UserManager.DISALLOW_CONFIG_WIFI)).isFalse(); in testRestrictions()
/frameworks/base/core/java/android/os/
DUserManager.java319 public static final String DISALLOW_CONFIG_WIFI = "no_config_wifi"; field in UserManager
2050 DISALLOW_CONFIG_WIFI,
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java2254 UserManager.DISALLOW_CONFIG_WIFI,
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt22395 field public static final java.lang.String DISALLOW_CONFIG_WIFI = "no_config_wifi";
/frameworks/base/core/api/
Dcurrent.txt34072 field public static final String DISALLOW_CONFIG_WIFI = "no_config_wifi";