Home
last modified time | relevance | path

Searched refs:mTrafficStateCallback (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiTrafficPollerTest.java54 @Mock ITrafficStateCallback mTrafficStateCallback; field in WifiTrafficPollerTest
79 mAppBinder, mTrafficStateCallback, TEST_TRAFFIC_STATE_CALLBACK_IDENTIFIER); in testClientNotification()
83 verify(mTrafficStateCallback).onStateChanged( in testClientNotification()
94 mAppBinder, mTrafficStateCallback, TEST_TRAFFIC_STATE_CALLBACK_IDENTIFIER); in testRemoveClient()
101 verify(mTrafficStateCallback, never()).onStateChanged(anyInt()); in testRemoveClient()
111 mAppBinder, mTrafficStateCallback, TEST_TRAFFIC_STATE_CALLBACK_IDENTIFIER); in testRemoveClientWithWrongIdentifier()
118 verify(mTrafficStateCallback).onStateChanged( in testRemoveClientWithWrongIdentifier()
129 mAppBinder, mTrafficStateCallback, TEST_TRAFFIC_STATE_CALLBACK_IDENTIFIER); in registersForBinderDeathOnAddClient()
142 mAppBinder, mTrafficStateCallback, TEST_TRAFFIC_STATE_CALLBACK_IDENTIFIER); in addCallbackFailureOnLinkToDeath()
148 verify(mTrafficStateCallback, never()).onStateChanged(anyInt()); in addCallbackFailureOnLinkToDeath()
DWifiServiceImplTest.java257 @Mock ITrafficStateCallback mTrafficStateCallback; field in WifiServiceImplTest
3499 mWifiServiceImpl.registerTrafficStateCallback(mAppBinder, mTrafficStateCallback, in registerTrafficStateCallbackThrowsSecurityExceptionOnMissingPermissions()
3544 mAppBinder, mTrafficStateCallback, TEST_TRAFFIC_STATE_CALLBACK_IDENTIFIER); in registerTrafficStateCallbackAndVerify()
3547 mAppBinder, mTrafficStateCallback, TEST_TRAFFIC_STATE_CALLBACK_IDENTIFIER); in registerTrafficStateCallbackAndVerify()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiManagerTest.java110 @Mock TrafficStateCallback mTrafficStateCallback; field in WifiManagerTest
1134 mWifiManager.registerTrafficStateCallback(mTrafficStateCallback, null); in registerTrafficStateCallbackUsesMainLooperOnNullArgumentForHandler()
1141 verify(mTrafficStateCallback).onStateChanged(TrafficStateCallback.DATA_ACTIVITY_INOUT); in registerTrafficStateCallbackUsesMainLooperOnNullArgumentForHandler()
1150 mWifiManager.registerTrafficStateCallback(mTrafficStateCallback, mHandler); in unregisterTrafficStateCallbackCallGoesToWifiServiceImpl()
1154 mWifiManager.unregisterTrafficStateCallback(mTrafficStateCallback); in unregisterTrafficStateCallbackCallGoesToWifiServiceImpl()
1166 mWifiManager.registerTrafficStateCallback(mTrafficStateCallback, mHandler); in trafficStateCallbackProxyCallsOnMultipleUpdates()
1170 InOrder inOrder = inOrder(mTrafficStateCallback); in trafficStateCallbackProxyCallsOnMultipleUpdates()
1177 inOrder.verify(mTrafficStateCallback).onStateChanged( in trafficStateCallbackProxyCallsOnMultipleUpdates()
1179 inOrder.verify(mTrafficStateCallback).onStateChanged( in trafficStateCallbackProxyCallsOnMultipleUpdates()
1181 inOrder.verify(mTrafficStateCallback).onStateChanged( in trafficStateCallbackProxyCallsOnMultipleUpdates()
[all …]