IImsUt.aidl revision f8458ff9d97f8961d67c41ee107129ecba873f36
1/* 2 * Copyright (c) 2013 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17package com.android.ims.internal; 18 19import android.os.Bundle; 20 21import com.android.ims.internal.IImsUtListener; 22 23/** 24 * Provides the Ut interface interworking to get/set the supplementary service configuration. 25 * 26 * {@hide} 27 */ 28interface IImsUt { 29 /** 30 * Closes the object. This object is not usable after being closed. 31 */ 32 void close(); 33 34 /** 35 * Retrieves the configuration of the call barring. 36 */ 37 int queryCallBarring(int cbType); 38 39 /** 40 * Retrieves the configuration of the call forward. 41 */ 42 int queryCallForward(int condition, String number); 43 44 /** 45 * Retrieves the configuration of the call waiting. 46 */ 47 int queryCallWaiting(); 48 49 /** 50 * Updates or retrieves the supplementary service configuration. 51 */ 52 int transact(in Bundle ssInfo); 53 54 /** 55 * Updates the configuration of the call barring. 56 */ 57 int updateCallBarring(int cbType, boolean enable); 58 59 /** 60 * Updates the configuration of the call forward. 61 */ 62 int updateCallForward(int action, int condition, String number, int timeSeconds); 63 64 /** 65 * Updates the configuration of the call waiting. 66 */ 67 int updateCallWaiting(boolean enable); 68 69 /** 70 * Sets the listener. 71 */ 72 void setListener(in IImsUtListener listener); 73} 74