Home
last modified time | relevance | path

Searched refs:DISALLOW_NETWORK_RESET (Results 1 – 9 of 9) 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()
3087 when(mUserManager.hasUserRestriction(UserManager.DISALLOW_NETWORK_RESET)).thenReturn(false); in testFactoryResetSuccessWhenP2pEnabled()
3095 verify(mUserManager).hasUserRestriction(eq(UserManager.DISALLOW_NETWORK_RESET)); in testFactoryResetSuccessWhenP2pEnabled()
3114 when(mUserManager.hasUserRestriction(UserManager.DISALLOW_NETWORK_RESET)).thenReturn(false); in testFactoryResetSuccessWhenP2pFromDisabledToEnabled()
3121 verify(mUserManager).hasUserRestriction(eq(UserManager.DISALLOW_NETWORK_RESET)); in testFactoryResetSuccessWhenP2pFromDisabledToEnabled()
3137 verify(mUserManager, times(2)).hasUserRestriction(eq(UserManager.DISALLOW_NETWORK_RESET)); in testFactoryResetSuccessWhenP2pFromDisabledToEnabled()
3179 when(mUserManager.hasUserRestriction(UserManager.DISALLOW_NETWORK_RESET)).thenReturn(true); in testFactoryResetFailureWhenNetworkResetDisallow()
3184 verify(mUserManager).hasUserRestriction(eq(UserManager.DISALLOW_NETWORK_RESET)); in testFactoryResetFailureWhenNetworkResetDisallow()
3202 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.java494 public static final String DISALLOW_NETWORK_RESET = "no_network_reset"; field in UserManager
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java2982 if (mUserManager.hasUserRestriction(UserManager.DISALLOW_NETWORK_RESET)) { in factoryReset()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java4142 if (userManager.hasUserRestriction(UserManager.DISALLOW_NETWORK_RESET)) return false; in factoryReset()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java5078 if (mUserManager.hasUserRestriction(UserManager.DISALLOW_NETWORK_RESET)) { in factoryReset()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java7531 if (mUserManager.hasUserRestriction(UserManager.DISALLOW_NETWORK_RESET)) { in factoryReset()
/frameworks/base/non-updatable-api/
Dcurrent.txt35630 field public static final String DISALLOW_NETWORK_RESET = "no_network_reset";
/frameworks/base/api/
Dcurrent.txt35774 field public static final String DISALLOW_NETWORK_RESET = "no_network_reset";