Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DHostapdHalTest.java71 private @Mock WifiNl80211Manager.SoftApCallback mSoftApListener; field in HostapdHalTest
263 () -> mSoftApListener.onFailure())); in testAddAccessPointSuccess_Psk_Band2G()
296 () -> mSoftApListener.onFailure())); in testAddAccessPointSuccess_Open_Band5G()
331 () -> mSoftApListener.onFailure())); in testAddAccessPointSuccess_Psk_Band5G_Hidden()
370 () -> mSoftApListener.onFailure())); in testAddAccessPointSuccess_Psk_Band2G_WithACS()
410 () -> mSoftApListener.onFailure())); in testAddAccessPointSuccess_Psk_Band2G_WithIeee80211AC()
448 () -> mSoftApListener.onFailure())); in testAddAccessPointSuccess_Psk_BandAny_WithACS()
485 () -> mSoftApListener.onFailure())); in testAddAccessPointSuccess_Psk_WithoutACS()
554 () -> mSoftApListener.onFailure())); in testAddAccessPointSuccess_Psk_BandAny_WithACS_AcsChannels()
589 () -> mSoftApListener.onFailure())); in testAddAccessPointFailure()
[all …]
DActiveModeWardenTest.java119 ActiveModeManager.Listener mSoftApListener; field in ActiveModeWardenTest
172 mSoftApListener = (ActiveModeManager.Listener) args[0]; in setUp()
291 mSoftApListener.onStarted(); in enterSoftApActiveMode()
601 mSoftApListener.onStartFailure(); in testEnterSoftApModeActiveWhenAlreadyInSoftApMode()
632 mSoftApListener.onStartFailure(); in testSoftApFailureWhenActive()
661 mSoftApListener.onStartFailure(); in testSoftApDisabledWhenActive()
674 mSoftApListener.onStarted(); in callsWifiServiceCallbackOnSoftApStateChanged()
690 mSoftApListener.onStarted(); in doesntCallWifiServiceCallbackOnLOHSStateChanged()
784 mSoftApListener = (ActiveModeManager.Listener) args[0]; in testStartSoftApModeTwiceWithTwoConfigs()
804 mSoftApListener.onStarted(); in testStartSoftApModeTwiceWithTwoConfigs()
[all …]
/frameworks/base/wifi/java/android/net/wifi/nl80211/
DWifiNl80211Manager.java361 private SoftApCallback mSoftApListener; field in WifiNl80211Manager.ApInterfaceEventCallback
365 mSoftApListener = listener; in ApInterfaceEventCallback()
376 mExecutor.execute(() -> mSoftApListener.onConnectedClientsChanged(client, isConnected)); in onConnectedClientsChanged()
382 mExecutor.execute(() -> mSoftApListener.onSoftApChannelSwitched(frequency, in onSoftApChannelSwitched()
/frameworks/base/wifi/tests/src/android/net/wifi/nl80211/
DWifiNl80211ManagerTest.java89 private WifiNl80211Manager.SoftApCallback mSoftApListener; field in WifiNl80211ManagerTest
354 TEST_INTERFACE_NAME, Runnable::run, mSoftApListener)); in testTeardownSoftApInterfaceClearsHandles()
702 TEST_INTERFACE_NAME, Runnable::run, mSoftApListener)); in testSoftApListenerInvocation()
707 verify(mSoftApListener).onConnectedClientsChanged(eq(testClient), eq(true)); in testSoftApListenerInvocation()
713 verify(mSoftApListener).onSoftApChannelSwitched(eq(channelFrequency), in testSoftApListenerInvocation()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSoftApManager.java138 private final SoftApListener mSoftApListener = new SoftApListener() { field in SoftApManager
439 localConfigBuilder.build(), mSoftApListener)) { in startSoftAp()