Home
last modified time | relevance | path

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

/packages/apps/Messaging/src/com/android/messaging/util/
DConnectivityUtil.java210 int levelDbm; in getCdmaLevel() local
212 if (cdmaDbm >= -75) levelDbm = SIGNAL_STRENGTH_GREAT; in getCdmaLevel()
213 else if (cdmaDbm >= -85) levelDbm = SIGNAL_STRENGTH_GOOD; in getCdmaLevel()
214 else if (cdmaDbm >= -95) levelDbm = SIGNAL_STRENGTH_MODERATE; in getCdmaLevel()
215 else if (cdmaDbm >= -100) levelDbm = SIGNAL_STRENGTH_POOR; in getCdmaLevel()
216 else levelDbm = 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.java309 int levelDbm = 0; in getPhoneStateListener()
316 if (cdmaDbm >= -75) levelDbm = 4; in getPhoneStateListener()
317 else if (cdmaDbm >= -85) levelDbm = 3; in getPhoneStateListener()
318 else if (cdmaDbm >= -95) levelDbm = 2; in getPhoneStateListener()
319 else if (cdmaDbm >= -100) levelDbm = 1; in getPhoneStateListener()
320 else levelDbm = 0; in getPhoneStateListener()
329 cdmaIconLevel = (levelDbm < levelEcio) ? levelDbm : levelEcio; in getPhoneStateListener()