Searched refs:signalStrength (Results 1 – 5 of 5) sorted by relevance
140 public void onSignalStrengthsChanged(final SignalStrength signalStrength) {141 mSignalLevel = getLevel(signalStrength);172 private static int getLevel(final SignalStrength signalStrength) { in getLevel() argument173 if (signalStrength.isGsm()) { in getLevel()180 final int asu = signalStrength.getGsmSignalStrength(); in getLevel()189 final int cdmaLevel = getCdmaLevel(signalStrength); in getLevel()190 final int evdoLevel = getEvdoLevel(signalStrength); in getLevel()193 return getCdmaLevel(signalStrength); in getLevel()196 return getEvdoLevel(signalStrength); in getLevel()207 private static int getCdmaLevel(final SignalStrength signalStrength) { in getCdmaLevel() argument[all …]
249 public void onSignalStrengthsChanged(SignalStrength signalStrength) { in getPhoneStateListener()254 } else if (signalStrength.isGsm()) { in getPhoneStateListener()255 mSignal = signalStrength.getLteLevel(); in getPhoneStateListener()257 mSignal = gsmAsuToSignal(signalStrength); in getPhoneStateListener()265 mSignal = cdmaDbmEcioToSignal(signalStrength); in getPhoneStateListener()278 private int gsmAsuToSignal(SignalStrength signalStrength) { in getPhoneStateListener()279 int asu = signalStrength.getGsmSignalStrength(); in getPhoneStateListener()295 private int cdmaDbmEcioToSignal(SignalStrength signalStrength) { in getPhoneStateListener()300 int cdmaDbm = signalStrength.getCdmaDbm(); in getPhoneStateListener()301 int cdmaEcio = signalStrength.getCdmaEcio(); in getPhoneStateListener()[all …]
333 int signalStrength; in updateConnectivityStatus() local336 signalStrength = WifiManager.calculateSignalLevel(wifiInfo.getRssi(), 4); in updateConnectivityStatus()338 signalStrength = 0; in updateConnectivityStatus()340 if (mConnectivityStatus.mWifiSignalStrength != signalStrength) { in updateConnectivityStatus()342 mConnectivityStatus.mWifiSignalStrength = signalStrength; in updateConnectivityStatus()
355 void updateSignalStrength(SignalStrength signalStrength) { in updateSignalStrength() argument366 int signalDbm = signalStrength.getDbm(); in updateSignalStrength()367 int signalAsu = signalStrength.getAsuLevel(); in updateSignalStrength()439 public void onSignalStrengthsChanged(SignalStrength signalStrength) { in updatePhoneInfos()440 updateSignalStrength(signalStrength); in updatePhoneInfos()
262 public void onSignalStrengthsChanged(SignalStrength signalStrength) {263 log("onSignalStrengthChanged: SignalStrength=" +signalStrength);264 updateSignalStrength(signalStrength);557 updateSignalStrength(SignalStrength signalStrength) { in updateSignalStrength() argument560 int signalDbm = signalStrength.getDbm(); in updateSignalStrength()562 int signalAsu = signalStrength.getAsuLevel(); in updateSignalStrength()