Home
last modified time | relevance | path

Searched refs:mUntrustedWifiNetworkFactory (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DUntrustedWifiNetworkFactoryTest.java45 private UntrustedWifiNetworkFactory mUntrustedWifiNetworkFactory; field in UntrustedWifiNetworkFactoryTest
59 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 …]
DClientModeImplTest.java408 @Mock UntrustedWifiNetworkFactory mUntrustedWifiNetworkFactory; field in ClientModeImplTest
473 .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()