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

Commit 6b8c694c authored by Tim Lin's avatar Tim Lin Committed by Automerger Merge Worker
Browse files

dump last response of setRadioPower am: 97598664 am: 8162e582 am: a13b3c38 am: bb4208a6

Original change: https://android-review.googlesource.com/c/platform/frameworks/opt/telephony/+/1475859

Change-Id: Icaab70b3f6c29496b99bc2773845f21af8bc4fe5
parents 2333d2a5 bb4208a6
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -237,6 +237,8 @@ public class RIL extends BaseCommands implements CommandsInterface {

    Object[] mLastNITZTimeInfo;

    int mLastRadioPowerResult = RadioError.NONE;

    // When we are testing emergency calls using ril.test.emergencynumber, this will trigger test
    // ECbM when the call is ended.
    @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.R, trackingBug = 170729553)
@@ -6692,6 +6694,7 @@ public class RIL extends BaseCommands implements CommandsInterface {
            }
        }
        pw.println(" mLastNITZTimeInfo=" + Arrays.toString(mLastNITZTimeInfo));
        pw.println(" mLastRadioPowerResult=" + mLastRadioPowerResult);
        pw.println(" mTestingEmergencyCall=" + mTestingEmergencyCall.get());
        mClientWakelockTracker.dumpClientRequestTracker(pw);
    }
+3 −0
Original line number Diff line number Diff line
@@ -480,6 +480,7 @@ public class RadioResponse extends IRadioResponse.Stub {
     */
    public void setRadioPowerResponse(RadioResponseInfo responseInfo) {
        responseVoid(responseInfo);
        mRil.mLastRadioPowerResult = responseInfo.error;
    }

    /**
@@ -2684,6 +2685,7 @@ public class RadioResponse extends IRadioResponse.Stub {
     */
    public void setRadioPowerResponse_1_5(RadioResponseInfo info) {
        responseVoid(info);
        mRil.mLastRadioPowerResult = info.error;
    }

    /**
@@ -2691,6 +2693,7 @@ public class RadioResponse extends IRadioResponse.Stub {
     */
    public void setRadioPowerResponse_1_6(android.hardware.radio.V1_6.RadioResponseInfo info) {
        responseVoid_1_6(info);
        mRil.mLastRadioPowerResult = info.error;
    }

    /**