Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 22c03728 authored by Jordan Liu's avatar Jordan Liu Committed by android-build-merger
Browse files

Merge "IMS: Add new APIs for call barring operations" am: c1c29dbf am: 1468d0f7

am: 124570a1

Change-Id: I1b18caa414e9a18d26d8b0151f6500c3d4fbe3ed
parents 9c829527 124570a1
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -52,6 +52,15 @@ public class ImsUtImplBase extends IImsUt.Stub {
        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.
     */
@@ -116,6 +125,15 @@ public class ImsUtImplBase extends IImsUt.Stub {
        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.
     */
+12 −0
Original line number Diff line number Diff line
@@ -108,6 +108,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}.
@@ -146,6 +152,12 @@ public interface ImsUtInterface {
    public void updateCallBarring(int cbType, int action,
            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.
     */
+11 −0
Original line number Diff line number Diff line
@@ -111,4 +111,15 @@ interface IImsUt {
     * Sets the 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);
}