Home
last modified time | relevance | path

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

/packages/apps/Messaging/src/com/android/messaging/util/
DConnectivityUtil.java233 int levelEvdoSnr; in getEvdoLevel() local
239 if (evdoSnr >= 7) levelEvdoSnr = SIGNAL_STRENGTH_GREAT; in getEvdoLevel()
240 else if (evdoSnr >= 5) levelEvdoSnr = SIGNAL_STRENGTH_GOOD; in getEvdoLevel()
241 else if (evdoSnr >= 3) levelEvdoSnr = SIGNAL_STRENGTH_MODERATE; in getEvdoLevel()
242 else if (evdoSnr >= 1) levelEvdoSnr = SIGNAL_STRENGTH_POOR; in getEvdoLevel()
243 else levelEvdoSnr = SIGNAL_STRENGTH_NONE_OR_UNKNOWN; in getEvdoLevel()
244 final int level = (levelEvdoDbm < levelEvdoSnr) ? levelEvdoDbm : levelEvdoSnr; in getEvdoLevel()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetPhoneState.java327 int levelEvdoSnr = 0; in getPhoneStateListener()
336 if (evdoSnr > 7) levelEvdoSnr = 4; in getPhoneStateListener()
337 else if (evdoSnr > 5) levelEvdoSnr = 3; in getPhoneStateListener()
338 else if (evdoSnr > 3) levelEvdoSnr = 2; in getPhoneStateListener()
339 else if (evdoSnr > 1) levelEvdoSnr = 1; in getPhoneStateListener()
340 else levelEvdoSnr = 0; in getPhoneStateListener()
342 evdoIconLevel = (levelEvdoEcio < levelEvdoSnr) ? levelEvdoEcio : levelEvdoSnr; in getPhoneStateListener()