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

Commit 8d463016 authored by Nathan Harold's avatar Nathan Harold Committed by android-build-merger
Browse files

Merge "Expose RSSI as GSM RAT-specific Signal Strength" am: aaab62e3 am:...

Merge "Expose RSSI as GSM RAT-specific Signal Strength" am: aaab62e3 am: 062a8b74 am: 2ab574f5
am: 5eade6a7

Change-Id: I70c4666c56fe558881918502fb6c24faebae84de
parents 5c0b9dd1 5eade6a7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -44328,6 +44328,7 @@ package android.telephony {
    method public int getBitErrorRate();
    method public int getDbm();
    method @IntRange(from=android.telephony.CellSignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN, to=android.telephony.CellSignalStrength.SIGNAL_STRENGTH_GREAT) public int getLevel();
    method public int getRssi();
    method public int getTimingAdvance();
    method public void writeToParcel(android.os.Parcel, int);
    field @NonNull public static final android.os.Parcelable.Creator<android.telephony.CellSignalStrengthGsm> CREATOR;
+3 −4
Original line number Diff line number Diff line
@@ -143,7 +143,7 @@ public final class CellSignalStrengthGsm extends CellSignalStrength implements P
    }

    /**
     * Get the signal strength as dBm
     * Get the signal strength as dBm.
     */
    @Override
    public int getDbm() {
@@ -163,18 +163,17 @@ public final class CellSignalStrengthGsm extends CellSignalStrength implements P
    }

    /**
     * Return the Received Signal Strength Indicator
     * Return the Received Signal Strength Indicator.
     *
     * @return the RSSI in dBm (-113, -51) or
     *         {@link android.telephony.CellInfo#UNAVAILABLE UNAVAILABLE}.
     * @hide
     */
    public int getRssi() {
        return mRssi;
    }

    /**
     * Return the Bit Error Rate
     * Return the Bit Error Rate.
     *
     * @return the bit error rate (0-7, 99) as defined in TS 27.007 8.5 or
     *         {@link android.telephony.CellInfo#UNAVAILABLE UNAVAILABLE}.