Home
last modified time | relevance | path

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

/packages/apps/Messaging/src/com/android/messaging/util/
DConnectivityUtil.java208 final int cdmaDbm = signalStrength.getCdmaDbm(); 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()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetPhoneState.java300 int cdmaDbm = signalStrength.getCdmaDbm(); in getPhoneStateListener()
303 if (cdmaDbm >= -75) levelDbm = 4; in getPhoneStateListener()
304 else if (cdmaDbm >= -85) levelDbm = 3; in getPhoneStateListener()
305 else if (cdmaDbm >= -95) levelDbm = 2; in getPhoneStateListener()
306 else if (cdmaDbm >= -100) levelDbm = 1; in getPhoneStateListener()