Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiScoreReportTest.java132 @Mock WifiScoreCard.PerNetwork mPerNetwork; field in WifiScoreReportTest
275 when(mPerNetwork.getTxLinkBandwidthKbps()).thenReturn(40_000); in setUp()
276 when(mPerNetwork.getRxLinkBandwidthKbps()).thenReturn(50_000); in setUp()
277 when(mWifiScoreCard.lookupNetwork(any())).thenReturn(mPerNetwork); in setUp()
DWifiBlocklistMonitorTest.java148 @Mock private WifiScoreCard.PerNetwork mPerNetwork; field in WifiBlocklistMonitorTest
253 when(mPerNetwork.getRecentStats()).thenReturn(mRecentStats); in setup()
254 when(mWifiScoreCard.lookupNetwork(anyString())).thenReturn(mPerNetwork); in setup()
DClientModeImplTest.java538 @Mock PerNetwork mPerNetwork; field in ClientModeImplTest
793 when(mPerNetwork.getRecentStats()).thenReturn(mPerNetworkRecentStats); in setUp()
794 when(mWifiScoreCard.lookupNetwork(any())).thenReturn(mPerNetwork); in setUp()
3991 verify(mPerNetwork, atLeastOnce()).getTxLinkBandwidthKbps(); in verifyConnectedModeRssiPolling()
3992 verify(mPerNetwork, atLeastOnce()).getRxLinkBandwidthKbps(); in verifyConnectedModeRssiPolling()
4093 when(mPerNetwork.getTxLinkBandwidthKbps()).thenReturn(40_000); in verifyConnectedModeNetworkCapabilitiesBandwidthUpdate()
4094 when(mPerNetwork.getRxLinkBandwidthKbps()).thenReturn(50_000); in verifyConnectedModeNetworkCapabilitiesBandwidthUpdate()
4126 when(mPerNetwork.getTxLinkBandwidthKbps()).thenReturn(82_000); in verifyConnectedModeNetworkCapabilitiesBandwidthUpdate()
4127 when(mPerNetwork.getRxLinkBandwidthKbps()).thenReturn(92_000); in verifyConnectedModeNetworkCapabilitiesBandwidthUpdate()
4153 when(mPerNetwork.getTxLinkBandwidthKbps()).thenReturn(72_000); in verifyConnectedModeNetworkCapabilitiesBandwidthUpdate()
[all …]
DWifiConnectivityManagerTest.java309 @Mock private WifiScoreCard.PerNetwork mPerNetwork; field in WifiConnectivityManagerTest
2868 when(mWifiScoreCard.lookupNetwork(anyString())).thenReturn(mPerNetwork); in testInitialFastScanSchedulesMoreScans()
2869 when(mPerNetwork.getFrequencies(anyLong())).thenReturn(new ArrayList<>( in testInitialFastScanSchedulesMoreScans()
3739 when(mWifiScoreCard.lookupNetwork(configuration.SSID)).thenReturn(mPerNetwork); in verifyFullBandScanWhenConnected()
3740 when(mPerNetwork.getFrequencies(anyLong())).thenReturn(new ArrayList<>()); in verifyFullBandScanWhenConnected()
5828 when(mWifiScoreCard.lookupNetwork(network1.SSID)).thenReturn(mPerNetwork); in testRetrievePnoListFrequencies()
5830 when(mPerNetwork.getFrequencies(anyLong())).thenReturn(channelList); in testRetrievePnoListFrequencies()
DWifiMetricsTest.java210 @Mock WifiScoreCard.PerNetwork mPerNetwork; field in WifiMetricsTest
254 when(mWifiScoreCard.lookupNetwork(anyString())).thenReturn(mPerNetwork); in setUp()
255 when(mPerNetwork.getRecentStats()).thenReturn(mNetworkConnectionStats); in setUp()
DWifiConfigManagerTest.java203 @Mock private PerNetwork mPerNetwork; field in WifiConfigManagerTest
330 when(mWifiScoreCard.lookupNetwork(any())).thenReturn(mPerNetwork); in setUp()