Home
last modified time | relevance | path

Searched refs:mWifiTrafficPoller (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiTrafficPollerTest.java47 private WifiTrafficPoller mWifiTrafficPoller; field in WifiTrafficPollerTest
66 mWifiTrafficPoller = new WifiTrafficPoller(mLooper.getLooper()); in setUp()
69 mWifiTrafficPoller.notifyOnDataActivity(DEFAULT_PACKET_COUNT, DEFAULT_PACKET_COUNT); in setUp()
78 mWifiTrafficPoller.addCallback( in testClientNotification()
80 mWifiTrafficPoller.notifyOnDataActivity(TX_PACKET_COUNT, RX_PACKET_COUNT); in testClientNotification()
93 mWifiTrafficPoller.addCallback( in testRemoveClient()
95 mWifiTrafficPoller.removeCallback(TEST_TRAFFIC_STATE_CALLBACK_IDENTIFIER); in testRemoveClient()
98 mWifiTrafficPoller.notifyOnDataActivity(TX_PACKET_COUNT, RX_PACKET_COUNT); in testRemoveClient()
110 mWifiTrafficPoller.addCallback( in testRemoveClientWithWrongIdentifier()
112 mWifiTrafficPoller.removeCallback(TEST_TRAFFIC_STATE_CALLBACK_IDENTIFIER + 5); in testRemoveClientWithWrongIdentifier()
[all …]
DWifiServiceImplTest.java220 @Mock WifiTrafficPoller mWifiTrafficPoller; field in WifiServiceImplTest
373 when(mWifiInjector.getWifiTrafficPoller()).thenReturn(mWifiTrafficPoller); in setUp()
3392 verify(mWifiTrafficPoller).addCallback( in registerTrafficStateCallbackAndVerify()
3405 verify(mWifiTrafficPoller).removeCallback(0); in unregisterTrafficStateCallbackAndVerify()
DClientModeImplTest.java359 @Mock WifiTrafficPoller mWifiTrafficPoller; field in ClientModeImplTest
424 when(mWifiInjector.getWifiTrafficPoller()).thenReturn(mWifiTrafficPoller); in setUp()
547 mWrongPasswordNotifier, mSarManager, mWifiTrafficPoller, in initializeCmi()
3363 verify(mWifiTrafficPoller).notifyOnDataActivity(anyLong(), anyLong()); in verifyRssiPollCallsWifiTrafficPoller()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiInjector.java88 private final WifiTrafficPoller mWifiTrafficPoller; field in WifiInjector
228 mWifiTrafficPoller = new WifiTrafficPoller(clientModeImplLooper); in WifiInjector()
310 mSarManager, mWifiTrafficPoller, mLinkProbeManager); in WifiInjector()
419 return mWifiTrafficPoller; in getWifiTrafficPoller()
DWifiServiceImpl.java180 private WifiTrafficPoller mWifiTrafficPoller; field in WifiServiceImpl
458 mWifiTrafficPoller = mWifiInjector.getWifiTrafficPoller(); in WifiServiceImpl()
2758 mWifiTrafficPoller.dump(fd, pw, args); in dump()
3166 mWifiTrafficPoller.addCallback(binder, callback, callbackIdentifier); in registerTrafficStateCallback()
3186 mWifiTrafficPoller.removeCallback(callbackIdentifier); in unregisterTrafficStateCallback()
DClientModeImpl.java212 private final WifiTrafficPoller mWifiTrafficPoller; field in ClientModeImpl
788 mWifiTrafficPoller = wifiTrafficPoller; in ClientModeImpl()
5124 mWifiTrafficPoller.notifyOnDataActivity(mWifiInfo.txSuccess, in processMessage()