Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java137 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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DAccessPointControllerImpl.java68 return !mUserManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_WIFI, in canConfigWifi()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DCarrierNetworkNotifierTest.java462 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()
DOpenNetworkNotifierTest.java458 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()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java1740 when(mUserManager.hasUserRestriction(eq(UserManager.DISALLOW_CONFIG_WIFI))) in testPersistentGroupMetricWhenSendFactoryReset()
1908 when(mUserManager.hasUserRestriction(eq(UserManager.DISALLOW_CONFIG_WIFI))) in testStartLocalConnectionWhenCreateGroup()
3088 when(mUserManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_WIFI)).thenReturn(false); in testFactoryResetSuccessWhenP2pEnabled()
3096 verify(mUserManager).hasUserRestriction(eq(UserManager.DISALLOW_CONFIG_WIFI)); in testFactoryResetSuccessWhenP2pEnabled()
3115 when(mUserManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_WIFI)).thenReturn(false); in testFactoryResetSuccessWhenP2pFromDisabledToEnabled()
3122 verify(mUserManager).hasUserRestriction(eq(UserManager.DISALLOW_CONFIG_WIFI)); in testFactoryResetSuccessWhenP2pFromDisabledToEnabled()
3138 verify(mUserManager, times(2)).hasUserRestriction(eq(UserManager.DISALLOW_CONFIG_WIFI)); in testFactoryResetSuccessWhenP2pFromDisabledToEnabled()
3203 when(mUserManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_WIFI)).thenReturn(true); in testFactoryResetFailureWhenConfigWifiDisallow()
3209 verify(mUserManager).hasUserRestriction(eq(UserManager.DISALLOW_CONFIG_WIFI)); in testFactoryResetFailureWhenConfigWifiDisallow()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DAvailableNetworkNotifier.java268 .hasUserRestriction(UserManager.DISALLOW_CONFIG_WIFI, UserHandle.CURRENT); in isControllerEnabled()
DWifiServiceImpl.java2991 if (!mUserManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_WIFI)) { in factoryReset()
/frameworks/base/services/core/java/com/android/server/pm/
DUserRestrictionsUtils.java77 UserManager.DISALLOW_CONFIG_WIFI,
DUserManagerService.java578 UserManager.DISALLOW_CONFIG_WIFI, currentGuestUser.id)) { in systemReady()
582 setUserRestriction(UserManager.DISALLOW_CONFIG_WIFI, true, currentGuestUser.id); in systemReady()
1467 mGuestRestrictions.putBoolean(UserManager.DISALLOW_CONFIG_WIFI, true); in initDefaultGuestRestrictions()
/frameworks/base/core/java/android/os/
DUserManager.java148 public static final String DISALLOW_CONFIG_WIFI = "no_config_wifi"; field in UserManager
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java4144 if (userManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_WIFI)) return false; in factoryReset()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt22395 field public static final java.lang.String DISALLOW_CONFIG_WIFI = "no_config_wifi";
/frameworks/base/non-updatable-api/
Dcurrent.txt35616 field public static final String DISALLOW_CONFIG_WIFI = "no_config_wifi";
/frameworks/base/api/
Dcurrent.txt35760 field public static final String DISALLOW_CONFIG_WIFI = "no_config_wifi";