Searched refs:mUntrustedWifiNetworkFactory (Results 1 – 2 of 2) sorted by relevance
45 private UntrustedWifiNetworkFactory mUntrustedWifiNetworkFactory; field in UntrustedWifiNetworkFactoryTest59 mUntrustedWifiNetworkFactory = new UntrustedWifiNetworkFactory( in setUp()81 assertFalse(mUntrustedWifiNetworkFactory.hasConnectionRequests()); in testHandleNetworkRequest()82 mUntrustedWifiNetworkFactory.needNetworkFor(mNetworkRequest, 0); in testHandleNetworkRequest()86 assertTrue(mUntrustedWifiNetworkFactory.hasConnectionRequests()); in testHandleNetworkRequest()89 mUntrustedWifiNetworkFactory.needNetworkFor(mNetworkRequest, 0); in testHandleNetworkRequest()99 mUntrustedWifiNetworkFactory.releaseNetworkFor(mNetworkRequest); in testHandleNetworkRelease()100 assertFalse(mUntrustedWifiNetworkFactory.hasConnectionRequests()); in testHandleNetworkRelease()103 mUntrustedWifiNetworkFactory.needNetworkFor(mNetworkRequest, 0); in testHandleNetworkRelease()104 assertTrue(mUntrustedWifiNetworkFactory.hasConnectionRequests()); in testHandleNetworkRelease()[all …]
408 @Mock UntrustedWifiNetworkFactory mUntrustedWifiNetworkFactory; field in ClientModeImplTest473 .thenReturn(mUntrustedWifiNetworkFactory); in setUp()513 when(mUntrustedWifiNetworkFactory.hasConnectionRequests()).thenReturn(true); in setUp()629 verify(mUntrustedWifiNetworkFactory, atLeastOnce()).register(); in initializeCmi()986 when(mUntrustedWifiNetworkFactory.hasConnectionRequests()).thenReturn(false); in triggerConnectWithNoNetworkRequest()1434 when(mUntrustedWifiNetworkFactory.hasConnectionRequests()).thenReturn(false); in triggerConnectWithNoNetworkRequestAndAlreadyConnected()1459 when(mUntrustedWifiNetworkFactory.hasConnectionRequests()).thenReturn(false); in triggerConnectWithNoNetworkRequestAndAlreadyConnectedButNonPrivilegedApp()