diff options
author | Andrew Lee <anwlee@google.com> | 2014-07-22 16:41:54 -0700 |
---|---|---|
committer | Andrew Lee <anwlee@google.com> | 2014-07-25 08:58:10 -0700 |
commit | 50aca23bd7f51a3cf32a1f7e32238cc1e26ca1a0 (patch) | |
tree | 72e45070d8a10bf2f3f450f340b5687a9700982d /telecomm/java/com | |
parent | ed1391a9297db5e2a8671bbf2d83654ee5d28702 (diff) | |
download | frameworks_base-50aca23bd7f51a3cf32a1f7e32238cc1e26ca1a0.zip frameworks_base-50aca23bd7f51a3cf32a1f7e32238cc1e26ca1a0.tar.gz frameworks_base-50aca23bd7f51a3cf32a1f7e32238cc1e26ca1a0.tar.bz2 |
Add VideoCall and VideoCall.Listener as an inner classes of Call.
Bug: 16494880
Bug: 16495203
Change-Id: Ife3b6723374ea5fbbff4927c4f9168d075be21e1
Diffstat (limited to 'telecomm/java/com')
-rw-r--r-- | telecomm/java/com/android/internal/telecomm/IConnectionServiceAdapter.aidl | 4 | ||||
-rw-r--r-- | telecomm/java/com/android/internal/telecomm/IVideoCallCallback.aidl (renamed from telecomm/java/com/android/internal/telecomm/ICallVideoClient.aidl) | 25 | ||||
-rw-r--r-- | telecomm/java/com/android/internal/telecomm/IVideoCallProvider.aidl (renamed from telecomm/java/com/android/internal/telecomm/ICallVideoProvider.aidl) | 10 |
3 files changed, 18 insertions, 21 deletions
diff --git a/telecomm/java/com/android/internal/telecomm/IConnectionServiceAdapter.aidl b/telecomm/java/com/android/internal/telecomm/IConnectionServiceAdapter.aidl index 552993f..60b5e1e 100644 --- a/telecomm/java/com/android/internal/telecomm/IConnectionServiceAdapter.aidl +++ b/telecomm/java/com/android/internal/telecomm/IConnectionServiceAdapter.aidl @@ -22,7 +22,7 @@ import android.telecomm.ConnectionRequest; import android.telecomm.ParcelableConnection; import android.telecomm.StatusHints; -import com.android.internal.telecomm.ICallVideoProvider; +import com.android.internal.telecomm.IVideoCallProvider; import com.android.internal.telecomm.RemoteServiceCallback; /** @@ -65,7 +65,7 @@ oneway interface IConnectionServiceAdapter { void queryRemoteConnectionServices(RemoteServiceCallback callback); - void setCallVideoProvider(String callId, ICallVideoProvider callVideoProvider); + void setVideoCallProvider(String callId, IVideoCallProvider videoCallProvider); void setVideoState(String callId, int videoState); diff --git a/telecomm/java/com/android/internal/telecomm/ICallVideoClient.aidl b/telecomm/java/com/android/internal/telecomm/IVideoCallCallback.aidl index 2689561..a71ab0a 100644 --- a/telecomm/java/com/android/internal/telecomm/ICallVideoClient.aidl +++ b/telecomm/java/com/android/internal/telecomm/IVideoCallCallback.aidl @@ -20,25 +20,24 @@ import android.telecomm.CallCameraCapabilities; import android.telecomm.VideoCallProfile; /** - * Internal definition of the CallVideoClient, used for an InCall-UI to respond to video telephony - * related changes. + * Internal definition of the a callback interface, used for an InCallUi to respond to video + * telephony changes. * - * @see android.telecomm.CallVideoClient + * @see android.telecomm.InCallService.VideoCall.Listener * * {@hide} */ - oneway interface ICallVideoClient { +oneway interface IVideoCallCallback { + void receiveSessionModifyRequest(in VideoCallProfile videoCallProfile); - void receiveSessionModifyRequest(in VideoCallProfile videoCallProfile); + void receiveSessionModifyResponse(int status, in VideoCallProfile requestedProfile, + in VideoCallProfile responseProfile); - void receiveSessionModifyResponse(int status, in VideoCallProfile requestedProfile, - in VideoCallProfile responseProfile); + void handleCallSessionEvent(int event); - void handleCallSessionEvent(int event); + void changePeerDimensions(int width, int height); - void updatePeerDimensions(int width, int height); + void changeCallDataUsage(int dataUsage); - void updateCallDataUsage(int dataUsage); - - void handleCameraCapabilitiesChange(in CallCameraCapabilities callCameraCapabilities); - } + void changeCameraCapabilities(in CallCameraCapabilities callCameraCapabilities); +} diff --git a/telecomm/java/com/android/internal/telecomm/ICallVideoProvider.aidl b/telecomm/java/com/android/internal/telecomm/IVideoCallProvider.aidl index 860a431..c1ba749 100644 --- a/telecomm/java/com/android/internal/telecomm/ICallVideoProvider.aidl +++ b/telecomm/java/com/android/internal/telecomm/IVideoCallProvider.aidl @@ -19,15 +19,13 @@ package com.android.internal.telecomm; import android.view.Surface; import android.telecomm.VideoCallProfile; -import com.android.internal.telecomm.ICallVideoClient; - /** - * Internal remote interface for a call video provider. - * @see android.telecomm.CallVideoProvider + * Internal remote interface for a video call provider. + * @see android.telecomm.VideoCallProvider * @hide */ -oneway interface ICallVideoProvider { - void setCallVideoClient(IBinder callVideoClient); +oneway interface IVideoCallProvider { + void setVideoCallListener(IBinder videoCallListenerBinder); void setCamera(String cameraId); |