Home
last modified time | relevance | path

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

/packages/apps/Messaging/src/com/android/messaging/util/
DConnectivityUtil.java211 int levelEcio; in getCdmaLevel() local
218 if (cdmaEcio >= -90) levelEcio = SIGNAL_STRENGTH_GREAT; in getCdmaLevel()
219 else if (cdmaEcio >= -110) levelEcio = SIGNAL_STRENGTH_GOOD; in getCdmaLevel()
220 else if (cdmaEcio >= -130) levelEcio = SIGNAL_STRENGTH_MODERATE; in getCdmaLevel()
221 else if (cdmaEcio >= -150) levelEcio = SIGNAL_STRENGTH_POOR; in getCdmaLevel()
222 else levelEcio = SIGNAL_STRENGTH_NONE_OR_UNKNOWN; in getCdmaLevel()
223 final int level = (levelDbm < levelEcio) ? levelDbm : levelEcio; in getCdmaLevel()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetPhoneState.java297 int levelEcio = 0; in getPhoneStateListener()
310 if (cdmaEcio >= -90) levelEcio = 4; in getPhoneStateListener()
311 else if (cdmaEcio >= -110) levelEcio = 3; in getPhoneStateListener()
312 else if (cdmaEcio >= -130) levelEcio = 2; in getPhoneStateListener()
313 else if (cdmaEcio >= -150) levelEcio = 1; in getPhoneStateListener()
314 else levelEcio = 0; in getPhoneStateListener()
316 cdmaIconLevel = (levelDbm < levelEcio) ? levelDbm : levelEcio; in getPhoneStateListener()