Merge "Expose getters for RSRP, RSRQ, RSSNR, and CQI in CellSignalStrengthLte. Regenerate api accordingly. BUG: 32609966 Test: CTS Testing new API"

This commit is contained in:
Jack Yu
2016-11-11 19:41:46 +00:00
committed by Gerrit Code Review
4 changed files with 28 additions and 2 deletions

View File

@@ -36864,8 +36864,12 @@ package android.telephony {
method public int describeContents();
method public boolean equals(java.lang.Object);
method public int getAsuLevel();
method public int getCqi();
method public int getDbm();
method public int getLevel();
method public int getRsrp();
method public int getRsrq();
method public int getRssnr();
method public int getTimingAdvance();
method public int hashCode();
method public void writeToParcel(android.os.Parcel, int);

View File

@@ -39799,8 +39799,12 @@ package android.telephony {
method public int describeContents();
method public boolean equals(java.lang.Object);
method public int getAsuLevel();
method public int getCqi();
method public int getDbm();
method public int getLevel();
method public int getRsrp();
method public int getRsrq();
method public int getRssnr();
method public int getTimingAdvance();
method public int hashCode();
method public void writeToParcel(android.os.Parcel, int);

View File

@@ -36941,8 +36941,12 @@ package android.telephony {
method public int describeContents();
method public boolean equals(java.lang.Object);
method public int getAsuLevel();
method public int getCqi();
method public int getDbm();
method public int getLevel();
method public int getRsrp();
method public int getRsrq();
method public int getRssnr();
method public int getTimingAdvance();
method public int hashCode();
method public void writeToParcel(android.os.Parcel, int);

View File

@@ -168,19 +168,33 @@ public final class CellSignalStrengthLte extends CellSignalStrength implements P
}
/**
* @hide
* Get reference signal received quality
*/
public int getRsrq() {
return mRsrq;
}
/**
* @hide
* Get reference signal signal-to-noise ratio
*/
public int getRssnr() {
return mRssnr;
}
/**
* Get reference signal received power
*/
public int getRsrp() {
return mRsrp;
}
/**
* Get channel quality indicator
*/
public int getCqi() {
return mCqi;
}
/**
* Get signal strength as dBm
*/