Home
last modified time | relevance | path

Searched refs:DISALLOW_NETWORK_RESET (Results 1 – 8 of 8) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java1738 when(mUserManager.hasUserRestriction(eq(UserManager.DISALLOW_NETWORK_RESET))) in testPersistentGroupMetricWhenSendFactoryReset()
1906 when(mUserManager.hasUserRestriction(eq(UserManager.DISALLOW_NETWORK_RESET))) in testStartLocalConnectionWhenCreateGroup()
3106 when(mUserManager.hasUserRestriction(UserManager.DISALLOW_NETWORK_RESET)).thenReturn(false); in testFactoryResetSuccessWhenP2pEnabled()
3114 verify(mUserManager).hasUserRestriction(eq(UserManager.DISALLOW_NETWORK_RESET)); in testFactoryResetSuccessWhenP2pEnabled()
3133 when(mUserManager.hasUserRestriction(UserManager.DISALLOW_NETWORK_RESET)).thenReturn(false); in testFactoryResetSuccessWhenP2pFromDisabledToEnabled()
3140 verify(mUserManager).hasUserRestriction(eq(UserManager.DISALLOW_NETWORK_RESET)); in testFactoryResetSuccessWhenP2pFromDisabledToEnabled()
3156 verify(mUserManager, times(2)).hasUserRestriction(eq(UserManager.DISALLOW_NETWORK_RESET)); in testFactoryResetSuccessWhenP2pFromDisabledToEnabled()
3198 when(mUserManager.hasUserRestriction(UserManager.DISALLOW_NETWORK_RESET)).thenReturn(true); in testFactoryResetFailureWhenNetworkResetDisallow()
3203 verify(mUserManager).hasUserRestriction(eq(UserManager.DISALLOW_NETWORK_RESET)); in testFactoryResetFailureWhenNetworkResetDisallow()
3221 when(mUserManager.hasUserRestriction(UserManager.DISALLOW_NETWORK_RESET)).thenReturn(false); in testFactoryResetFailureWhenConfigWifiDisallow()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DUserRestrictionsUtils.java96 UserManager.DISALLOW_NETWORK_RESET,
155 UserManager.DISALLOW_NETWORK_RESET,
/frameworks/base/core/java/android/os/
DUserManager.java493 public static final String DISALLOW_NETWORK_RESET = "no_network_reset"; field in UserManager
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java2934 if (mUserManager.hasUserRestriction(UserManager.DISALLOW_NETWORK_RESET)) { in factoryReset()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java4107 if (userManager.hasUserRestriction(UserManager.DISALLOW_NETWORK_RESET)) return false; in factoryReset()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java4943 if (mUserManager.hasUserRestriction(UserManager.DISALLOW_NETWORK_RESET)) { in factoryReset()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java6904 if (mUserManager.hasUserRestriction(UserManager.DISALLOW_NETWORK_RESET)) { in factoryReset()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...