Searched refs:mWifiNetworkFactory (Results 1 – 2 of 2) sorted by relevance
161 private WifiNetworkFactory mWifiNetworkFactory; field in WifiNetworkFactoryTest198 mWifiNetworkFactory = new WifiNetworkFactory(mLooper.getLooper(), mContext, in setUp()211 mWifiNetworkFactory.register(); in setUp()225 mWifiNetworkFactory.setWifiState(true); in setUp()226 mWifiNetworkFactory.enableVerboseLogging(1); in setUp()242 assertFalse(mWifiNetworkFactory.hasConnectionRequests()); in testHandleNetworkRequestWithNoSpecifier()243 mWifiNetworkFactory.needNetworkFor(mNetworkRequest, 0); in testHandleNetworkRequestWithNoSpecifier()247 assertTrue(mWifiNetworkFactory.hasConnectionRequests()); in testHandleNetworkRequestWithNoSpecifier()250 mWifiNetworkFactory.needNetworkFor(mNetworkRequest, 0); in testHandleNetworkRequestWithNoSpecifier()260 mWifiNetworkFactory.releaseNetworkFor(mNetworkRequest); in testHandleNetworkReleaseWithNoSpecifier()[all …]
407 @Mock WifiNetworkFactory mWifiNetworkFactory; field in ClientModeImplTest471 when(mWifiInjector.makeWifiNetworkFactory(any(), any())).thenReturn(mWifiNetworkFactory); in setUp()487 when(mWifiNetworkFactory.getSpecificNetworkRequestUidAndPackageName(any())) in setUp()512 when(mWifiNetworkFactory.hasConnectionRequests()).thenReturn(true); in setUp()628 verify(mWifiNetworkFactory, atLeastOnce()).register(); in initializeCmi()985 when(mWifiNetworkFactory.hasConnectionRequests()).thenReturn(false); in triggerConnectWithNoNetworkRequest()1433 when(mWifiNetworkFactory.hasConnectionRequests()).thenReturn(false); in triggerConnectWithNoNetworkRequestAndAlreadyConnected()1458 when(mWifiNetworkFactory.hasConnectionRequests()).thenReturn(false); in triggerConnectWithNoNetworkRequestAndAlreadyConnectedButNonPrivilegedApp()2326 InOrder inOrder = inOrder(mWifiConnectivityManager, mWifiNetworkFactory); in testWifiInfoCleanedUpEnteringExitingConnectModeState()2339 inOrder.verify(mWifiNetworkFactory).setWifiState(eq(true)); in testWifiInfoCleanedUpEnteringExitingConnectModeState()[all …]