Searched refs:DISALLOW_CONFIG_WIFI (Results 1 – 14 of 14) sorted by relevance
19 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()
19 import static android.os.UserManager.DISALLOW_CONFIG_WIFI;129 return !getRestriction(DISALLOW_CONFIG_WIFI); in isConfigWifiAllowed()
108 return !mUserManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_WIFI, in canConfigWifi()
82 UserManager.DISALLOW_CONFIG_WIFI,280 UserManager.DISALLOW_CONFIG_WIFI,
427 restrictions.putBoolean(UserManager.DISALLOW_CONFIG_WIFI, true); in getDefaultGuestUserRestrictions()
4433 UserManager.DISALLOW_CONFIG_WIFI, guestUser.id)) { in upgradeIfNecessaryLP()4434 setUserRestriction(UserManager.DISALLOW_CONFIG_WIFI, true, guestUser.id); in upgradeIfNecessaryLP()
442 USER_RESTRICTION_FLAGS.put(UserManager.DISALLOW_CONFIG_WIFI, /* flags= */ 0); in USER_RESTRICTION_FLAGS.put() argument
13744 UserManager.DISALLOW_CONFIG_WIFI, new String[]{MANAGE_DEVICE_POLICY_WIFI});
1460 UserManager.DISALLOW_CONFIG_WIFI, false, asHandle(testUser.id)); in testRestrictions()1464 assertThat(stored.getBoolean(UserManager.DISALLOW_CONFIG_WIFI)).isFalse(); in testRestrictions()
319 public static final String DISALLOW_CONFIG_WIFI = "no_config_wifi"; field in UserManager2050 DISALLOW_CONFIG_WIFI,
2254 UserManager.DISALLOW_CONFIG_WIFI,
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
22395 field public static final java.lang.String DISALLOW_CONFIG_WIFI = "no_config_wifi";
34072 field public static final String DISALLOW_CONFIG_WIFI = "no_config_wifi";