Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiNativeInterfaceManagementTest.java77 @Mock private HostapdHal mHostapdHal; field in WifiNativeInterfaceManagementTest
151 when(mHostapdHal.registerDeathHandler(mHostapdDeathHandlerCaptor.capture())) in setUp()
153 when(mHostapdHal.deregisterDeathHandler()).thenReturn(true); in setUp()
154 when(mHostapdHal.initialize()).thenReturn(true); in setUp()
155 when(mHostapdHal.isInitializationStarted()).thenReturn(false); in setUp()
156 when(mHostapdHal.isInitializationComplete()).thenReturn(true); in setUp()
157 when(mHostapdHal.startDaemon()).thenReturn(true); in setUp()
158 when(mHostapdHal.addAccessPoint(any(), any(), any())).thenReturn(true); in setUp()
159 when(mHostapdHal.removeAccessPoint(any())).thenReturn(true); in setUp()
164 mInOrder = inOrder(mWifiVendorHal, mWificondControl, mSupplicantStaIfaceHal, mHostapdHal, in setUp()
[all …]
DHostapdHalTest.java72 private HostapdHal mHostapdHal; field in HostapdHalTest
137 mHostapdHal = new HostapdHalSpy(); in setUp()
195 mHostapdHal.registerDeathHandler(mHostapdHalDeathHandler); in testDeathHandling()
208 mHostapdHal.registerDeathHandler(mHostapdHalDeathHandler); in testStaleDeathHandling()
230 assertTrue(mHostapdHal.addAccessPoint(IFACE_NAME, configuration, mSoftApListener)); in testAddAccessPointSuccess_Psk_Band2G()
263 assertTrue(mHostapdHal.addAccessPoint(IFACE_NAME, configuration, mSoftApListener)); in testAddAccessPointSuccess_Open_Band5G()
297 assertTrue(mHostapdHal.addAccessPoint(IFACE_NAME, configuration, mSoftApListener)); in testAddAccessPointSuccess_Psk_Band5G_Hidden()
322 mHostapdHal = new HostapdHalSpy(); in testAddAccessPointSuccess_Psk_Band2G_WithACS()
335 assertTrue(mHostapdHal.addAccessPoint(IFACE_NAME, configuration, mSoftApListener)); in testAddAccessPointSuccess_Psk_Band2G_WithACS()
360 mHostapdHal = new HostapdHalSpy(); in testAddAccessPointSuccess_Psk_Band2G_WithIeee80211AC()
[all …]
DWifiNativeTest.java168 @Mock private HostapdHal mHostapdHal; field in WifiNativeTest
185 mWifiVendorHal, mStaIfaceHal, mHostapdHal, mWificondControl, in setUp()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNative.java75 private final HostapdHal mHostapdHal; field in WifiNative
94 mHostapdHal = hostapdHal; in WifiNative()
410 if (!mHostapdHal.registerDeathHandler( in startHostapd()
424 if (!mHostapdHal.deregisterDeathHandler()) { in stopHostapdIfNecessary()
427 mHostapdHal.terminate(); in stopHostapdIfNecessary()
497 if (!mHostapdHal.removeAccessPoint(iface.name)) { in onSoftApInterfaceDestroyed()
1544 if (!mHostapdHal.isInitializationStarted() in startAndWaitForHostapdConnection()
1545 && !mHostapdHal.initialize()) { in startAndWaitForHostapdConnection()
1548 if (!mHostapdHal.startDaemon()) { in startAndWaitForHostapdConnection()
1556 connected = mHostapdHal.isInitializationComplete(); in startAndWaitForHostapdConnection()
[all …]
DWifiInjector.java98 private final HostapdHal mHostapdHal; field in WifiInjector
211 mHostapdHal = new HostapdHal(mContext, clientModeImplLooper); in WifiInjector()
218 mWifiVendorHal, mSupplicantStaIfaceHal, mHostapdHal, mWificondControl, in WifiInjector()