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.java206 @Mock IOnWifiUsabilityStatsListener mOnWifiUsabilityStatsListener; field in WifiMetricsTest
253 when(mOnWifiUsabilityStatsListener.asBinder()).thenReturn(mAppBinder); in setUp()
4699 mWifiMetrics.addOnWifiUsabilityListener(mOnWifiUsabilityStatsListener); in testClientNotification()
4733 verify(mOnWifiUsabilityStatsListener, never()).onWifiUsabilityStats(anyInt(), anyBoolean(), in testClientNotification()
4745 verify(mOnWifiUsabilityStatsListener).onWifiUsabilityStats(anyInt(), anyBoolean(), in testClientNotification()
4870 mWifiMetrics.addOnWifiUsabilityListener(mOnWifiUsabilityStatsListener); in testRemoveClient()
4871 mWifiMetrics.removeOnWifiUsabilityListener(mOnWifiUsabilityStatsListener); in testRemoveClient()
4880 verify(mOnWifiUsabilityStatsListener, never()).onWifiUsabilityStats(anyInt(), in testRemoveClient()
4889 mWifiMetrics.addOnWifiUsabilityListener(mOnWifiUsabilityStatsListener); in testAddsForBinderDeathOnAddClient()
4900 mWifiMetrics.addOnWifiUsabilityListener(mOnWifiUsabilityStatsListener); in testAddsListenerFailureOnLinkToDeath()
[all …]
DWifiServiceImplTest.java440 @Mock IOnWifiUsabilityStatsListener mOnWifiUsabilityStatsListener; field in WifiServiceImplTest
7693 mWifiServiceImpl.addOnWifiUsabilityStatsListener(mOnWifiUsabilityStatsListener); in testAddStatsListenerThrowsSecurityExceptionOnMissingPermissions()
7723 mWifiServiceImpl.removeOnWifiUsabilityStatsListener(mOnWifiUsabilityStatsListener); in testRemoveStatsListenerThrowsSecurityExceptionOnMissingPermissions()
7734 mWifiServiceImpl.addOnWifiUsabilityStatsListener(mOnWifiUsabilityStatsListener); in testAddOnWifiUsabilityStatsListenerAndVerify()
7736 verify(mWifiMetrics).addOnWifiUsabilityListener(mOnWifiUsabilityStatsListener); in testAddOnWifiUsabilityStatsListenerAndVerify()
7745 mWifiServiceImpl.removeOnWifiUsabilityStatsListener(mOnWifiUsabilityStatsListener); in testRemoveOnWifiUsabilityStatsListenerAndVerify()
7747 verify(mWifiMetrics).removeOnWifiUsabilityListener(mOnWifiUsabilityStatsListener); in testRemoveOnWifiUsabilityStatsListenerAndVerify()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiManagerTest.java203 @Mock OnWifiUsabilityStatsListener mOnWifiUsabilityStatsListener; field in WifiManagerTest
2498 mWifiManager.addOnWifiUsabilityStatsListener(mExecutor, mOnWifiUsabilityStatsListener); in addOnWifiUsabilityStatsListenerGoesToWifiServiceImpl()
2526 verify(mOnWifiUsabilityStatsListener).onWifiUsabilityStats(anyInt(), anyBoolean(), in addOnWifiUsabilityStatsListenerGoesToWifiServiceImpl()
2538 mWifiManager.addOnWifiUsabilityStatsListener(mExecutor, mOnWifiUsabilityStatsListener); in removeOnWifiUsabilityListenerGoesToWifiServiceImpl()
2541 mWifiManager.removeOnWifiUsabilityStatsListener(mOnWifiUsabilityStatsListener); in removeOnWifiUsabilityListenerGoesToWifiServiceImpl()