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.java102 private WifiManager.SoftApCallback mSoftApCallback; field in ActiveModeWarden
110 mSoftApCallback = callback; in registerSoftApCallback()
577 if (mSoftApCallback != null && mMode == WifiManager.IFACE_IP_MODE_TETHERED) { in onStateChanged()
578 mSoftApCallback.onStateChanged(state, reason); in onStateChanged()
584 if (mSoftApCallback == null) { in onConnectedClientsChanged()
587 mSoftApCallback.onConnectedClientsChanged(clients); in onConnectedClientsChanged()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiManagerTest.java109 @Mock SoftApCallback mSoftApCallback; field in WifiManagerTest
701 mWifiManager.registerSoftApCallback(null, mSoftApCallback); in registerSoftApCallbackThrowsIllegalArgumentExceptionOnNullArgumentForExecutor()
724 mWifiManager.registerSoftApCallback(new HandlerExecutor(mHandler), mSoftApCallback); in registerSoftApCallbackCallGoesToWifiServiceImpl()
735 mWifiManager.registerSoftApCallback(new HandlerExecutor(mHandler), mSoftApCallback); in unregisterSoftApCallbackCallGoesToWifiServiceImpl()
739 mWifiManager.unregisterSoftApCallback(mSoftApCallback); in unregisterSoftApCallbackCallGoesToWifiServiceImpl()
750 mWifiManager.registerSoftApCallback(new HandlerExecutor(mHandler), mSoftApCallback); in softApCallbackProxyCallsOnStateChanged()
756 verify(mSoftApCallback).onStateChanged(WIFI_AP_STATE_ENABLED, 0); in softApCallbackProxyCallsOnStateChanged()
766 mWifiManager.registerSoftApCallback(new HandlerExecutor(mHandler), mSoftApCallback); in softApCallbackProxyCallsOnConnectedClientsChanged()
773 verify(mSoftApCallback).onConnectedClientsChanged(testClients); in softApCallbackProxyCallsOnConnectedClientsChanged()
783 mWifiManager.registerSoftApCallback(new HandlerExecutor(mHandler), mSoftApCallback); in softApCallbackProxyCallsOnMultipleUpdates()
[all …]