Searched refs:mWifiNetworkFactory (Results 1 – 2 of 2) sorted by relevance
147 private WifiNetworkFactory mWifiNetworkFactory; field in WifiNetworkFactoryTest178 mWifiNetworkFactory = new WifiNetworkFactory(mLooper.getLooper(), mContext, in setUp()190 mWifiNetworkFactory.register(); in setUp()207 mWifiNetworkFactory.setWifiState(true); in setUp()208 mWifiNetworkFactory.enableVerboseLogging(1); in setUp()224 assertFalse(mWifiNetworkFactory.hasConnectionRequests()); in testHandleNetworkRequestWithNoSpecifier()225 mWifiNetworkFactory.needNetworkFor(mNetworkRequest, 0); in testHandleNetworkRequestWithNoSpecifier()229 assertTrue(mWifiNetworkFactory.hasConnectionRequests()); in testHandleNetworkRequestWithNoSpecifier()232 mWifiNetworkFactory.needNetworkFor(mNetworkRequest, 0); in testHandleNetworkRequestWithNoSpecifier()242 mWifiNetworkFactory.releaseNetworkFor(mNetworkRequest); in testHandleNetworkReleaseWithNoSpecifier()[all …]
378 @Mock WifiNetworkFactory mWifiNetworkFactory; field in ClientModeImplTest436 when(mWifiInjector.makeWifiNetworkFactory(any(), any())).thenReturn(mWifiNetworkFactory); in setUp()444 when(mWifiNetworkFactory.getSpecificNetworkRequestUidAndPackageName(any())) in setUp()460 when(mWifiNetworkFactory.hasConnectionRequests()).thenReturn(true); in setUp()562 verify(mWifiNetworkFactory, atLeastOnce()).register(); in initializeCmi()977 when(mWifiNetworkFactory.hasConnectionRequests()).thenReturn(false); in triggerConnectWithNoNetworkRequest()1222 when(mWifiNetworkFactory.hasConnectionRequests()).thenReturn(false); in triggerConnectWithNoNetworkRequestAndAlreadyConnected()1247 when(mWifiNetworkFactory.hasConnectionRequests()).thenReturn(false); in triggerConnectWithNoNetworkRequestAndAlreadyConnectedButNonPrivilegedApp()2066 InOrder inOrder = inOrder(mWifiConnectivityManager, mWifiNetworkFactory); in testWifiInfoCleanedUpEnteringExitingConnectModeState()2079 inOrder.verify(mWifiNetworkFactory).setWifiState(eq(true)); in testWifiInfoCleanedUpEnteringExitingConnectModeState()[all …]