Loading telephony/java/android/telephony/SignalStrength.java +3 −3 Original line number Original line Diff line number Diff line Loading @@ -82,7 +82,7 @@ public class SignalStrength implements Parcelable { private int mLteRsrq; private int mLteRsrq; private int mLteRssnr; private int mLteRssnr; private int mLteCqi; private int mLteCqi; private int mTdScdmaRscp; private int mTdScdmaRscp; // Valid values are -24...-120dBm or INVALID if unknown private int mWcdmaSignalStrength; private int mWcdmaSignalStrength; private int mWcdmaRscpAsu; // the WCDMA RSCP in ASU as reported from the HAL private int mWcdmaRscpAsu; // the WCDMA RSCP in ASU as reported from the HAL private int mWcdmaRscp; // the WCDMA RSCP in dBm private int mWcdmaRscp; // the WCDMA RSCP in dBm Loading Loading @@ -396,8 +396,8 @@ public class SignalStrength implements Parcelable { mLteRssnr = ((mLteRssnr >= -200) && (mLteRssnr <= 300)) ? mLteRssnr mLteRssnr = ((mLteRssnr >= -200) && (mLteRssnr <= 300)) ? mLteRssnr : SignalStrength.INVALID; : SignalStrength.INVALID; mTdScdmaRscp = ((mTdScdmaRscp >= 25) && (mTdScdmaRscp <= 120)) mTdScdmaRscp = ((mTdScdmaRscp >= 0) && (mTdScdmaRscp <= 96)) ? -mTdScdmaRscp : SignalStrength.INVALID; ? (mTdScdmaRscp - 120) : SignalStrength.INVALID; // Cqi no change // Cqi no change if (DBG) log("Signal after validate=" + this); if (DBG) log("Signal after validate=" + this); } } Loading Loading
telephony/java/android/telephony/SignalStrength.java +3 −3 Original line number Original line Diff line number Diff line Loading @@ -82,7 +82,7 @@ public class SignalStrength implements Parcelable { private int mLteRsrq; private int mLteRsrq; private int mLteRssnr; private int mLteRssnr; private int mLteCqi; private int mLteCqi; private int mTdScdmaRscp; private int mTdScdmaRscp; // Valid values are -24...-120dBm or INVALID if unknown private int mWcdmaSignalStrength; private int mWcdmaSignalStrength; private int mWcdmaRscpAsu; // the WCDMA RSCP in ASU as reported from the HAL private int mWcdmaRscpAsu; // the WCDMA RSCP in ASU as reported from the HAL private int mWcdmaRscp; // the WCDMA RSCP in dBm private int mWcdmaRscp; // the WCDMA RSCP in dBm Loading Loading @@ -396,8 +396,8 @@ public class SignalStrength implements Parcelable { mLteRssnr = ((mLteRssnr >= -200) && (mLteRssnr <= 300)) ? mLteRssnr mLteRssnr = ((mLteRssnr >= -200) && (mLteRssnr <= 300)) ? mLteRssnr : SignalStrength.INVALID; : SignalStrength.INVALID; mTdScdmaRscp = ((mTdScdmaRscp >= 25) && (mTdScdmaRscp <= 120)) mTdScdmaRscp = ((mTdScdmaRscp >= 0) && (mTdScdmaRscp <= 96)) ? -mTdScdmaRscp : SignalStrength.INVALID; ? (mTdScdmaRscp - 120) : SignalStrength.INVALID; // Cqi no change // Cqi no change if (DBG) log("Signal after validate=" + this); if (DBG) log("Signal after validate=" + this); } } Loading