Searched refs:newRssi (Results 1 – 12 of 12) sorted by relevance
131 int newRssi = pollResult.currentRssiDbm; in triggerUpdateOfWifiUsabilityStats() local136 if (newRssi > WifiInfo.INVALID_RSSI && newRssi < WifiInfo.MAX_RSSI) { in triggerUpdateOfWifiUsabilityStats()137 if (newRssi > (WifiInfo.INVALID_RSSI + 256)) { in triggerUpdateOfWifiUsabilityStats()138 Log.wtf(TAG, "Error! +ve value RSSI: " + newRssi); in triggerUpdateOfWifiUsabilityStats()139 newRssi -= 256; in triggerUpdateOfWifiUsabilityStats()141 mWifiInfo.setRssi(newRssi); in triggerUpdateOfWifiUsabilityStats()
2425 int newRssi = pollResult.currentRssiDbm; in fetchRssiLinkSpeedAndFrequencyNative() local2431 logd("fetchRssiLinkSpeedAndFrequencyNative rssi=" + newRssi in fetchRssiLinkSpeedAndFrequencyNative()2436 if (newRssi > WifiInfo.INVALID_RSSI && newRssi < WifiInfo.MAX_RSSI) { in fetchRssiLinkSpeedAndFrequencyNative()2443 if (newRssi > (WifiInfo.INVALID_RSSI + 256)) { in fetchRssiLinkSpeedAndFrequencyNative()2444 Log.wtf(TAG, "Error! +ve value RSSI: " + newRssi); in fetchRssiLinkSpeedAndFrequencyNative()2445 newRssi -= 256; in fetchRssiLinkSpeedAndFrequencyNative()2447 mWifiInfo.setRssi(newRssi); in fetchRssiLinkSpeedAndFrequencyNative()2458 int newSignalLevel = RssiUtil.calculateSignalLevel(mContext, newRssi); in fetchRssiLinkSpeedAndFrequencyNative()2461 sendRssiChangeBroadcast(newRssi); in fetchRssiLinkSpeedAndFrequencyNative()2546 private void sendRssiChangeBroadcast(final int newRssi) { in sendRssiChangeBroadcast() argument[all …]
169 public void reportWifiRssiChanged(@IntRange(from = -127, to = 0) int newRssi) { in reportWifiRssiChanged()171 mBatteryStats.noteWifiRssiChanged(newRssi); in reportWifiRssiChanged()
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()1216 .isEqualTo((prevRssi + newRssi) / 2); in updateOsuAccessPoints_usesCachedAccessPoints()
264 int newRssi = originalRssi - 10;265 ap.setRssi(newRssi);266 assertThat(ap.getRssi()).isEqualTo(newRssi);273 int newRssi = -80;274 int expectedRssi = (originalRssi + newRssi) / 2;280 scanResult.level = newRssi;891 int newRssi = -80;896 scanResult.level = newRssi;
204 private void updateRssi(int newRssi) { in updateRssi() argument205 rssi = newRssi; in updateRssi()
118 void noteWifiRssiChanged(int newRssi); in noteWifiRssiChanged() argument
918 public void noteWifiRssiChanged(int newRssi) { in noteWifiRssiChanged() argument921 mStats.noteWifiRssiChangedLocked(newRssi); in noteWifiRssiChanged()
369 field public static final String EXTRA_NEW_RSSI = "newRssi";
5839 public void noteWifiRssiChangedLocked(int newRssi) { in noteWifiRssiChangedLocked() argument5840 int strengthBin = WifiManager.calculateSignalLevel(newRssi, NUM_WIFI_SIGNAL_STRENGTH_BINS); in noteWifiRssiChangedLocked()5841 if (DEBUG) Log.i(TAG, "WiFi rssi -> " + newRssi + " bin=" + strengthBin); in noteWifiRssiChangedLocked()
18068 field public static final java.lang.String EXTRA_NEW_RSSI = "newRssi";
31449 field public static final String EXTRA_NEW_RSSI = "newRssi";