Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/app/
DIBatteryStats.aidl94 void noteWifiRssiChanged(int newRssi); in noteWifiRssiChanged() argument
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java519 public void noteWifiRssiChanged(int newRssi) { in noteWifiRssiChanged() argument
522 mStats.noteWifiRssiChangedLocked(newRssi); in noteWifiRssiChanged()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiStateMachine.java3509 int newRssi = -1; in fetchRssiLinkSpeedAndFrequencyNative() local
3522 newRssi = Integer.parseInt(prop[1]); in fetchRssiLinkSpeedAndFrequencyNative()
3536 + Integer.toString(newRssi) + " linkspeed=" in fetchRssiLinkSpeedAndFrequencyNative()
3540 if (newRssi > WifiInfo.INVALID_RSSI && newRssi < WifiInfo.MAX_RSSI) { in fetchRssiLinkSpeedAndFrequencyNative()
3545 if (newRssi > 0) newRssi -= 256; in fetchRssiLinkSpeedAndFrequencyNative()
3546 mWifiInfo.setRssi(newRssi); in fetchRssiLinkSpeedAndFrequencyNative()
3557 int newSignalLevel = WifiManager.calculateSignalLevel(newRssi, WifiManager.RSSI_LEVELS); in fetchRssiLinkSpeedAndFrequencyNative()
3559 sendRssiChangeBroadcast(newRssi); in fetchRssiLinkSpeedAndFrequencyNative()
4169 private void sendRssiChangeBroadcast(final int newRssi) { in sendRssiChangeBroadcast() argument
4171 mBatteryStats.noteWifiRssiChanged(newRssi); in sendRssiChangeBroadcast()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java3697 public void noteWifiRssiChangedLocked(int newRssi) { in noteWifiRssiChangedLocked() argument
3698 int strengthBin = WifiManager.calculateSignalLevel(newRssi, NUM_WIFI_SIGNAL_STRENGTH_BINS); in noteWifiRssiChangedLocked()
3699 if (DEBUG) Log.i(TAG, "WiFi rssi -> " + newRssi + " bin=" + strengthBin); in noteWifiRssiChangedLocked()
/frameworks/base/api/
Dsystem-current.txt19532 field public static final java.lang.String EXTRA_NEW_RSSI = "newRssi";
Dcurrent.txt18070 field public static final java.lang.String EXTRA_NEW_RSSI = "newRssi";