diff options
author | Michele Berionne <mberionne@google.com> | 2018-11-27 19:01:59 -0800 |
---|---|---|
committer | Michele Berionne <mberionne@google.com> | 2019-01-18 22:37:21 +0000 |
commit | ef9ab4a065c1acfc535eb6949f1a0c55cf0168a3 (patch) | |
tree | 24586ed87a0e77778bc8061078cad35cfd11b279 /radio/1.4/IRadioResponse.hal | |
parent | 312dce0ec099c34e3ed84bacca75c1ea62161b93 (diff) | |
download | platform_hardware_interfaces-ef9ab4a065c1acfc535eb6949f1a0c55cf0168a3.tar.gz platform_hardware_interfaces-ef9ab4a065c1acfc535eb6949f1a0c55cf0168a3.tar.bz2 platform_hardware_interfaces-ef9ab4a065c1acfc535eb6949f1a0c55cf0168a3.zip |
Carrier restriction enhancements for Android Q
Add support for dual SIM to carrier restrictions.
Add support to exclude specific carriers in the list of carrier
restrictions.
Bug: 120313541
Test: Created test application to verify correct functionality.
Change-Id: Ib05267fda5f2fd0b8821a5812fcf47d460e60a2b
Merged-In: Ib05267fda5f2fd0b8821a5812fcf47d460e60a2b
Diffstat (limited to 'radio/1.4/IRadioResponse.hal')
-rw-r--r-- | radio/1.4/IRadioResponse.hal | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/radio/1.4/IRadioResponse.hal b/radio/1.4/IRadioResponse.hal index a58a5c1a12..77aad03730 100644 --- a/radio/1.4/IRadioResponse.hal +++ b/radio/1.4/IRadioResponse.hal @@ -18,6 +18,13 @@ package android.hardware.radio@1.4; import @1.0::RadioResponseInfo; import @1.3::IRadioResponse; +import @1.4::CardStatus; +import @1.4::CarrierRestrictionsWithPriority; +import @1.4::CellInfo; +import @1.4::DataRegStateResult; +import @1.4::RadioAccessFamily; +import @1.4::SetupDataCallResult; +import @1.4::SimLockMultiSimPolicy; /** * Interface declaring response functions to solicited radio requests. @@ -181,4 +188,31 @@ interface IRadioResponse extends @1.3::IRadioResponse { * RadioError:SIM_ABSENT */ oneway setupDataCallResponse_1_4(RadioResponseInfo info, SetupDataCallResult dcResponse); + + /** + * @param info Response info struct containing response type, serial no. and error + * + * Valid errors returned: + * RadioError:NONE + * RadioError:RADIO_NOT_AVAILABLE + * RadioError:INVALID_ARGUMENTS + * RadioError:REQUEST_NOT_SUPPORTED + */ + oneway setAllowedCarriersResponse_1_4(RadioResponseInfo info); + + /** + * Expected modem behavior: + * Return list of allowed carriers, and if all carriers are allowed. + * + * @param info Response info struct containing response type, serial no. and error + * @param carriers Carrier restriction information. + * @param multiSimPolicy Policy used for devices with multiple SIM cards. + * + * Valid errors returned: + * RadioError:NONE + * RadioError:RADIO_NOT_AVAILABLE + * RadioError:REQUEST_NOT_SUPPORTED + */ + oneway getAllowedCarriersResponse_1_4(RadioResponseInfo info, + CarrierRestrictionsWithPriority carriers, SimLockMultiSimPolicy multiSimPolicy); }; |