Searched refs:DISALLOW_NETWORK_RESET (Results 1 – 9 of 9) 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()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 …]
96 UserManager.DISALLOW_NETWORK_RESET,155 UserManager.DISALLOW_NETWORK_RESET,
494 public static final String DISALLOW_NETWORK_RESET = "no_network_reset"; field in UserManager
2982 if (mUserManager.hasUserRestriction(UserManager.DISALLOW_NETWORK_RESET)) { in factoryReset()
4142 if (userManager.hasUserRestriction(UserManager.DISALLOW_NETWORK_RESET)) return false; in factoryReset()
5078 if (mUserManager.hasUserRestriction(UserManager.DISALLOW_NETWORK_RESET)) { in factoryReset()
7531 if (mUserManager.hasUserRestriction(UserManager.DISALLOW_NETWORK_RESET)) { in factoryReset()
35630 field public static final String DISALLOW_NETWORK_RESET = "no_network_reset";
35774 field public static final String DISALLOW_NETWORK_RESET = "no_network_reset";