Searched refs:DISALLOW_CONFIG_WIFI (Results 1 – 12 of 12) sorted by relevance
68 return !mUserManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_WIFI, in canConfigWifi()
137 restrictions.getBoolean(UserManager.DISALLOW_CONFIG_WIFI)); in testAddUser()509 UserManager.DISALLOW_CONFIG_WIFI, false, new UserHandle(testUser.id)); in testRestrictions()513 assertEquals(stored.getBoolean(UserManager.DISALLOW_CONFIG_WIFI), false); in testRestrictions()
458 when(mUserManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_WIFI, UserHandle.CURRENT)) in userHasDisallowConfigWifiRestriction_notificationNotDisplayed()477 when(mUserManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_WIFI, UserHandle.CURRENT)) in userHasDisallowConfigWifiRestriction_showingNotificationIsCleared()
462 when(mUserManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_WIFI, UserHandle.CURRENT)) in userHasDisallowConfigWifiRestriction_notificationNotDisplayed()481 when(mUserManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_WIFI, UserHandle.CURRENT)) in userHasDisallowConfigWifiRestriction_showingNotificationIsCleared()
1740 when(mUserManager.hasUserRestriction(eq(UserManager.DISALLOW_CONFIG_WIFI))) in testPersistentGroupMetricWhenSendFactoryReset()1908 when(mUserManager.hasUserRestriction(eq(UserManager.DISALLOW_CONFIG_WIFI))) in testStartLocalConnectionWhenCreateGroup()3107 when(mUserManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_WIFI)).thenReturn(false); in testFactoryResetSuccessWhenP2pEnabled()3115 verify(mUserManager).hasUserRestriction(eq(UserManager.DISALLOW_CONFIG_WIFI)); in testFactoryResetSuccessWhenP2pEnabled()3134 when(mUserManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_WIFI)).thenReturn(false); in testFactoryResetSuccessWhenP2pFromDisabledToEnabled()3141 verify(mUserManager).hasUserRestriction(eq(UserManager.DISALLOW_CONFIG_WIFI)); in testFactoryResetSuccessWhenP2pFromDisabledToEnabled()3157 verify(mUserManager, times(2)).hasUserRestriction(eq(UserManager.DISALLOW_CONFIG_WIFI)); in testFactoryResetSuccessWhenP2pFromDisabledToEnabled()3222 when(mUserManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_WIFI)).thenReturn(true); in testFactoryResetFailureWhenConfigWifiDisallow()3228 verify(mUserManager).hasUserRestriction(eq(UserManager.DISALLOW_CONFIG_WIFI)); in testFactoryResetFailureWhenConfigWifiDisallow()
268 .hasUserRestriction(UserManager.DISALLOW_CONFIG_WIFI, UserHandle.CURRENT); in isControllerEnabled()
2943 if (!mUserManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_WIFI)) { in factoryReset()
77 UserManager.DISALLOW_CONFIG_WIFI,
566 UserManager.DISALLOW_CONFIG_WIFI, currentGuestUser.id)) { in systemReady()570 setUserRestriction(UserManager.DISALLOW_CONFIG_WIFI, true, currentGuestUser.id); in systemReady()1408 mGuestRestrictions.putBoolean(UserManager.DISALLOW_CONFIG_WIFI, true); in initDefaultGuestRestrictions()
147 public static final String DISALLOW_CONFIG_WIFI = "no_config_wifi"; field in UserManager
4109 if (userManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_WIFI)) return false; in factoryReset()
META-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...