Searched refs:newRssi (Results 1 – 9 of 9) sorted by relevance
135 private void updateRssi(int newRssi) { in updateRssi() argument136 rssi = newRssi; in updateRssi()
235 int newRssi = originalRssi - 10;236 ap.setRssi(newRssi);237 assertThat(ap.getRssi()).isEqualTo(newRssi);244 int newRssi = -80;245 int expectedRssi = (originalRssi + newRssi) / 2;251 scanResult.level = newRssi;864 int newRssi = -80;869 scanResult.level = newRssi;
660 int newRssi = CONNECTED_RSSI + 10; in rssiChangeBroadcastShouldUpdateConnectedAp() local662 info.setRssi(newRssi); in rssiChangeBroadcastShouldUpdateConnectedAp()672 assertThat(tracker.getAccessPoints().get(0).getRssi()).isEqualTo(newRssi); in rssiChangeBroadcastShouldUpdateConnectedAp()
115 void noteWifiRssiChanged(int newRssi); in noteWifiRssiChanged() argument
2448 Integer newRssi = null; in fetchRssiLinkSpeedAndFrequencyNative() local2456 newRssi = pollResult.currentRssi; in fetchRssiLinkSpeedAndFrequencyNative()2461 logd("fetchRssiLinkSpeedAndFrequencyNative rssi=" + newRssi + in fetchRssiLinkSpeedAndFrequencyNative()2465 if (newRssi != null && newRssi > WifiInfo.INVALID_RSSI && newRssi < WifiInfo.MAX_RSSI) { in fetchRssiLinkSpeedAndFrequencyNative()2470 if (newRssi > 0) newRssi -= 256; in fetchRssiLinkSpeedAndFrequencyNative()2471 mWifiInfo.setRssi(newRssi); in fetchRssiLinkSpeedAndFrequencyNative()2482 int newSignalLevel = WifiManager.calculateSignalLevel(newRssi, WifiManager.RSSI_LEVELS); in fetchRssiLinkSpeedAndFrequencyNative()2485 sendRssiChangeBroadcast(newRssi); in fetchRssiLinkSpeedAndFrequencyNative()2503 if (newRssi != null && newLinkSpeed != null && newFrequency != null) { in fetchRssiLinkSpeedAndFrequencyNative()2609 private void sendRssiChangeBroadcast(final int newRssi) { in sendRssiChangeBroadcast() argument[all …]
896 public void noteWifiRssiChanged(int newRssi) { in noteWifiRssiChanged() argument899 mStats.noteWifiRssiChangedLocked(newRssi); in noteWifiRssiChanged()
5973 public void noteWifiRssiChangedLocked(int newRssi) { in noteWifiRssiChangedLocked() argument5974 int strengthBin = WifiManager.calculateSignalLevel(newRssi, NUM_WIFI_SIGNAL_STRENGTH_BINS); in noteWifiRssiChangedLocked()5975 if (DEBUG) Log.i(TAG, "WiFi rssi -> " + newRssi + " bin=" + strengthBin); in noteWifiRssiChangedLocked()
18068 field public static final java.lang.String EXTRA_NEW_RSSI = "newRssi";
28176 field public static final java.lang.String EXTRA_NEW_RSSI = "newRssi";