diff options
author | Daniel Bright <dbright@google.com> | 2020-11-06 05:04:14 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2020-11-06 05:04:14 +0000 |
commit | 7bfe3131a61491c511a38f9d21029ff39d3db2c8 (patch) | |
tree | 61f6eee30095942e1360deeebe33dc2bebc2d6c1 | |
parent | 2df6ba0ac23b2f3f0820dcf6f0c6e44330ca2021 (diff) | |
parent | 95db21de187ff7385499e1aedf481213f7398cce (diff) | |
download | platform_hardware_interfaces-7bfe3131a61491c511a38f9d21029ff39d3db2c8.tar.gz platform_hardware_interfaces-7bfe3131a61491c511a38f9d21029ff39d3db2c8.tar.bz2 platform_hardware_interfaces-7bfe3131a61491c511a38f9d21029ff39d3db2c8.zip |
Merge "Allows APN to be unthrottled through an indication"
-rw-r--r-- | radio/1.6/IRadioIndication.hal | 13 | ||||
-rw-r--r-- | radio/1.6/vts/functional/radio_hidl_hal_utils_v1_6.h | 3 | ||||
-rw-r--r-- | radio/1.6/vts/functional/radio_indication.cpp | 5 |
3 files changed, 21 insertions, 0 deletions
diff --git a/radio/1.6/IRadioIndication.hal b/radio/1.6/IRadioIndication.hal index d9aaa3838f..c135090947 100644 --- a/radio/1.6/IRadioIndication.hal +++ b/radio/1.6/IRadioIndication.hal @@ -40,4 +40,17 @@ interface IRadioIndication extends @1.5::IRadioIndication { * 3. Unsolicited disconnect from either modem or network side. */ 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); }; diff --git a/radio/1.6/vts/functional/radio_hidl_hal_utils_v1_6.h b/radio/1.6/vts/functional/radio_hidl_hal_utils_v1_6.h index 5682f11da4..f061c6027a 100644 --- a/radio/1.6/vts/functional/radio_hidl_hal_utils_v1_6.h +++ b/radio/1.6/vts/functional/radio_hidl_hal_utils_v1_6.h @@ -808,6 +808,9 @@ class RadioIndication_v1_6 : public ::android::hardware::radio::V1_6::IRadioIndi RadioIndicationType type, const hidl_vec<::android::hardware::radio::V1_6::SetupDataCallResult>& dcList); + Return<void> unthrottleApn(RadioIndicationType type, + const ::android::hardware::hidl_string& apn); + /* 1.5 Api */ Return<void> uiccApplicationsEnablementChanged(RadioIndicationType type, bool enabled); diff --git a/radio/1.6/vts/functional/radio_indication.cpp b/radio/1.6/vts/functional/radio_indication.cpp index 57ee873505..b353c821d8 100644 --- a/radio/1.6/vts/functional/radio_indication.cpp +++ b/radio/1.6/vts/functional/radio_indication.cpp @@ -25,6 +25,11 @@ Return<void> RadioIndication_v1_6::dataCallListChanged_1_6( return Void(); } +Return<void> RadioIndication_v1_6::unthrottleApn(RadioIndicationType /*type*/, + const ::android::hardware::hidl_string& /*apn*/) { + return Void(); +} + /* 1.5 Apis */ Return<void> RadioIndication_v1_6::uiccApplicationsEnablementChanged(RadioIndicationType /*type*/, bool /*enabled*/) { |