Performs the bulk of the work of: 1) Moving the old MMTel APIs to a hidden .compat namespace to support older vendor versions of the code. 2) Replace the compat MMTel APIs with the new ImsService APIs and integrate them into existing code. This is one of two CLs, this CL integrates the new APIs, the next CL creates the compat layer in telephony to translate the .compat APIs to the new APIs to allow Telephony to work with older versions of the API. Before commit, the corresponding vendor changes will have to be submitted as well. Bug: 63987047 Test: Telephony Unit tests Merged-In: Icc9ecfdad000f42399beeac142083e62962c12d3 Change-Id: Icc9ecfdad000f42399beeac142083e62962c12d3
33 lines
1.2 KiB
Plaintext
33 lines
1.2 KiB
Plaintext
/*
|
|
* Copyright (c) 2017 The Android Open Source Project
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
package com.android.ims.internal;
|
|
|
|
import com.android.ims.internal.IImsFeatureStatusCallback;
|
|
import com.android.ims.internal.IImsMMTelFeature;
|
|
import com.android.ims.internal.IImsRcsFeature;
|
|
|
|
/**
|
|
* See ImsService and MMTelFeature for more information.
|
|
* {@hide}
|
|
*/
|
|
interface IImsServiceController {
|
|
IImsMMTelFeature createEmergencyMMTelFeature(int slotId, in IImsFeatureStatusCallback c);
|
|
IImsMMTelFeature createMMTelFeature(int slotId, in IImsFeatureStatusCallback c);
|
|
IImsRcsFeature createRcsFeature(int slotId, in IImsFeatureStatusCallback c);
|
|
void removeImsFeature(int slotId, int featureType, in IImsFeatureStatusCallback c);
|
|
}
|