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

Commit ebb82d1f authored by Eric Schwarzenbach's avatar Eric Schwarzenbach
Browse files

Add skeleton implementation for new link capacity estimate.

Also updates RadioResponse to handle responses for setting reporting
criteria.

Bug: 70638175
Test: n/a
Change-Id: I2fd10240d35d23bd5013845c7dd31c697425a2d9
parent dee5f9e2
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -233,6 +233,14 @@ public class RadioIndication extends IRadioIndication.Stub {
        }
    }

    /**
     * Indicates current link capacity estimate.
     */
    public void currentLinkCapacityEstimate(int indicationType,
                                            android.hardware.radio.V1_2.LinkCapacityEstimate lce) {
      // TODO(b/70638175) Implement method.
    }

    public void dataCallListChanged(int indicationType, ArrayList<SetupDataCallResult> dcList) {
        mRil.processIndication(indicationType);

+14 −0
Original line number Diff line number Diff line
@@ -1227,6 +1227,20 @@ public class RadioResponse extends IRadioResponse.Stub {
        responseVoid(responseInfo);
    }

    /**
     * @param responseInfo Response info struct containing response type, serial no. and error
     */
    public void setSignalStrengthReportingCriteriaResponse(RadioResponseInfo responseInfo) {
        responseVoid(responseInfo);
    }

    /**
     * @param responseInfo Response info struct containing response type, serial no. and error
     */
    public void setLinkCapacityReportingCriteriaResponse(RadioResponseInfo responseInfo) {
        responseVoid(responseInfo);
    }

    /**
     * @param responseInfo Response info struct containing response type, serial no. and error
     */