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.java661 int levelDbm;
664 if (cdmaDbm >= -75) levelDbm = SIGNAL_STRENGTH_GREAT;
665 else if (cdmaDbm >= -85) levelDbm = SIGNAL_STRENGTH_GOOD;
666 else if (cdmaDbm >= -95) levelDbm = SIGNAL_STRENGTH_MODERATE;
667 else if (cdmaDbm >= -100) levelDbm = SIGNAL_STRENGTH_POOR;
668 else levelDbm = SIGNAL_STRENGTH_NONE_OR_UNKNOWN;
677 int level = (levelDbm < levelEcio) ? levelDbm : levelEcio;