Home
last modified time | relevance | path

Searched refs:TrafficStateCallback (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiTrafficPollerTest.java100 WifiManager.TrafficStateCallback.DATA_ACTIVITY_INOUT); in testClientNotification()
115 WifiManager.TrafficStateCallback.DATA_ACTIVITY_INOUT); in testDataActivityUpdatePacketThreshold()
121 WifiManager.TrafficStateCallback.DATA_ACTIVITY_NONE); in testDataActivityUpdatePacketThreshold()
127 .onStateChanged(WifiManager.TrafficStateCallback.DATA_ACTIVITY_OUT); in testDataActivityUpdatePacketThreshold()
133 WifiManager.TrafficStateCallback.DATA_ACTIVITY_NONE); in testDataActivityUpdatePacketThreshold()
139 .onStateChanged(WifiManager.TrafficStateCallback.DATA_ACTIVITY_IN); in testDataActivityUpdatePacketThreshold()
173 WifiManager.TrafficStateCallback.DATA_ACTIVITY_INOUT); in testRemoveClientWithWrongCallback()
210 WifiManager.TrafficStateCallback.DATA_ACTIVITY_INOUT); in unchangedDataActivityNotNotified()
230 WifiManager.TrafficStateCallback.DATA_ACTIVITY_INOUT); in multipleCallbacksOnlyChangedNotified()
240 .onStateChanged(WifiManager.TrafficStateCallback.DATA_ACTIVITY_INOUT); in multipleCallbacksOnlyChangedNotified()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiTrafficPoller.java80 int dataActivity = WifiManager.TrafficStateCallback.DATA_ACTIVITY_NONE; in notifyOnDataActivity()
87 dataActivity |= WifiManager.TrafficStateCallback.DATA_ACTIVITY_OUT; in notifyOnDataActivity()
90 dataActivity |= WifiManager.TrafficStateCallback.DATA_ACTIVITY_IN; in notifyOnDataActivity()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiManagerTest.java119 import android.net.wifi.WifiManager.TrafficStateCallback;
201 @Mock TrafficStateCallback mTrafficStateCallback;
2213 callbackCaptor.getValue().onStateChanged(TrafficStateCallback.DATA_ACTIVITY_INOUT); in registerTrafficStateCallbackUsesMainLooperOnNullArgumentForHandler()
2215 verify(mTrafficStateCallback).onStateChanged(TrafficStateCallback.DATA_ACTIVITY_INOUT); in registerTrafficStateCallbackUsesMainLooperOnNullArgumentForHandler()
2246 callbackCaptor.getValue().onStateChanged(TrafficStateCallback.DATA_ACTIVITY_IN); in trafficStateCallbackProxyCallsOnMultipleUpdates()
2247 callbackCaptor.getValue().onStateChanged(TrafficStateCallback.DATA_ACTIVITY_INOUT); in trafficStateCallbackProxyCallsOnMultipleUpdates()
2248 callbackCaptor.getValue().onStateChanged(TrafficStateCallback.DATA_ACTIVITY_OUT); in trafficStateCallbackProxyCallsOnMultipleUpdates()
2252 TrafficStateCallback.DATA_ACTIVITY_IN); in trafficStateCallbackProxyCallsOnMultipleUpdates()
2254 TrafficStateCallback.DATA_ACTIVITY_INOUT); in trafficStateCallbackProxyCallsOnMultipleUpdates()
2256 TrafficStateCallback.DATA_ACTIVITY_OUT); in trafficStateCallbackProxyCallsOnMultipleUpdates()
[all …]
/packages/modules/Wifi/framework/api/
Dmodule-lib-lint-baseline.txt84 …ficStateCallback(java.util.concurrent.Executor, android.net.wifi.WifiManager.TrafficStateCallback):
Dsystem-lint-baseline.txt104 …ficStateCallback(java.util.concurrent.Executor, android.net.wifi.WifiManager.TrafficStateCallback):
Dsystem-current.txt769 …NonNull java.util.concurrent.Executor, @NonNull android.net.wifi.WifiManager.TrafficStateCallback);
833 …ic void unregisterTrafficStateCallback(@NonNull android.net.wifi.WifiManager.TrafficStateCallback);
1035 public static interface WifiManager.TrafficStateCallback {
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiManager.java8761 public interface TrafficStateCallback { interface in WifiManager
8797 private final TrafficStateCallback mCallback;
8799 TrafficStateCallbackProxy(Executor executor, TrafficStateCallback callback) { in TrafficStateCallbackProxy()
8835 @NonNull TrafficStateCallback callback) { in registerTrafficStateCallback()
8861 public void unregisterTrafficStateCallback(@NonNull TrafficStateCallback callback) { in unregisterTrafficStateCallback()