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

Commit 1a7eae77 authored by Sanket Padawe's avatar Sanket Padawe
Browse files

Add missing function to telephony HIDL interface.

+ fix some comments as per specs.

Test: No test
Bug: 32020264
Change-Id: If8e83a7465e608e28f7e149025da5ede30924602
parent 022bb405
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -382,7 +382,7 @@ interface IRadio {
     *        override the one in the profile. empty string indicates no APN overrride.
     *        override the one in the profile. empty string indicates no APN overrride.
     * @param user is the username for APN, or empty string
     * @param user is the username for APN, or empty string
     * @param password is the password for APN, or empty string
     * @param password is the password for APN, or empty string
     * @param authType is the PAP / CHAP auth type. Values:
     * @param authType is the PAP / CHAP auth type.
     * @param protocol is the connection type to request must be one of the
     * @param protocol is the connection type to request must be one of the
     *        PDP_type values in TS 27.007 section 10.1.1.
     *        PDP_type values in TS 27.007 section 10.1.1.
     *        For example, "IP", "IPV6", "IPV4V6", or "PPP".
     *        For example, "IP", "IPV6", "IPV4V6", or "PPP".
@@ -1272,7 +1272,7 @@ interface IRadio {
     * @param protocol is the connection type to request must be one of the
     * @param protocol is the connection type to request must be one of the
     *        PDP_type values in TS 27.007 section 10.1.1.
     *        PDP_type values in TS 27.007 section 10.1.1.
     *        For example, "IP", "IPV6", "IPV4V6", or "PPP".
     *        For example, "IP", "IPV6", "IPV4V6", or "PPP".
     * @param authType is the PAP / CHAP auth type. Values:
     * @param authType is the PAP / CHAP auth type.
     * @param user is the username for APN, or empty string
     * @param user is the username for APN, or empty string
     * @param password is the password for APN, or empty string
     * @param password is the password for APN, or empty string
     *
     *
+9 −0
Original line number Original line Diff line number Diff line
@@ -1934,4 +1934,13 @@ interface IRadioResponse {
     */
     */
    oneway getAllowedCarriersResponse(RadioResponseInfo info, bool allAllowed,
    oneway getAllowedCarriersResponse(RadioResponseInfo info, bool allAllowed,
            CarrierRestrictions carriers);
            CarrierRestrictions carriers);

    /*
     * Acknowldege the receipt of radio request sent to the vendor. This must be sent only for
     * radio request which take long time to respond.
     * For more details, refer https://source.android.com/devices/tech/connect/ril.html
     *
     * @param serial Serial no. of the request whose acknowledgement is sent.
     */
    oneway requestAcknowledgement(int32_t serial);
};
};
+5 −4
Original line number Original line Diff line number Diff line
@@ -1126,16 +1126,17 @@ struct Dial {
};
};


struct GsmSignalStrength {
struct GsmSignalStrength {
    uint32_t signalStrength;              // Valid values are (0-31, 99) as defined in
    uint32_t signalStrength;              // Valid values are (0-61, 99) as defined in
                                          // TS 27.007 8.5
                                          // TS 27.007 8.69
    uint32_t bitErrorRate;                // bit error rate (0-7, 99) as defined in TS 27.007 8.5
    uint32_t bitErrorRate;                // bit error rate (0-7, 99) as defined in TS 27.007 8.5
    int32_t timingAdvance;                // Timing Advance in bit periods. 1 bit period = 48/13 us.
    int32_t timingAdvance;                // Timing Advance in bit periods. 1 bit period = 48/13 us.
                                          // INT_MAX denotes invalid value
                                          // INT_MAX denotes invalid value
};
};


struct WcdmaSignalStrength{
struct WcdmaSignalStrength{
    int32_t signalStrength;               // Valid values are (0-31, 99) as defined in TS 27.007 8.5
    int32_t signalStrength;               // Valid values are (0-96, 99) as defined in
    int32_t bitErrorRate;                 // bit error rate (0-7, 99) as defined in TS 27.007 8.5
                                          // TS 27.007 8.69
    int32_t bitErrorRate;                 // bit error rate (0-49, 99) as defined in TS 27.007 8.69
};
};


struct CdmaSignalStrength {
struct CdmaSignalStrength {