Home
last modified time | relevance | path

Searched refs:newRssi (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DWifiTrackerTest.java749 int newRssi = CONNECTED_RSSI + 10; in rssiChangeBroadcastShouldUpdateConnectedAp() local
751 info.setRssi(newRssi); in rssiChangeBroadcastShouldUpdateConnectedAp()
761 assertThat(tracker.getAccessPoints().get(0).getRssi()).isEqualTo(newRssi); in rssiChangeBroadcastShouldUpdateConnectedAp()
1084 int newRssi = prevRssi + 10; in updatePasspointAccessPoints_usesCachedAccessPoints() local
1085 result.level = newRssi; in updatePasspointAccessPoints_usesCachedAccessPoints()
1096 .isEqualTo((prevRssi + newRssi) / 2); in updatePasspointAccessPoints_usesCachedAccessPoints()
1206 int newRssi = prevRssi + 10; in updateOsuAccessPoints_usesCachedAccessPoints() local
1207 result.level = newRssi; in updateOsuAccessPoints_usesCachedAccessPoints()
1217 .isEqualTo((prevRssi + newRssi) / 2); in updateOsuAccessPoints_usesCachedAccessPoints()
DAccessPointTest.java275 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;
/frameworks/base/core/java/android/os/
DBatteryStatsManager.java215 public void reportWifiRssiChanged(@IntRange(from = -127, to = 0) int newRssi) { in reportWifiRssiChanged()
217 mBatteryStats.noteWifiRssiChanged(newRssi); in reportWifiRssiChanged()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiStatusTracker.java288 private void updateRssi(int newRssi) { in updateRssi() argument
289 rssi = newRssi; in updateRssi()
/frameworks/base/core/java/com/android/internal/app/
DIBatteryStats.aidl186 void noteWifiRssiChanged(int newRssi); in noteWifiRssiChanged() argument
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java2218 public void noteWifiRssiChanged(final int newRssi) { in noteWifiRssiChanged() argument
2226 mStats.noteWifiRssiChangedLocked(newRssi, elapsedRealtime, uptime); in noteWifiRssiChanged()
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryStatsImpl.java7033 public void noteWifiRssiChangedLocked(int newRssi, long elapsedRealtimeMs, long uptimeMs) { in noteWifiRssiChangedLocked() argument
7034 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()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt18068 field public static final java.lang.String EXTRA_NEW_RSSI = "newRssi";