Files
frameworks_base/telephony/java/com/android/ims/internal/IImsVideoCallCallback.aidl
Andrew Lee 752217bfc6 Aidl changes related to VideoCallProvider in Ims.
+ Added a getVideoCallProvider function in IImsCallSession
+ Added IImsVideoCallProvider aidl. This is used for communication
between Telephony and the ImsService. It is redundant with
IVideoCallProvider on some level, but see associated bug and comments
in the class for more detail.
+ Added IImsVideoCallCallback. This is used for communicationing
callback invocations from ImsService to Telephony. It is redundant
with IVideoCallCallback for same reason in bugs/comments.
+ Some minor formatting changes.

Bug: 16886403
Change-Id: I03de12d4432f837e0930bc077307509b645493e0
2014-08-08 12:09:54 -07:00

48 lines
1.7 KiB
Plaintext

/*
* Copyright (C) 2014 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 android.telecomm.CallCameraCapabilities;
import android.telecomm.VideoCallProfile;
/**
* Internal remote interface for IMS's video call provider.
*
* At least initially, this aidl mirrors telecomm's {@link VideoCallCallback}. We created a
* separate aidl interface for invoking callbacks in Telephony from the IMS Service to without
* accessing internal interfaces. See {@link IImsVideoCallProvider} for additional detail.
*
* @see android.telecomm.internal.IVideoCallCallback
* @see android.telecomm.VideoCallImpl
*
* {@hide}
*/
oneway interface IImsVideoCallCallback {
void receiveSessionModifyRequest(in VideoCallProfile videoCallProfile);
void receiveSessionModifyResponse(int status, in VideoCallProfile requestedProfile,
in VideoCallProfile responseProfile);
void handleCallSessionEvent(int event);
void changePeerDimensions(int width, int height);
void changeCallDataUsage(int dataUsage);
void changeCameraCapabilities(in CallCameraCapabilities callCameraCapabilities);
}