Searched refs:TrafficStateCallback (Results 1 – 7 of 7) sorted by relevance
73 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()
18 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 {
20 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;
90 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()
84 WifiManager.TrafficStateCallback.DATA_ACTIVITY_INOUT); in testClientNotification()119 WifiManager.TrafficStateCallback.DATA_ACTIVITY_INOUT); in testRemoveClientWithWrongIdentifier()
66 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 …]
4439 public interface TrafficStateCallback { interface4470 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()