Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiScoreReport.java206 WifiSignalPollResults pollResults = mWifiNative.signalPoll(mInterfaceName); in triggerUpdateOfWifiUsabilityStats() local
207 if (pollResults != null) { in triggerUpdateOfWifiUsabilityStats()
208 int newRssi = RssiUtil.calculateAdjustedRssi(pollResults.getRssi()); in triggerUpdateOfWifiUsabilityStats()
209 int newTxLinkSpeed = pollResults.getTxLinkSpeed(); in triggerUpdateOfWifiUsabilityStats()
210 int newFrequency = pollResults.getFrequency(); in triggerUpdateOfWifiUsabilityStats()
211 int newRxLinkSpeed = pollResults.getRxLinkSpeed(); in triggerUpdateOfWifiUsabilityStats()
216 link.setRssi(pollResults.getRssi(linkId)); in triggerUpdateOfWifiUsabilityStats()
217 link.setTxLinkSpeedMbps(pollResults.getTxLinkSpeed(linkId)); in triggerUpdateOfWifiUsabilityStats()
218 link.setRxLinkSpeedMbps(pollResults.getRxLinkSpeed(linkId)); in triggerUpdateOfWifiUsabilityStats()
220 pollResults.getFrequency(linkId))); in triggerUpdateOfWifiUsabilityStats()
[all …]
DClientModeImpl.java2722 private void updateMloLinkFromPollResults(MloLink link, WifiSignalPollResults pollResults) { in updateMloLinkFromPollResults() argument
2725 int rssi = RssiUtil.calculateAdjustedRssi(pollResults.getRssi(linkId)); in updateMloLinkFromPollResults()
2729 link.setTxLinkSpeedMbps(pollResults.getTxLinkSpeed(linkId)); in updateMloLinkFromPollResults()
2730 link.setRxLinkSpeedMbps(pollResults.getRxLinkSpeed(linkId)); in updateMloLinkFromPollResults()
2732 pollResults.getFrequency(linkId))); in updateMloLinkFromPollResults()
2733 link.setBand(ScanResult.toBand(pollResults.getFrequency(linkId))); in updateMloLinkFromPollResults()
2766 WifiSignalPollResults pollResults = mWifiNative.signalPoll(mInterfaceName); in updateLinkLayerStatsRssiSpeedFrequencyCapabilities() local
2767 if (pollResults == null) { in updateLinkLayerStatsRssiSpeedFrequencyCapabilities()
2771 int newRssi = RssiUtil.calculateAdjustedRssi(pollResults.getRssi()); in updateLinkLayerStatsRssiSpeedFrequencyCapabilities()
2772 int newTxLinkSpeed = pollResults.getTxLinkSpeed(); in updateLinkLayerStatsRssiSpeedFrequencyCapabilities()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiNativeTest.java911 WifiSignalPollResults pollResults = mWifiNative.signalPoll(WIFI_IFACE_NAME); in testSignalPoll() local
912 assertEquals(SIGNAL_POLL_RESULT.currentRssiDbm, pollResults.getRssi()); in testSignalPoll()
913 assertEquals(SIGNAL_POLL_RESULT.txBitrateMbps, pollResults.getTxLinkSpeed()); in testSignalPoll()
915 pollResults.getFrequency()); in testSignalPoll()
916 assertEquals(SIGNAL_POLL_RESULT.rxBitrateMbps, pollResults.getRxLinkSpeed()); in testSignalPoll()