Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cb48c485 authored by Jack Yu's avatar Jack Yu Committed by android-build-merger
Browse files

Merge "Expose getters for RSRP, RSRQ, RSSNR, and CQI in CellSignalStrengthLte....

Merge "Expose getters for RSRP, RSRQ, RSSNR, and CQI in CellSignalStrengthLte. Regenerate api accordingly. BUG: 32609966 Test: CTS Testing new API" am: 4469e48d am: 3cfa5107 am: d517ea75
am: 9b968a16

Change-Id: Iaba6209cd6ac5914fb798cbf7003fa1037e2f91f
parents 3a7c696f 9b968a16
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -37252,8 +37252,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);
+4 −0
Original line number Diff line number Diff line
@@ -40330,8 +40330,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);
+4 −0
Original line number Diff line number Diff line
@@ -37342,8 +37342,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);
+16 −2
Original line number Diff line number Diff line
@@ -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
     */