Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DActiveModeWarden.java100 private WifiManager.SoftApCallback mSoftApCallback; field in ActiveModeWarden
108 mSoftApCallback = callback; in registerSoftApCallback()
575 if (mSoftApCallback != null && mMode == WifiManager.IFACE_IP_MODE_TETHERED) { in onStateChanged()
576 mSoftApCallback.onStateChanged(state, reason); in onStateChanged()
582 if (mSoftApCallback == null) { in onNumClientsChanged()
585 mSoftApCallback.onNumClientsChanged(numClients); in onNumClientsChanged()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiManagerTest.java109 @Mock SoftApCallback mSoftApCallback; field in WifiManagerTest
712 mWifiManager.registerSoftApCallback(mSoftApCallback, null); in registerSoftApCallbackUsesMainLooperOnNullArgumentForHandler()
721 mWifiManager.registerSoftApCallback(mSoftApCallback, mHandler); in registerSoftApCallbackCallGoesToWifiServiceImpl()
732 mWifiManager.registerSoftApCallback(mSoftApCallback, mHandler); in unregisterSoftApCallbackCallGoesToWifiServiceImpl()
736 mWifiManager.unregisterSoftApCallback(mSoftApCallback); in unregisterSoftApCallbackCallGoesToWifiServiceImpl()
747 mWifiManager.registerSoftApCallback(mSoftApCallback, mHandler); in softApCallbackProxyCallsOnStateChanged()
753 verify(mSoftApCallback).onStateChanged(WIFI_AP_STATE_ENABLED, 0); in softApCallbackProxyCallsOnStateChanged()
763 mWifiManager.registerSoftApCallback(mSoftApCallback, mHandler); in softApCallbackProxyCallsOnNumClientsChanged()
770 verify(mSoftApCallback).onNumClientsChanged(testNumClients); in softApCallbackProxyCallsOnNumClientsChanged()
780 mWifiManager.registerSoftApCallback(mSoftApCallback, mHandler); in softApCallbackProxyCallsOnMultipleUpdates()
[all …]