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

Commit 24797eb1 authored by Daniel Bright's avatar Daniel Bright Committed by Automerger Merge Worker
Browse files

Merge "Allows APN to be unthrottled through an indication" am: 7bfe3131 am:...

Merge "Allows APN to be unthrottled through an indication" am: 7bfe3131 am: 0c8bf2df am: f6282fb2 am: 6d034c6c

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1479416

Change-Id: I2bddcebc0413aac48cec80b30a16a9b28dd7be92
parents 8bdc3db2 6d034c6c
Loading
Loading
Loading
Loading
+13 −0
Original line number Original line Diff line number Diff line
@@ -40,4 +40,17 @@ interface IRadioIndication extends @1.5::IRadioIndication {
     *        3. Unsolicited disconnect from either modem or network side.
     *        3. Unsolicited disconnect from either modem or network side.
     */
     */
    oneway dataCallListChanged_1_6(RadioIndicationType type, vec<SetupDataCallResult> dcList);
    oneway dataCallListChanged_1_6(RadioIndicationType type, vec<SetupDataCallResult> dcList);

    /**
     * The modem can explicitly set SetupDataCallResult::suggestedRetryTime after a failure in
     * IRadio@1.6::SetupDataCall. During that time, no new calls are allowed to
     * IRadio@1.6::SetupDataCall that use the same APN.
     *
     * When IRadioIndication@1.6::unthrottleApn is sent, AOSP will no longer throttle calls
     * to IRadio@1.6::SetupDataCall for the given APN.
     *
     * @param type Type of radio indication
     * @param apn Apn to unthrottle
     */
    oneway unthrottleApn(RadioIndicationType type, string apn);
};
};
+3 −0
Original line number Original line Diff line number Diff line
@@ -808,6 +808,9 @@ class RadioIndication_v1_6 : public ::android::hardware::radio::V1_6::IRadioIndi
            RadioIndicationType type,
            RadioIndicationType type,
            const hidl_vec<::android::hardware::radio::V1_6::SetupDataCallResult>& dcList);
            const hidl_vec<::android::hardware::radio::V1_6::SetupDataCallResult>& dcList);


    Return<void> unthrottleApn(RadioIndicationType type,
                               const ::android::hardware::hidl_string& apn);

    /* 1.5 Api */
    /* 1.5 Api */
    Return<void> uiccApplicationsEnablementChanged(RadioIndicationType type, bool enabled);
    Return<void> uiccApplicationsEnablementChanged(RadioIndicationType type, bool enabled);


+5 −0
Original line number Original line Diff line number Diff line
@@ -25,6 +25,11 @@ Return<void> RadioIndication_v1_6::dataCallListChanged_1_6(
    return Void();
    return Void();
}
}


Return<void> RadioIndication_v1_6::unthrottleApn(RadioIndicationType /*type*/,
                                                 const ::android::hardware::hidl_string& /*apn*/) {
    return Void();
}

/* 1.5 Apis */
/* 1.5 Apis */
Return<void> RadioIndication_v1_6::uiccApplicationsEnablementChanged(RadioIndicationType /*type*/,
Return<void> RadioIndication_v1_6::uiccApplicationsEnablementChanged(RadioIndicationType /*type*/,
                                                                     bool /*enabled*/) {
                                                                     bool /*enabled*/) {