Home
last modified time | relevance | path

Searched refs:mWificondControl (Results 1 – 5 of 5) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWificondControlTest.java107 private WificondControl mWificondControl; field in WificondControlTest
224 mWificondControl = new WificondControl(mWifiInjector, mWifiMonitor, mCarrierNetworkConfig, in setUp()
226 assertEquals(mClientInterface, mWificondControl.setupInterfaceForClientMode( in setUp()
257 mWificondControl.binderDied(); in testSetupInterfaceForClientModeErrorWhenWificondIsNotStarted()
261 mWificondControl.setupInterfaceForClientMode(TEST_INTERFACE_NAME); in testSetupInterfaceForClientModeErrorWhenWificondIsNotStarted()
277 mWificondControl.setupInterfaceForClientMode(TEST_INTERFACE_NAME); in testSetupInterfaceForClientModeErrorWhenWificondFailedToSetupInterface()
288 assertTrue(mWificondControl.tearDownClientInterface(TEST_INTERFACE_NAME)); in testTeardownClientInterface()
301 assertFalse(mWificondControl.tearDownClientInterface(TEST_INTERFACE_NAME1)); in testTeardownClientInterfaceOnInvalidIface()
315 assertFalse(mWificondControl.tearDownClientInterface(TEST_INTERFACE_NAME)); in testTeardownClientInterfaceFailDueToExceptionScannerUnsubscribe()
327 assertFalse(mWificondControl.tearDownClientInterface(TEST_INTERFACE_NAME)); in testTeardownClientInterfaceErrorWhenWificondFailed()
[all …]
DWifiNativeInterfaceManagementTest.java75 @Mock private WificondControl mWificondControl; field in WifiNativeInterfaceManagementTest
130 when(mWificondControl.initialize(mWificondDeathHandlerCaptor.capture())) in setUp()
132 when(mWificondControl.setupInterfaceForClientMode(any())) in setUp()
134 when(mWificondControl.setupInterfaceForSoftApMode(any())) in setUp()
136 when(mWificondControl.tearDownClientInterface(any())).thenReturn(true); in setUp()
137 when(mWificondControl.tearDownSoftApInterface(any())).thenReturn(true); in setUp()
138 when(mWificondControl.tearDownInterfaces()).thenReturn(true); in setUp()
139 when(mWificondControl.registerApListener(any(), any())).thenReturn(true); in setUp()
164 mInOrder = inOrder(mWifiVendorHal, mWificondControl, mSupplicantStaIfaceHal, mHostapdHal, in setUp()
168 mWifiVendorHal, mSupplicantStaIfaceHal, mHostapdHal, mWificondControl, in setUp()
[all …]
DWifiNativeTest.java166 @Mock private WificondControl mWificondControl; field in WifiNativeTest
185 mWifiVendorHal, mStaIfaceHal, mHostapdHal, mWificondControl, in setUp()
517 when(mWificondControl.signalPoll(WIFI_IFACE_NAME)) in testSignalPoll()
526 verify(mWificondControl).signalPoll(WIFI_IFACE_NAME); in testSignalPoll()
534 when(mWificondControl.getTxPacketCounters(WIFI_IFACE_NAME)) in testGetTxPacketCounters()
538 verify(mWificondControl).getTxPacketCounters(WIFI_IFACE_NAME); in testGetTxPacketCounters()
548 verify(mWificondControl).scan( in testScan()
559 verify(mWificondControl).startPnoScan( in testStartPnoScan()
569 verify(mWificondControl).stopPnoScan(WIFI_IFACE_NAME); in testStopPnoScan()
580 verify(mWificondControl).abortScan(WIFI_IFACE_NAME); in testConnectToNetwork()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNative.java78 private final WificondControl mWificondControl; field in WifiNative
96 mWificondControl = condControl; in WifiNative()
110 mWificondControl.enableVerboseLogging(mVerboseLoggingEnabled); in enableVerboseLogging()
328 if (!mWificondControl.tearDownInterfaces()) { in stopHalAndWificondIfNecessary()
470 if (!mWificondControl.tearDownClientInterface(iface.name)) { in onClientInterfaceForConnectivityDestroyed()
485 if (!mWificondControl.tearDownClientInterface(iface.name)) { in onClientInterfaceForScanDestroyed()
501 if (!mWificondControl.tearDownSoftApInterface(iface.name)) { in onSoftApInterfaceDestroyed()
835 if (!mWificondControl.initialize(new WificondDeathHandlerInternal())) { in initialize()
950 if (mWificondControl.setupInterfaceForClientMode(iface.name) == null) { in setupInterfaceForClientInConnectivityMode()
1010 if (mWificondControl.setupInterfaceForClientMode(iface.name) == null) { in setupInterfaceForClientInScanMode()
[all …]
DWifiInjector.java111 private final WificondControl mWificondControl; field in WifiInjector
220 mWificondControl = new WificondControl(this, mWifiMonitor, mCarrierNetworkConfig, in WifiInjector()
226 mWifiVendorHal, mSupplicantStaIfaceHal, mHostapdHal, mWificondControl, in WifiInjector()