Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiMetricsTest.java190 @Mock IOnWifiUsabilityStatsListener mOnWifiUsabilityStatsListener; field in WifiMetricsTest
227 when(mOnWifiUsabilityStatsListener.asBinder()).thenReturn(mAppBinder); in setUp()
4482 mWifiMetrics.addOnWifiUsabilityListener(mOnWifiUsabilityStatsListener); in testClientNotification()
4491 verify(mOnWifiUsabilityStatsListener).onWifiUsabilityStats(anyInt(), anyBoolean(), in testClientNotification()
4508 mWifiMetrics.addOnWifiUsabilityListener(mOnWifiUsabilityStatsListener); in testRemoveClient()
4509 mWifiMetrics.removeOnWifiUsabilityListener(mOnWifiUsabilityStatsListener); in testRemoveClient()
4518 verify(mOnWifiUsabilityStatsListener, never()).onWifiUsabilityStats(anyInt(), in testRemoveClient()
4527 mWifiMetrics.addOnWifiUsabilityListener(mOnWifiUsabilityStatsListener); in testAddsForBinderDeathOnAddClient()
4538 mWifiMetrics.addOnWifiUsabilityListener(mOnWifiUsabilityStatsListener); in testAddsListenerFailureOnLinkToDeath()
4548 verify(mOnWifiUsabilityStatsListener, never()).onWifiUsabilityStats(anyInt(), in testAddsListenerFailureOnLinkToDeath()
DWifiServiceImplTest.java343 @Mock IOnWifiUsabilityStatsListener mOnWifiUsabilityStatsListener; field in WifiServiceImplTest
6280 mWifiServiceImpl.addOnWifiUsabilityStatsListener(mOnWifiUsabilityStatsListener); in testAddStatsListenerThrowsSecurityExceptionOnMissingPermissions()
6310 mWifiServiceImpl.removeOnWifiUsabilityStatsListener(mOnWifiUsabilityStatsListener); in testRemoveStatsListenerThrowsSecurityExceptionOnMissingPermissions()
6321 mWifiServiceImpl.addOnWifiUsabilityStatsListener(mOnWifiUsabilityStatsListener); in testAddOnWifiUsabilityStatsListenerAndVerify()
6323 verify(mWifiMetrics).addOnWifiUsabilityListener(mOnWifiUsabilityStatsListener); in testAddOnWifiUsabilityStatsListenerAndVerify()
6332 mWifiServiceImpl.removeOnWifiUsabilityStatsListener(mOnWifiUsabilityStatsListener); in testRemoveOnWifiUsabilityStatsListenerAndVerify()
6334 verify(mWifiMetrics).removeOnWifiUsabilityListener(mOnWifiUsabilityStatsListener); in testRemoveOnWifiUsabilityStatsListenerAndVerify()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiManagerTest.java170 @Mock OnWifiUsabilityStatsListener mOnWifiUsabilityStatsListener; field in WifiManagerTest
2303 mWifiManager.addOnWifiUsabilityStatsListener(mExecutor, mOnWifiUsabilityStatsListener); in addOnWifiUsabilityStatsListenerGoesToWifiServiceImpl()
2321 verify(mOnWifiUsabilityStatsListener).onWifiUsabilityStats(anyInt(), anyBoolean(), in addOnWifiUsabilityStatsListenerGoesToWifiServiceImpl()
2333 mWifiManager.addOnWifiUsabilityStatsListener(mExecutor, mOnWifiUsabilityStatsListener); in removeOnWifiUsabilityListenerGoesToWifiServiceImpl()
2336 mWifiManager.removeOnWifiUsabilityStatsListener(mOnWifiUsabilityStatsListener); in removeOnWifiUsabilityListenerGoesToWifiServiceImpl()