Home
last modified time | relevance | path

Searched refs:onNumClientsChanged (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/
DISoftApCallback.aidl43 void onNumClientsChanged(int numClients); in onNumClientsChanged() method
DWifiManager.java3098 public abstract void onNumClientsChanged(int numClients);
3127 public void onNumClientsChanged(int numClients) { in onNumClientsChanged() method in WifiManager
3132 mCallback.onNumClientsChanged(numClients); in onNumClientsChanged()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DActiveModeWardenTest.java453 verify(mSoftApStateMachineCallback, never()).onNumClientsChanged(anyInt()); in doesntCallWifiServiceCallbackOnLOHSStateChanged()
480 mSoftApManagerCallback.onNumClientsChanged(testNumClients); in callsWifiServiceCallbackOnSoftApNumClientsChanged()
483 verify(mSoftApStateMachineCallback).onNumClientsChanged(testNumClients); in callsWifiServiceCallbackOnSoftApNumClientsChanged()
499 mSoftApManagerCallback.onNumClientsChanged(testNumClients); in testNullCallbackToWifiServiceImplForNumClientsChanged()
501 verify(mSoftApStateMachineCallback, never()).onNumClientsChanged(anyInt()); in testNullCallbackToWifiServiceImplForNumClientsChanged()
DSoftApManagerTest.java837 verify(mCallback).onNumClientsChanged(TEST_NUM_CONNECTED_CLIENTS); in updatesNumAssociatedStations()
861 verify(mCallback).onNumClientsChanged(TEST_NUM_CONNECTED_CLIENTS); in testDoesNotTriggerCallbackForSameNumberClientUpdate()
876 verify(mCallback, never()).onNumClientsChanged(mInvalidNumClients); in handlesInvalidNumAssociatedStations()
892 order.verify(mCallback).onNumClientsChanged(TEST_NUM_CONNECTED_CLIENTS); in testCallbackForClientUpdateToZeroWhenLeaveSoftapStarted()
901 order.verify(mCallback).onNumClientsChanged(0); in testCallbackForClientUpdateToZeroWhenLeaveSoftapStarted()
953 verify(mCallback).onNumClientsChanged(TEST_NUM_CONNECTED_CLIENTS); in schedulesTimeoutTimerWhenAllClientsDisconnect()
959 verify(mCallback, times(2)).onNumClientsChanged(0); in schedulesTimeoutTimerWhenAllClientsDisconnect()
1098 order.verify(mCallback).onNumClientsChanged(0); in startSoftApAndVerifyEnabled()
DWifiServiceImplTest.java1719 verify(mClientSoftApCallback, never()).onNumClientsChanged(0); in registerSoftApCallbackFailureOnLinkToDeath()
1741 verify(callback).onNumClientsChanged(0); in registerSoftApCallbackAndVerify()
1762 mStateMachineSoftApCallback.onNumClientsChanged(testNumClients); in replacesOldCallbackWithNewCallbackWhenRegisteringTwice()
1765 verify(mClientSoftApCallback, never()).onNumClientsChanged(testNumClients); in replacesOldCallbackWithNewCallbackWhenRegisteringTwice()
1766 verify(mAnotherSoftApCallback).onNumClientsChanged(testNumClients); in replacesOldCallbackWithNewCallbackWhenRegisteringTwice()
1783 mStateMachineSoftApCallback.onNumClientsChanged(testNumClients); in unregisterSoftApCallbackRemovesCallback()
1785 verify(mClientSoftApCallback, never()).onNumClientsChanged(testNumClients); in unregisterSoftApCallbackRemovesCallback()
1804 mStateMachineSoftApCallback.onNumClientsChanged(testNumClients); in unregisterSoftApCallbackDoesNotRemoveCallbackIfCallbackIdentifierNotMatching()
1806 verify(mClientSoftApCallback).onNumClientsChanged(testNumClients); in unregisterSoftApCallbackDoesNotRemoveCallbackIfCallbackIdentifierNotMatching()
1823 mStateMachineSoftApCallback.onNumClientsChanged(testNumClients); in correctCallbackIsCalledAfterAddingTwoCallbacksAndRemovingOne()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DHotspotControllerImplTest.java70 ((WifiManager.SoftApCallback) invocation.getArgument(0)).onNumClientsChanged(1); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DHotspotControllerImpl.java220 public void onNumClientsChanged(int numConnectedDevices) { in onNumClientsChanged() method in HotspotControllerImpl
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DActiveModeWarden.java581 public void onNumClientsChanged(int numClients) { in onNumClientsChanged() method in ActiveModeWarden.SoftApCallbackImpl
585 mSoftApCallback.onNumClientsChanged(numClients); in onNumClientsChanged()
DSoftApManager.java475 mCallback.onNumClientsChanged(mNumAssociatedStations); in setNumAssociatedStations()
500 mCallback.onNumClientsChanged(mNumAssociatedStations); in onUpChanged()
DWifiServiceImpl.java1162 public void onNumClientsChanged(int numClients) { in onNumClientsChanged() method in WifiServiceImpl.SoftApCallbackImpl
1170 callback.onNumClientsChanged(numClients); in onNumClientsChanged()
1216 callback.onNumClientsChanged(mSoftApNumClients); in registerSoftApCallback()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiManagerTest.java768 callbackCaptor.getValue().onNumClientsChanged(testNumClients); in softApCallbackProxyCallsOnNumClientsChanged()
770 verify(mSoftApCallback).onNumClientsChanged(testNumClients); in softApCallbackProxyCallsOnNumClientsChanged()
786 callbackCaptor.getValue().onNumClientsChanged(testNumClients); in softApCallbackProxyCallsOnMultipleUpdates()
791 verify(mSoftApCallback).onNumClientsChanged(testNumClients); in softApCallbackProxyCallsOnMultipleUpdates()