Searched refs:mTrafficStateCallback (Results 1 – 3 of 3) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiTrafficPollerTest.java | 54 @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()
|
D | WifiServiceImplTest.java | 251 @Mock ITrafficStateCallback mTrafficStateCallback; field in WifiServiceImplTest 3345 mWifiServiceImpl.registerTrafficStateCallback(mAppBinder, mTrafficStateCallback, in registerTrafficStateCallbackThrowsSecurityExceptionOnMissingPermissions() 3390 mAppBinder, mTrafficStateCallback, TEST_TRAFFIC_STATE_CALLBACK_IDENTIFIER); in registerTrafficStateCallbackAndVerify() 3393 mAppBinder, mTrafficStateCallback, TEST_TRAFFIC_STATE_CALLBACK_IDENTIFIER); in registerTrafficStateCallbackAndVerify()
|
/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | WifiManagerTest.java | 110 @Mock TrafficStateCallback mTrafficStateCallback; field in WifiManagerTest 1131 mWifiManager.registerTrafficStateCallback(mTrafficStateCallback, null); in registerTrafficStateCallbackUsesMainLooperOnNullArgumentForHandler() 1138 verify(mTrafficStateCallback).onStateChanged(TrafficStateCallback.DATA_ACTIVITY_INOUT); in registerTrafficStateCallbackUsesMainLooperOnNullArgumentForHandler() 1147 mWifiManager.registerTrafficStateCallback(mTrafficStateCallback, mHandler); in unregisterTrafficStateCallbackCallGoesToWifiServiceImpl() 1151 mWifiManager.unregisterTrafficStateCallback(mTrafficStateCallback); in unregisterTrafficStateCallbackCallGoesToWifiServiceImpl() 1163 mWifiManager.registerTrafficStateCallback(mTrafficStateCallback, mHandler); in trafficStateCallbackProxyCallsOnMultipleUpdates() 1167 InOrder inOrder = inOrder(mTrafficStateCallback); in trafficStateCallbackProxyCallsOnMultipleUpdates() 1174 inOrder.verify(mTrafficStateCallback).onStateChanged( in trafficStateCallbackProxyCallsOnMultipleUpdates() 1176 inOrder.verify(mTrafficStateCallback).onStateChanged( in trafficStateCallbackProxyCallsOnMultipleUpdates() 1178 inOrder.verify(mTrafficStateCallback).onStateChanged( in trafficStateCallbackProxyCallsOnMultipleUpdates() [all …]
|