Home
last modified time | relevance | path

Searched refs:levelDbm (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/telephony/java/android/telephony/
DCellSignalStrengthCdma.java176 int levelDbm; in getCdmaLevel() local
179 if (cdmaDbm == Integer.MAX_VALUE) levelDbm = SIGNAL_STRENGTH_NONE_OR_UNKNOWN; in getCdmaLevel()
180 else if (cdmaDbm >= -75) levelDbm = SIGNAL_STRENGTH_GREAT; in getCdmaLevel()
181 else if (cdmaDbm >= -85) levelDbm = SIGNAL_STRENGTH_GOOD; in getCdmaLevel()
182 else if (cdmaDbm >= -95) levelDbm = SIGNAL_STRENGTH_MODERATE; in getCdmaLevel()
183 else if (cdmaDbm >= -100) levelDbm = SIGNAL_STRENGTH_POOR; in getCdmaLevel()
184 else levelDbm = SIGNAL_STRENGTH_NONE_OR_UNKNOWN; in getCdmaLevel()
194 int level = (levelDbm < levelEcio) ? levelDbm : levelEcio; in getCdmaLevel()
DSignalStrength.java699 int levelDbm;
702 if (cdmaDbm >= -75) levelDbm = SIGNAL_STRENGTH_GREAT;
703 else if (cdmaDbm >= -85) levelDbm = SIGNAL_STRENGTH_GOOD;
704 else if (cdmaDbm >= -95) levelDbm = SIGNAL_STRENGTH_MODERATE;
705 else if (cdmaDbm >= -100) levelDbm = SIGNAL_STRENGTH_POOR;
706 else levelDbm = SIGNAL_STRENGTH_NONE_OR_UNKNOWN;
715 int level = (levelDbm < levelEcio) ? levelDbm : levelEcio;