Searched refs:newRssi (Results 1 – 8 of 8) sorted by relevance
749 int newRssi = CONNECTED_RSSI + 10; in rssiChangeBroadcastShouldUpdateConnectedAp() local751 info.setRssi(newRssi); in rssiChangeBroadcastShouldUpdateConnectedAp()761 assertThat(tracker.getAccessPoints().get(0).getRssi()).isEqualTo(newRssi); in rssiChangeBroadcastShouldUpdateConnectedAp()1084 int newRssi = prevRssi + 10; in updatePasspointAccessPoints_usesCachedAccessPoints() local1085 result.level = newRssi; in updatePasspointAccessPoints_usesCachedAccessPoints()1096 .isEqualTo((prevRssi + newRssi) / 2); in updatePasspointAccessPoints_usesCachedAccessPoints()1206 int newRssi = prevRssi + 10; in updateOsuAccessPoints_usesCachedAccessPoints() local1207 result.level = newRssi; in updateOsuAccessPoints_usesCachedAccessPoints()1217 .isEqualTo((prevRssi + newRssi) / 2); in updateOsuAccessPoints_usesCachedAccessPoints()
275 int newRssi = originalRssi - 10;276 ap.setRssi(newRssi);277 assertThat(ap.getRssi()).isEqualTo(newRssi);284 int newRssi = -80;285 int expectedRssi = (originalRssi + newRssi) / 2;291 scanResult.level = newRssi;912 int newRssi = -80;917 scanResult.level = newRssi;
215 public void reportWifiRssiChanged(@IntRange(from = -127, to = 0) int newRssi) { in reportWifiRssiChanged()217 mBatteryStats.noteWifiRssiChanged(newRssi); in reportWifiRssiChanged()
288 private void updateRssi(int newRssi) { in updateRssi() argument289 rssi = newRssi; in updateRssi()
186 void noteWifiRssiChanged(int newRssi); in noteWifiRssiChanged() argument
2218 public void noteWifiRssiChanged(final int newRssi) { in noteWifiRssiChanged() argument2226 mStats.noteWifiRssiChangedLocked(newRssi, elapsedRealtime, uptime); in noteWifiRssiChanged()
7033 public void noteWifiRssiChangedLocked(int newRssi, long elapsedRealtimeMs, long uptimeMs) { in noteWifiRssiChangedLocked() argument7034 int strengthBin = WifiManager.calculateSignalLevel(newRssi, NUM_WIFI_SIGNAL_STRENGTH_BINS); in noteWifiRssiChangedLocked()7035 if (DEBUG) Log.i(TAG, "WiFi rssi -> " + newRssi + " bin=" + strengthBin); in noteWifiRssiChangedLocked()
18068 field public static final java.lang.String EXTRA_NEW_RSSI = "newRssi";