Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWificondControlTest.java71 private WificondControl mWificondControl; field in WificondControlTest
152 mWificondControl = new WificondControl(mWifiInjector, mWifiMonitor, mCarrierNetworkConfig); in setUp()
166 IClientInterface returnedClientInterface = mWificondControl.setupDriverForClientMode(); in testSetupDriverForClientMode()
188 IClientInterface returnedClientInterface = mWificondControl.setupDriverForClientMode(); in testSetupDriverForClientModeErrorWhenWificondIsNotStarted()
204 IClientInterface returnedClientInterface = mWificondControl.setupDriverForClientMode(); in testSetupDriverForClientModeErrorWhenWificondFailedToSetupInterface()
219 IApInterface returnedApInterface = mWificondControl.setupDriverForSoftApMode(); in testSetupDriverForSoftApMode()
231 IApInterface returnedApInterface = mWificondControl.setupDriverForSoftApMode(); in testSetupDriverForSoftApModeErrorWhenWificondIsNotStarted()
248 IApInterface returnedApInterface = mWificondControl.setupDriverForSoftApMode(); in testSetupDriverForSoftApModeErrorWhenWificondFailedToSetupInterface()
264 mWificondControl.setupDriverForClientMode(); in testEnableSupplicant()
265 assertTrue(mWificondControl.enableSupplicant()); in testEnableSupplicant()
[all …]
DWifiNativeTest.java150 @Mock private WificondControl mWificondControl; field in WifiNativeTest
159 mWifiNative = new WifiNative("test0", mWifiVendorHal, mStaIfaceHal, mWificondControl); in setUp()
489 when(mWificondControl.setupDriverForClientMode()).thenReturn(clientInterface); in testSetupDriverForClientMode()
495 verify(mWificondControl).setupDriverForClientMode(); in testSetupDriverForClientMode()
506 when(mWificondControl.setupDriverForClientMode()).thenReturn(clientInterface); in testSetupDriverForClientModeWithNoVendorHal()
512 verify(mWificondControl).setupDriverForClientMode(); in testSetupDriverForClientModeWithNoVendorHal()
521 when(mWificondControl.setupDriverForClientMode()).thenReturn(null); in testSetupDriverForClientModeWificondError()
527 verify(mWificondControl).setupDriverForClientMode(); in testSetupDriverForClientModeWificondError()
541 verify(mWificondControl, never()).setupDriverForClientMode(); in testSetupDriverForClientModeHalError()
550 when(mWificondControl.setupDriverForSoftApMode()).thenReturn(apInterface); in testSetupDriverForSoftApMode()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNative.java67 private final WificondControl mWificondControl; field in WifiNative
75 mWificondControl = condControl; in WifiNative()
86 mWificondControl.enableVerboseLogging(verbose > 0 ? true : false); in enableVerboseLogging()
113 IClientInterface iClientInterface = mWificondControl.setupDriverForClientMode(); in setupForClientMode()
134 IApInterface iApInterface = mWificondControl.setupDriverForSoftApMode(); in setupForSoftApMode()
149 if (!mWificondControl.tearDownInterfaces()) { in tearDown()
185 return mWificondControl.disableSupplicant(); in disableSupplicant()
193 return mWificondControl.enableSupplicant(); in enableSupplicant()
202 return mWificondControl.signalPoll(); in signalPoll()
211 return mWificondControl.getTxPacketCounters(); in getTxPacketCounters()
[all …]
DWifiInjector.java92 private final WificondControl mWificondControl; field in WifiInjector
169 mWificondControl = new WificondControl(this, mWifiMonitor, in WifiInjector()
172 mWifiVendorHal, mSupplicantStaIfaceHal, mWificondControl); in WifiInjector()