Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiTrafficPoller.java73 int dataActivity = WifiManager.TrafficStateCallback.DATA_ACTIVITY_NONE; in notifyOnDataActivity()
81 dataActivity |= WifiManager.TrafficStateCallback.DATA_ACTIVITY_OUT; in notifyOnDataActivity()
84 dataActivity |= WifiManager.TrafficStateCallback.DATA_ACTIVITY_IN; in notifyOnDataActivity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DWifiSignalController.java18 import static android.net.wifi.WifiManager.TrafficStateCallback.DATA_ACTIVITY_IN;
19 import static android.net.wifi.WifiManager.TrafficStateCallback.DATA_ACTIVITY_INOUT;
20 import static android.net.wifi.WifiManager.TrafficStateCallback.DATA_ACTIVITY_OUT;
134 private class WifiTrafficStateCallback implements WifiManager.TrafficStateCallback {
DNetworkControllerImpl.java20 import static android.net.wifi.WifiManager.TrafficStateCallback.DATA_ACTIVITY_IN;
21 import static android.net.wifi.WifiManager.TrafficStateCallback.DATA_ACTIVITY_INOUT;
22 import static android.net.wifi.WifiManager.TrafficStateCallback.DATA_ACTIVITY_NONE;
23 import static android.net.wifi.WifiManager.TrafficStateCallback.DATA_ACTIVITY_OUT;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerWifiTest.java90 setWifiActivity(WifiManager.TrafficStateCallback.DATA_ACTIVITY_IN); in testQsDataDirection()
92 setWifiActivity(WifiManager.TrafficStateCallback.DATA_ACTIVITY_NONE); in testQsDataDirection()
94 setWifiActivity(WifiManager.TrafficStateCallback.DATA_ACTIVITY_IN); in testQsDataDirection()
96 setWifiActivity(WifiManager.TrafficStateCallback.DATA_ACTIVITY_OUT); in testQsDataDirection()
98 setWifiActivity(WifiManager.TrafficStateCallback.DATA_ACTIVITY_INOUT); in testQsDataDirection()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiTrafficPollerTest.java84 WifiManager.TrafficStateCallback.DATA_ACTIVITY_INOUT); in testClientNotification()
119 WifiManager.TrafficStateCallback.DATA_ACTIVITY_INOUT); in testRemoveClientWithWrongIdentifier()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiManagerTest.java66 import android.net.wifi.WifiManager.TrafficStateCallback;
110 @Mock TrafficStateCallback mTrafficStateCallback;
1136 callbackCaptor.getValue().onStateChanged(TrafficStateCallback.DATA_ACTIVITY_INOUT); in registerTrafficStateCallbackUsesMainLooperOnNullArgumentForHandler()
1138 verify(mTrafficStateCallback).onStateChanged(TrafficStateCallback.DATA_ACTIVITY_INOUT); in registerTrafficStateCallbackUsesMainLooperOnNullArgumentForHandler()
1169 callbackCaptor.getValue().onStateChanged(TrafficStateCallback.DATA_ACTIVITY_IN); in trafficStateCallbackProxyCallsOnMultipleUpdates()
1170 callbackCaptor.getValue().onStateChanged(TrafficStateCallback.DATA_ACTIVITY_INOUT); in trafficStateCallbackProxyCallsOnMultipleUpdates()
1171 callbackCaptor.getValue().onStateChanged(TrafficStateCallback.DATA_ACTIVITY_OUT); in trafficStateCallbackProxyCallsOnMultipleUpdates()
1175 TrafficStateCallback.DATA_ACTIVITY_IN); in trafficStateCallbackProxyCallsOnMultipleUpdates()
1177 TrafficStateCallback.DATA_ACTIVITY_INOUT); in trafficStateCallbackProxyCallsOnMultipleUpdates()
1179 TrafficStateCallback.DATA_ACTIVITY_OUT); in trafficStateCallbackProxyCallsOnMultipleUpdates()
[all …]
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java4439 public interface TrafficStateCallback { interface
4470 private final TrafficStateCallback mCallback;
4472 TrafficStateCallbackProxy(Looper looper, TrafficStateCallback callback) { in TrafficStateCallbackProxy()
4505 public void registerTrafficStateCallback(@NonNull TrafficStateCallback callback, in registerTrafficStateCallback()
4528 public void unregisterTrafficStateCallback(@NonNull TrafficStateCallback callback) { in unregisterTrafficStateCallback()