Loading telephony/java/android/telephony/ims/stub/ImsUtImplBase.java +18 −0 Original line number Original line Diff line number Diff line Loading @@ -52,6 +52,15 @@ public class ImsUtImplBase extends IImsUt.Stub { return -1; return -1; } } /** * Retrieves the configuration of the call barring for specified service class. */ @Override public int queryCallBarringForServiceClass(int cbType, int serviceClass) throws RemoteException { return -1; } /** /** * Retrieves the configuration of the call forward. * Retrieves the configuration of the call forward. */ */ Loading Loading @@ -116,6 +125,15 @@ public class ImsUtImplBase extends IImsUt.Stub { return -1; return -1; } } /** * Updates the configuration of the call barring for specified service class. */ @Override public int updateCallBarringForServiceClass(int cbType, int action, String[] barrList, int serviceClass) throws RemoteException { return -1; } /** /** * Updates the configuration of the call forward. * Updates the configuration of the call forward. */ */ Loading telephony/java/com/android/ims/ImsUtInterface.java +12 −0 Original line number Original line Diff line number Diff line Loading @@ -108,6 +108,12 @@ public interface ImsUtInterface { */ */ public void queryCallBarring(int cbType, Message result); 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. * Retrieves the configuration of the call forward. * The return value of ((AsyncResult)result.obj) is an array of {@link ImsCallForwardInfo}. * The return value of ((AsyncResult)result.obj) is an array of {@link ImsCallForwardInfo}. Loading Loading @@ -146,6 +152,12 @@ public interface ImsUtInterface { public void updateCallBarring(int cbType, int action, public void updateCallBarring(int cbType, int action, Message result, String[] barrList); 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. * Modifies the configuration of the call forward. */ */ Loading telephony/java/com/android/ims/internal/IImsUt.aidl +11 −0 Original line number Original line Diff line number Diff line Loading @@ -111,4 +111,15 @@ interface IImsUt { * Sets the listener. * Sets the listener. */ */ void setListener(in IImsUtListener listener); void setListener(in IImsUtListener listener); /** * Retrieves the configuration of the call barring for specified service class. */ int queryCallBarringForServiceClass(int cbType, int serviceClass); /** * Updates the configuration of the call barring for specified service class. */ int updateCallBarringForServiceClass(int cbType, int action, in String[] barrList, int serviceClass); } } Loading
telephony/java/android/telephony/ims/stub/ImsUtImplBase.java +18 −0 Original line number Original line Diff line number Diff line Loading @@ -52,6 +52,15 @@ public class ImsUtImplBase extends IImsUt.Stub { return -1; return -1; } } /** * Retrieves the configuration of the call barring for specified service class. */ @Override public int queryCallBarringForServiceClass(int cbType, int serviceClass) throws RemoteException { return -1; } /** /** * Retrieves the configuration of the call forward. * Retrieves the configuration of the call forward. */ */ Loading Loading @@ -116,6 +125,15 @@ public class ImsUtImplBase extends IImsUt.Stub { return -1; return -1; } } /** * Updates the configuration of the call barring for specified service class. */ @Override public int updateCallBarringForServiceClass(int cbType, int action, String[] barrList, int serviceClass) throws RemoteException { return -1; } /** /** * Updates the configuration of the call forward. * Updates the configuration of the call forward. */ */ Loading
telephony/java/com/android/ims/ImsUtInterface.java +12 −0 Original line number Original line Diff line number Diff line Loading @@ -108,6 +108,12 @@ public interface ImsUtInterface { */ */ public void queryCallBarring(int cbType, Message result); 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. * Retrieves the configuration of the call forward. * The return value of ((AsyncResult)result.obj) is an array of {@link ImsCallForwardInfo}. * The return value of ((AsyncResult)result.obj) is an array of {@link ImsCallForwardInfo}. Loading Loading @@ -146,6 +152,12 @@ public interface ImsUtInterface { public void updateCallBarring(int cbType, int action, public void updateCallBarring(int cbType, int action, Message result, String[] barrList); 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. * Modifies the configuration of the call forward. */ */ Loading
telephony/java/com/android/ims/internal/IImsUt.aidl +11 −0 Original line number Original line Diff line number Diff line Loading @@ -111,4 +111,15 @@ interface IImsUt { * Sets the listener. * Sets the listener. */ */ void setListener(in IImsUtListener listener); void setListener(in IImsUtListener listener); /** * Retrieves the configuration of the call barring for specified service class. */ int queryCallBarringForServiceClass(int cbType, int serviceClass); /** * Updates the configuration of the call barring for specified service class. */ int updateCallBarringForServiceClass(int cbType, int action, in String[] barrList, int serviceClass); } }