Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DAccessPointControllerImpl.java68 return !mUserManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_WIFI, in canConfigWifi()
/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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
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()
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()
/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()
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()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DAvailableNetworkNotifier.java268 .hasUserRestriction(UserManager.DISALLOW_CONFIG_WIFI, UserHandle.CURRENT); in isControllerEnabled()
DWifiServiceImpl.java2943 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.java566 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()
/frameworks/base/core/java/android/os/
DUserManager.java147 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.java4109 if (userManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_WIFI)) return false; in factoryReset()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...