Searched refs:DISALLOW_NETWORK_RESET (Results 1 – 8 of 8) sorted by relevance
1738 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 …]
96 UserManager.DISALLOW_NETWORK_RESET,155 UserManager.DISALLOW_NETWORK_RESET,
493 public static final String DISALLOW_NETWORK_RESET = "no_network_reset"; field in UserManager
2934 if (mUserManager.hasUserRestriction(UserManager.DISALLOW_NETWORK_RESET)) { in factoryReset()
4107 if (userManager.hasUserRestriction(UserManager.DISALLOW_NETWORK_RESET)) return false; in factoryReset()
4943 if (mUserManager.hasUserRestriction(UserManager.DISALLOW_NETWORK_RESET)) { in factoryReset()
6904 if (mUserManager.hasUserRestriction(UserManager.DISALLOW_NETWORK_RESET)) { in factoryReset()
META-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...