1 /*
2  * Copyright (c) 2017 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 
17 package android.telephony.ims.aidl;
18 
19 import android.telephony.ims.aidl.IImsMmTelFeature;
20 import android.telephony.ims.aidl.IImsRcsFeature;
21 import android.telephony.ims.aidl.IImsConfig;
22 import android.telephony.ims.aidl.IImsRegistration;
23 import android.telephony.ims.aidl.IImsServiceControllerListener;
24 import android.telephony.ims.stub.ImsFeatureConfiguration;
25 
26 import com.android.ims.internal.IImsFeatureStatusCallback;
27 
28 /**
29  * See ImsService and MmTelFeature for more information.
30  * {@hide}
31  */
32 interface IImsServiceController {
setListener(IImsServiceControllerListener l)33     void setListener(IImsServiceControllerListener l);
createMmTelFeature(int slotId, in IImsFeatureStatusCallback c)34     IImsMmTelFeature createMmTelFeature(int slotId, in IImsFeatureStatusCallback c);
createRcsFeature(int slotId, in IImsFeatureStatusCallback c)35     IImsRcsFeature createRcsFeature(int slotId, in IImsFeatureStatusCallback c);
querySupportedImsFeatures()36     ImsFeatureConfiguration querySupportedImsFeatures();
37     // Synchronous call to ensure the ImsService is ready before continuing with feature creation.
notifyImsServiceReadyForFeatureCreation()38     void notifyImsServiceReadyForFeatureCreation();
removeImsFeature(int slotId, int featureType, in IImsFeatureStatusCallback c)39     void removeImsFeature(int slotId, int featureType, in IImsFeatureStatusCallback c);
getConfig(int slotId)40     IImsConfig getConfig(int slotId);
getRegistration(int slotId)41     IImsRegistration getRegistration(int slotId);
enableIms(int slotId)42     oneway void enableIms(int slotId);
disableIms(int slotId)43     oneway void disableIms(int slotId);
44 }
45