summaryrefslogtreecommitdiff
path: root/telephony/java/com
diff options
context:
space:
mode:
authorDaniel Bright <dbright@google.com>2021-01-22 19:08:21 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-01-22 19:08:21 +0000
commite44156cfd608cea2b0c7b159b96d85968621186e (patch)
tree679a20cd50e8ade34b333f25d3651951404ae2d6 /telephony/java/com
parent972a78726b1a5584dbbd3364bee2fa89bf705dee (diff)
parentfa862bc4aa7f6b63f7e9289e97b9c7a77b54e611 (diff)
Merge "Add Radio Interface Capabilities"
Diffstat (limited to 'telephony/java/com')
-rw-r--r--telephony/java/com/android/internal/telephony/ITelephony.aidl8
-rw-r--r--telephony/java/com/android/internal/telephony/RILConstants.java1
2 files changed, 9 insertions, 0 deletions
diff --git a/telephony/java/com/android/internal/telephony/ITelephony.aidl b/telephony/java/com/android/internal/telephony/ITelephony.aidl
index f5662692d84b..053774241900 100644
--- a/telephony/java/com/android/internal/telephony/ITelephony.aidl
+++ b/telephony/java/com/android/internal/telephony/ITelephony.aidl
@@ -2280,6 +2280,14 @@ interface ITelephony {
CarrierBandwidth getCarrierBandwidth(int subId);
/**
+ * Checks whether the device supports the given capability on the radio interface.
+ *
+ * @param capability the name of the capability
+ * @return the availability of the capability
+ */
+ boolean isRadioInterfaceCapabilitySupported(String capability);
+
+ /**
* Thermal mitigation request to control functionalities at modem.
*
* @param subId the id of the subscription
diff --git a/telephony/java/com/android/internal/telephony/RILConstants.java b/telephony/java/com/android/internal/telephony/RILConstants.java
index 52f263fad695..76243a5799c3 100644
--- a/telephony/java/com/android/internal/telephony/RILConstants.java
+++ b/telephony/java/com/android/internal/telephony/RILConstants.java
@@ -520,6 +520,7 @@ public interface RILConstants {
int RIL_REQUEST_START_HANDOVER = 217;
int RIL_REQUEST_CANCEL_HANDOVER = 218;
int RIL_REQUEST_GET_SYSTEM_SELECTION_CHANNELS = 219;
+ int RIL_REQUEST_GET_HAL_DEVICE_CAPABILITIES = 220;
int RIL_REQUEST_SET_DATA_THROTTLING = 221;
int RIL_REQUEST_SET_ALLOWED_NETWORK_TYPE_BITMAP = 222;
int RIL_REQUEST_GET_ALLOWED_NETWORK_TYPE_BITMAP = 223;