diff options
author | Benergy Meenan Ravuri <bravuri@codeaurora.org> | 2016-10-17 12:48:29 +0530 |
---|---|---|
committer | Ravi Paluri <rpaluri@codeaurora.org> | 2017-11-30 18:03:12 +0530 |
commit | f6e372b1fbc0055c4cba3486a73ad805a54ed01a (patch) | |
tree | 52dcaab5c38910624a784f9d54cd61f921decda4 /telephony/java/com/android/ims/ImsUtInterface.java | |
parent | b7dc3a3b21217c752cdffcdaa0a788cacb2861bd (diff) |
IMS: Add new APIs for call barring operations
Add below APIs to perform call barring operations for a
specified service class.
queryCallBarringForServiceClass
updateCallBarringForServiceClass
Test: Manual
Bug: 37559543
Change-Id: I438d3527f0e4b2c09de3f7e44e6b80df82b915ae
Diffstat (limited to 'telephony/java/com/android/ims/ImsUtInterface.java')
-rw-r--r-- | telephony/java/com/android/ims/ImsUtInterface.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/telephony/java/com/android/ims/ImsUtInterface.java b/telephony/java/com/android/ims/ImsUtInterface.java index 5984e789a363..250371f0f5c2 100644 --- a/telephony/java/com/android/ims/ImsUtInterface.java +++ b/telephony/java/com/android/ims/ImsUtInterface.java @@ -109,6 +109,12 @@ public interface ImsUtInterface { public void queryCallBarring(int cbType, Message result); /** + * Retrieves the configuration of the call barring for specified service class. + * The return value of ((AsyncResult)result.obj) is an array of {@link ImsSsInfo}. + */ + public void queryCallBarring(int cbType, Message result, int serviceClass); + + /** * Retrieves the configuration of the call forward. * The return value of ((AsyncResult)result.obj) is an array of {@link ImsCallForwardInfo}. */ @@ -147,6 +153,12 @@ public interface ImsUtInterface { Message result, String[] barrList); /** + * Modifies the configuration of the call barring for specified service class. + */ + public void updateCallBarring(int cbType, int action, Message result, + String[] barrList, int serviceClass); + + /** * Modifies the configuration of the call forward. */ public void updateCallForward(int action, int condition, String number, |