Debian Codegraph @

telephony/java/com/android/ims/internal/IImsMMTelFeature.aidl

raw
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 com.android.ims.internal;
18
19 import android.app.PendingIntent;
20
21 import android.telephony.ims.ImsCallProfile;
22 import com.android.ims.internal.IImsCallSession;
23 import com.android.ims.internal.IImsConfig;
24 import com.android.ims.internal.IImsEcbm;
25 import com.android.ims.internal.IImsMultiEndpoint;
26 import com.android.ims.internal.IImsRegistrationListener;
27 import com.android.ims.internal.IImsUt;
28
29 import android.os.Message;
30
31 /**
32 * See MMTelFeature for more information.
33 * {@hide}
34 */
35 interface IImsMMTelFeature {
36 int startSession(in PendingIntent incomingCallIntent,
37 in IImsRegistrationListener listener);
38 void endSession(int sessionId);
39 boolean isConnected(int callSessionType, int callType);
40 boolean isOpened();
41 int getFeatureStatus();
42 void addRegistrationListener(in IImsRegistrationListener listener);
43 void removeRegistrationListener(in IImsRegistrationListener listener);
44 ImsCallProfile createCallProfile(int sessionId, int callSessionType, int callType);
45 IImsCallSession createCallSession(int sessionId, in ImsCallProfile profile);
46 IImsCallSession getPendingCallSession(int sessionId, String callId);
47 IImsUt getUtInterface();
48 IImsConfig getConfigInterface();
49 void turnOnIms();
50 void turnOffIms();
51 IImsEcbm getEcbmInterface();
52 void setUiTTYMode(int uiTtyMode, in Message onComplete);
53 IImsMultiEndpoint getMultiEndpointInterface();
54 }