Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DWifiTrackerTest.java750 int newRssi = CONNECTED_RSSI + 10; in rssiChangeBroadcastShouldUpdateConnectedAp() local
752 info.setRssi(newRssi); in rssiChangeBroadcastShouldUpdateConnectedAp()
762 assertThat(tracker.getAccessPoints().get(0).getRssi()).isEqualTo(newRssi); in rssiChangeBroadcastShouldUpdateConnectedAp()
1085 int newRssi = prevRssi + 10; in updatePasspointAccessPoints_usesCachedAccessPoints() local
1086 result.level = newRssi; in updatePasspointAccessPoints_usesCachedAccessPoints()
1097 .isEqualTo((prevRssi + newRssi) / 2); in updatePasspointAccessPoints_usesCachedAccessPoints()
1207 int newRssi = prevRssi + 10; in updateOsuAccessPoints_usesCachedAccessPoints() local
1208 result.level = newRssi; in updateOsuAccessPoints_usesCachedAccessPoints()
1217 .isEqualTo((prevRssi + newRssi) / 2); in updateOsuAccessPoints_usesCachedAccessPoints()
DAccessPointTest.java262 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;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiStatusTracker.java143 private void updateRssi(int newRssi) { in updateRssi() argument
144 rssi = newRssi; in updateRssi()
/frameworks/base/core/java/com/android/internal/app/
DIBatteryStats.aidl118 void noteWifiRssiChanged(int newRssi); in noteWifiRssiChanged() argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DClientModeImpl.java2675 int newRssi = pollResult.currentRssi; in fetchRssiLinkSpeedAndFrequencyNative() local
2681 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 …]
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java929 public void noteWifiRssiChanged(int newRssi) { in noteWifiRssiChanged() argument
932 mStats.noteWifiRssiChangedLocked(newRssi); in noteWifiRssiChanged()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java5814 public void noteWifiRssiChangedLocked(int newRssi) { in noteWifiRssiChangedLocked() argument
5815 int strengthBin = WifiManager.calculateSignalLevel(newRssi, NUM_WIFI_SIGNAL_STRENGTH_BINS); in noteWifiRssiChangedLocked()
5816 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.txt29830 field public static final String EXTRA_NEW_RSSI = "newRssi";