Home
last modified time | relevance | path

Searched refs:TrafficStateCallback (Results 1 – 8 of 8) 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.java21 import static android.net.wifi.WifiManager.TrafficStateCallback.DATA_ACTIVITY_IN;
22 import static android.net.wifi.WifiManager.TrafficStateCallback.DATA_ACTIVITY_INOUT;
23 import static android.net.wifi.WifiManager.TrafficStateCallback.DATA_ACTIVITY_NONE;
24 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;
1139 callbackCaptor.getValue().onStateChanged(TrafficStateCallback.DATA_ACTIVITY_INOUT); in registerTrafficStateCallbackUsesMainLooperOnNullArgumentForHandler()
1141 verify(mTrafficStateCallback).onStateChanged(TrafficStateCallback.DATA_ACTIVITY_INOUT); in registerTrafficStateCallbackUsesMainLooperOnNullArgumentForHandler()
1172 callbackCaptor.getValue().onStateChanged(TrafficStateCallback.DATA_ACTIVITY_IN); in trafficStateCallbackProxyCallsOnMultipleUpdates()
1173 callbackCaptor.getValue().onStateChanged(TrafficStateCallback.DATA_ACTIVITY_INOUT); in trafficStateCallbackProxyCallsOnMultipleUpdates()
1174 callbackCaptor.getValue().onStateChanged(TrafficStateCallback.DATA_ACTIVITY_OUT); in trafficStateCallbackProxyCallsOnMultipleUpdates()
1178 TrafficStateCallback.DATA_ACTIVITY_IN); in trafficStateCallbackProxyCallsOnMultipleUpdates()
1180 TrafficStateCallback.DATA_ACTIVITY_INOUT); in trafficStateCallbackProxyCallsOnMultipleUpdates()
1182 TrafficStateCallback.DATA_ACTIVITY_OUT); in trafficStateCallbackProxyCallsOnMultipleUpdates()
[all …]
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java4502 public interface TrafficStateCallback { interface
4533 private final TrafficStateCallback mCallback;
4535 TrafficStateCallbackProxy(Looper looper, TrafficStateCallback callback) { in TrafficStateCallbackProxy()
4568 public void registerTrafficStateCallback(@NonNull TrafficStateCallback callback, in registerTrafficStateCallback()
4591 public void unregisterTrafficStateCallback(@NonNull TrafficStateCallback callback) { in unregisterTrafficStateCallback()
/frameworks/base/config/
Dboot-image-profile.txt42274 …ager;->registerTrafficStateCallback(Landroid/net/wifi/WifiManager$TrafficStateCallback;Landroid/os…