Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiStatusTracker.java135 private void updateRssi(int newRssi) { in updateRssi() argument
136 rssi = newRssi; in updateRssi()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DAccessPointTest.java235 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;
DWifiTrackerTest.java660 int newRssi = CONNECTED_RSSI + 10; in rssiChangeBroadcastShouldUpdateConnectedAp() local
662 info.setRssi(newRssi); in rssiChangeBroadcastShouldUpdateConnectedAp()
672 assertThat(tracker.getAccessPoints().get(0).getRssi()).isEqualTo(newRssi); in rssiChangeBroadcastShouldUpdateConnectedAp()
/frameworks/base/core/java/com/android/internal/app/
DIBatteryStats.aidl115 void noteWifiRssiChanged(int newRssi); in noteWifiRssiChanged() argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiStateMachine.java2448 Integer newRssi = null; in fetchRssiLinkSpeedAndFrequencyNative() local
2456 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 …]
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java896 public void noteWifiRssiChanged(int newRssi) { in noteWifiRssiChanged() argument
899 mStats.noteWifiRssiChangedLocked(newRssi); in noteWifiRssiChanged()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java5973 public void noteWifiRssiChangedLocked(int newRssi) { in noteWifiRssiChangedLocked() argument
5974 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()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt18068 field public static final java.lang.String EXTRA_NEW_RSSI = "newRssi";
/frameworks/base/api/
Dcurrent.txt28176 field public static final java.lang.String EXTRA_NEW_RSSI = "newRssi";