Searched refs:newRssi (Results 1 – 6 of 6) sorted by relevance
143 private void updateRssi(int newRssi) { in updateRssi() argument144 rssi = newRssi; in updateRssi()
750 int newRssi = CONNECTED_RSSI + 10; in rssiChangeBroadcastShouldUpdateConnectedAp() local752 info.setRssi(newRssi); in rssiChangeBroadcastShouldUpdateConnectedAp()762 assertThat(tracker.getAccessPoints().get(0).getRssi()).isEqualTo(newRssi); in rssiChangeBroadcastShouldUpdateConnectedAp()1085 int newRssi = prevRssi + 10; in updatePasspointAccessPoints_usesCachedAccessPoints() local1086 result.level = newRssi; in updatePasspointAccessPoints_usesCachedAccessPoints()1097 .isEqualTo((prevRssi + newRssi) / 2); in updatePasspointAccessPoints_usesCachedAccessPoints()1207 int newRssi = prevRssi + 10; in updateOsuAccessPoints_usesCachedAccessPoints() local1208 result.level = newRssi; in updateOsuAccessPoints_usesCachedAccessPoints()1217 .isEqualTo((prevRssi + newRssi) / 2); in updateOsuAccessPoints_usesCachedAccessPoints()
262 int newRssi = originalRssi - 10;263 ap.setRssi(newRssi);264 assertThat(ap.getRssi()).isEqualTo(newRssi);271 int newRssi = -80;272 int expectedRssi = (originalRssi + newRssi) / 2;278 scanResult.level = newRssi;954 int newRssi = -80;959 scanResult.level = newRssi;
118 void noteWifiRssiChanged(int newRssi); in noteWifiRssiChanged() argument
2675 int newRssi = pollResult.currentRssi; in fetchRssiLinkSpeedAndFrequencyNative() local2681 logd("fetchRssiLinkSpeedAndFrequencyNative rssi=" + newRssi in fetchRssiLinkSpeedAndFrequencyNative()2686 if (newRssi > WifiInfo.INVALID_RSSI && newRssi < WifiInfo.MAX_RSSI) { in fetchRssiLinkSpeedAndFrequencyNative()2691 if (newRssi > 0) { in fetchRssiLinkSpeedAndFrequencyNative()2692 Log.wtf(TAG, "Error! +ve value RSSI: " + newRssi); in fetchRssiLinkSpeedAndFrequencyNative()2693 newRssi -= 256; in fetchRssiLinkSpeedAndFrequencyNative()2695 mWifiInfo.setRssi(newRssi); in fetchRssiLinkSpeedAndFrequencyNative()2706 int newSignalLevel = WifiManager.calculateSignalLevel(newRssi, WifiManager.RSSI_LEVELS); in fetchRssiLinkSpeedAndFrequencyNative()2709 sendRssiChangeBroadcast(newRssi); in fetchRssiLinkSpeedAndFrequencyNative()2796 private void sendRssiChangeBroadcast(final int newRssi) { in sendRssiChangeBroadcast() argument[all …]
929 public void noteWifiRssiChanged(int newRssi) { in noteWifiRssiChanged() argument932 mStats.noteWifiRssiChangedLocked(newRssi); in noteWifiRssiChanged()