Searched refs:mWifiTrafficPoller (Results 1 – 6 of 6) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiTrafficPollerTest.java | 47 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 …]
|
D | WifiServiceImplTest.java | 220 @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()
|
D | ClientModeImplTest.java | 359 @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/ |
D | WifiInjector.java | 88 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()
|
D | WifiServiceImpl.java | 180 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()
|
D | ClientModeImpl.java | 212 private final WifiTrafficPoller mWifiTrafficPoller; field in ClientModeImpl 788 mWifiTrafficPoller = wifiTrafficPoller; in ClientModeImpl() 5124 mWifiTrafficPoller.notifyOnDataActivity(mWifiInfo.txSuccess, in processMessage()
|