summaryrefslogtreecommitdiffstats
path: root/telephony
diff options
context:
space:
mode:
authorPavel Zhamaitsiak <pavelz@google.com>2014-12-09 01:42:53 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-12-09 01:42:53 +0000
commit963db3fa697016051a570ccb2d6b566db4f2d594 (patch)
tree457e39b6f109d07e5cce94df9bc4860a86aa354c /telephony
parent55188f591844ce34e9c1862f10a85d89fa20cb91 (diff)
parentc67da06df74095e44ecf9449216563b622927463 (diff)
downloadframeworks_base-963db3fa697016051a570ccb2d6b566db4f2d594.zip
frameworks_base-963db3fa697016051a570ccb2d6b566db4f2d594.tar.gz
frameworks_base-963db3fa697016051a570ccb2d6b566db4f2d594.tar.bz2
am c67da06d: am 0f78ad87: Merge "IMS: start and stop dtmf tones." into lmp-mr1-dev
* commit 'c67da06df74095e44ecf9449216563b622927463': IMS: start and stop dtmf tones.
Diffstat (limited to 'telephony')
-rw-r--r--telephony/java/com/android/ims/internal/IImsCallSession.aidl14
1 files changed, 14 insertions, 0 deletions
diff --git a/telephony/java/com/android/ims/internal/IImsCallSession.aidl b/telephony/java/com/android/ims/internal/IImsCallSession.aidl
index d1946e3..b1f2d32 100644
--- a/telephony/java/com/android/ims/internal/IImsCallSession.aidl
+++ b/telephony/java/com/android/ims/internal/IImsCallSession.aidl
@@ -223,6 +223,20 @@ interface IImsCallSession {
void sendDtmf(char c, in Message result);
/**
+ * Start a DTMF code. According to <a href="http://tools.ietf.org/html/rfc2833">RFC 2833</a>,
+ * event 0 ~ 9 maps to decimal value 0 ~ 9, '*' to 10, '#' to 11, event 'A' ~ 'D' to 12 ~ 15,
+ * and event flash to 16. Currently, event flash is not supported.
+ *
+ * @param c the DTMF to send. '0' ~ '9', 'A' ~ 'D', '*', '#' are valid inputs.
+ */
+ void startDtmf(char c);
+
+ /**
+ * Stop a DTMF code.
+ */
+ void stopDtmf();
+
+ /**
* Sends an USSD message.
*
* @param ussdMessage USSD message to send