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 | ClientModeImplTest.java | 366 @Mock WifiTrafficPoller mWifiTrafficPoller; field in ClientModeImplTest 431 when(mWifiInjector.getWifiTrafficPoller()).thenReturn(mWifiTrafficPoller); in setUp() 558 mWrongPasswordNotifier, mSarManager, mWifiTrafficPoller, in initializeCmi() 3567 verify(mWifiTrafficPoller).notifyOnDataActivity(anyLong(), anyLong()); in verifyRssiPollCallsWifiTrafficPoller()
|
D | WifiServiceImplTest.java | 226 @Mock WifiTrafficPoller mWifiTrafficPoller; field in WifiServiceImplTest 380 when(mWifiInjector.getWifiTrafficPoller()).thenReturn(mWifiTrafficPoller); in setUp() 3546 verify(mWifiTrafficPoller).addCallback( in registerTrafficStateCallbackAndVerify() 3559 verify(mWifiTrafficPoller).removeCallback(0); in unregisterTrafficStateCallbackAndVerify()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiInjector.java | 90 private final WifiTrafficPoller mWifiTrafficPoller; field in WifiInjector 236 mWifiTrafficPoller = new WifiTrafficPoller(clientModeImplLooper); in WifiInjector() 319 mSarManager, mWifiTrafficPoller, mLinkProbeManager); in WifiInjector() 428 return mWifiTrafficPoller; in getWifiTrafficPoller()
|
D | WifiServiceImpl.java | 181 private WifiTrafficPoller mWifiTrafficPoller; field in WifiServiceImpl 459 mWifiTrafficPoller = mWifiInjector.getWifiTrafficPoller(); in WifiServiceImpl() 2802 mWifiTrafficPoller.dump(fd, pw, args); in dump() 3225 mWifiTrafficPoller.addCallback(binder, callback, callbackIdentifier); in registerTrafficStateCallback() 3245 mWifiTrafficPoller.removeCallback(callbackIdentifier); in unregisterTrafficStateCallback()
|
D | ClientModeImpl.java | 219 private final WifiTrafficPoller mWifiTrafficPoller; field in ClientModeImpl 801 mWifiTrafficPoller = wifiTrafficPoller; in ClientModeImpl() 5197 mWifiTrafficPoller.notifyOnDataActivity(mWifiInfo.txSuccess, in processMessage()
|