summaryrefslogtreecommitdiff
path: root/telephony/java/com/android/ims
diff options
context:
space:
mode:
authorRavi Paluri <quic_rpaluri@quicinc.com>2020-02-05 12:35:41 +0530
committerRavi Paluri <quic_rpaluri@quicinc.com>2020-02-14 11:02:09 +0530
commitf4b38e7ff15bef49e333dfb5a0eb788d65abe1ae (patch)
tree1a106d233c55f7b875f77c7781b38b0fee7fa09c /telephony/java/com/android/ims
parent3819be4271be3085bc55d5e2665952dcc8a77991 (diff)
IMS: Add support for IMS Explicit call transfer
Test: Manual Bug: 62170207 Change-Id: I06a256adb0e1910d40809c91bcdd42c56a142842
Diffstat (limited to 'telephony/java/com/android/ims')
-rw-r--r--telephony/java/com/android/ims/internal/IImsCallSession.aidl17
-rw-r--r--telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl6
2 files changed, 22 insertions, 1 deletions
diff --git a/telephony/java/com/android/ims/internal/IImsCallSession.aidl b/telephony/java/com/android/ims/internal/IImsCallSession.aidl
index 15234e5c0e92..0466efc2f6c6 100644
--- a/telephony/java/com/android/ims/internal/IImsCallSession.aidl
+++ b/telephony/java/com/android/ims/internal/IImsCallSession.aidl
@@ -18,7 +18,6 @@ package com.android.ims.internal;
import android.os.Message;
import android.telephony.ims.aidl.IImsCallSessionListener;
-
import android.telephony.ims.ImsCallProfile;
import android.telephony.ims.ImsStreamMediaProfile;
import com.android.ims.internal.IImsVideoCallProvider;
@@ -151,6 +150,22 @@ interface IImsCallSession {
void reject(int reason);
/**
+ * Transfer an established call to given number
+ *
+ * @param number number to transfer the call
+ * @param isConfirmationRequired if {@code True}, indicates Assured transfer,
+ * if {@code False} it indicates Blind transfer.
+ */
+ void transfer(String number, boolean isConfirmationRequired);
+
+ /**
+ * Transfer an established call to another call session
+ *
+ * @param transferToSession The other ImsCallSession to transfer the ongoing session to.
+ */
+ void consultativeTransfer(in IImsCallSession transferToSession);
+
+ /**
* Terminates a call.
*
* @see Listener#callSessionTerminated
diff --git a/telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl b/telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl
index b33a9f1ad23b..1c62cc48093c 100644
--- a/telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl
+++ b/telephony/java/com/android/ims/internal/IImsCallSessionListener.aidl
@@ -184,6 +184,12 @@ oneway interface IImsCallSessionListener {
void callSessionRttAudioIndicatorChanged(in ImsStreamMediaProfile profile);
/**
+ * Notifies about the response for call transfer request.
+ */
+ void callSessionTransferred();
+
+ void callSessionTransferFailed(in ImsReasonInfo reasonInfo);
+ /**
* Notifies of a change to the call quality.
* @param callQuality then updated call quality
*/