Searched refs:mWifiNetworkFactory (Results 1 – 2 of 2) sorted by relevance
157 private WifiNetworkFactory mWifiNetworkFactory; field in WifiNetworkFactoryTest191 mWifiNetworkFactory = new WifiNetworkFactory(mLooper.getLooper(), mContext, in setUp()204 mWifiNetworkFactory.register(); in setUp()218 mWifiNetworkFactory.setWifiState(true); in setUp()219 mWifiNetworkFactory.enableVerboseLogging(1); in setUp()235 assertFalse(mWifiNetworkFactory.hasConnectionRequests()); in testHandleNetworkRequestWithNoSpecifier()236 mWifiNetworkFactory.needNetworkFor(mNetworkRequest, 0); in testHandleNetworkRequestWithNoSpecifier()240 assertTrue(mWifiNetworkFactory.hasConnectionRequests()); in testHandleNetworkRequestWithNoSpecifier()243 mWifiNetworkFactory.needNetworkFor(mNetworkRequest, 0); in testHandleNetworkRequestWithNoSpecifier()253 mWifiNetworkFactory.releaseNetworkFor(mNetworkRequest); in testHandleNetworkReleaseWithNoSpecifier()[all …]
385 @Mock WifiNetworkFactory mWifiNetworkFactory; field in ClientModeImplTest443 when(mWifiInjector.makeWifiNetworkFactory(any(), any())).thenReturn(mWifiNetworkFactory); in setUp()453 when(mWifiNetworkFactory.getSpecificNetworkRequestUidAndPackageName(any())) in setUp()469 when(mWifiNetworkFactory.hasConnectionRequests()).thenReturn(true); in setUp()573 verify(mWifiNetworkFactory, atLeastOnce()).register(); in initializeCmi()988 when(mWifiNetworkFactory.hasConnectionRequests()).thenReturn(false); in triggerConnectWithNoNetworkRequest()1342 when(mWifiNetworkFactory.hasConnectionRequests()).thenReturn(false); in triggerConnectWithNoNetworkRequestAndAlreadyConnected()1367 when(mWifiNetworkFactory.hasConnectionRequests()).thenReturn(false); in triggerConnectWithNoNetworkRequestAndAlreadyConnectedButNonPrivilegedApp()2189 InOrder inOrder = inOrder(mWifiConnectivityManager, mWifiNetworkFactory); in testWifiInfoCleanedUpEnteringExitingConnectModeState()2202 inOrder.verify(mWifiNetworkFactory).setWifiState(eq(true)); in testWifiInfoCleanedUpEnteringExitingConnectModeState()[all …]