Home
last modified time | relevance | path

Searched refs:asu (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/telephony/java/android/telephony/
DCellSignalStrengthWcdma.java114 int asu = mSignalStrength; in getLevel() local
115 if (asu <= 2 || asu == 99) level = SIGNAL_STRENGTH_NONE_OR_UNKNOWN; in getLevel()
116 else if (asu >= WCDMA_SIGNAL_STRENGTH_GREAT) level = SIGNAL_STRENGTH_GREAT; in getLevel()
117 else if (asu >= WCDMA_SIGNAL_STRENGTH_GOOD) level = SIGNAL_STRENGTH_GOOD; in getLevel()
118 else if (asu >= WCDMA_SIGNAL_STRENGTH_MODERATE) level = SIGNAL_STRENGTH_MODERATE; in getLevel()
132 int asu = (level == 99 ? Integer.MAX_VALUE : level); in getDbm() local
133 if (asu != Integer.MAX_VALUE) { in getDbm()
134 dBm = -113 + (2 * asu); in getDbm()
DCellSignalStrengthGsm.java133 int asu = mSignalStrength; in getLevel() local
134 if (asu <= 2 || asu == 99) level = SIGNAL_STRENGTH_NONE_OR_UNKNOWN; in getLevel()
135 else if (asu >= GSM_SIGNAL_STRENGTH_GREAT) level = SIGNAL_STRENGTH_GREAT; in getLevel()
136 else if (asu >= GSM_SIGNAL_STRENGTH_GOOD) level = SIGNAL_STRENGTH_GOOD; in getLevel()
137 else if (asu >= GSM_SIGNAL_STRENGTH_MODERATE) level = SIGNAL_STRENGTH_MODERATE; in getLevel()
151 int asu = (level == 99 ? Integer.MAX_VALUE : level); in getDbm() local
152 if (asu != Integer.MAX_VALUE) { in getDbm()
153 dBm = -113 + (2 * asu); in getDbm()
DSignalStrength.java606 int asu = (gsmSignalStrength == 99 ? -1 : gsmSignalStrength);
607 if (asu != -1) {
608 dBm = -113 + (2 * asu);
628 int asu = getGsmSignalStrength();
629 if (asu <= 2 || asu == 99) level = SIGNAL_STRENGTH_NONE_OR_UNKNOWN;
630 else if (asu >= 12) level = SIGNAL_STRENGTH_GREAT;
631 else if (asu >= 8) level = SIGNAL_STRENGTH_GOOD;
632 else if (asu >= 5) level = SIGNAL_STRENGTH_MODERATE;
DPhoneStateListener.java364 public void onSignalStrengthChanged(int asu) { in onSignalStrengthChanged() argument
563 public void onSignalStrengthChanged(int asu) { in onSignalStrengthChanged() argument
564 send(LISTEN_SIGNAL_STRENGTH, asu, 0, null); in onSignalStrengthChanged()
/frameworks/base/telephony/java/com/android/internal/telephony/
DIPhoneStateListener.aidl30 void onSignalStrengthChanged(int asu); in onSignalStrengthChanged() argument