Searched refs:pollResults (Results 1 – 3 of 3) sorted by relevance
206 WifiSignalPollResults pollResults = mWifiNative.signalPoll(mInterfaceName); in triggerUpdateOfWifiUsabilityStats() local207 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 …]
2722 private void updateMloLinkFromPollResults(MloLink link, WifiSignalPollResults pollResults) { in updateMloLinkFromPollResults() argument2725 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() local2767 if (pollResults == null) { in updateLinkLayerStatsRssiSpeedFrequencyCapabilities()2771 int newRssi = RssiUtil.calculateAdjustedRssi(pollResults.getRssi()); in updateLinkLayerStatsRssiSpeedFrequencyCapabilities()2772 int newTxLinkSpeed = pollResults.getTxLinkSpeed(); in updateLinkLayerStatsRssiSpeedFrequencyCapabilities()[all …]
911 WifiSignalPollResults pollResults = mWifiNative.signalPoll(WIFI_IFACE_NAME); in testSignalPoll() local912 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()