Searched refs:mSoftApCallback (Results 1 – 2 of 2) sorted by relevance
100 private WifiManager.SoftApCallback mSoftApCallback; field in ActiveModeWarden108 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()
109 @Mock SoftApCallback mSoftApCallback; field in WifiManagerTest712 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 …]