summaryrefslogtreecommitdiffstats
path: root/telecomm/java/com/android
diff options
context:
space:
mode:
authorSantos Cordon <santoscordon@google.com>2014-07-01 17:56:23 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-07-01 14:48:56 +0000
commite19a4fe32fd87a6c819f15155bb43d9fbe67607a (patch)
treeee709c140e8f9fe46962230c20ba6afe4e828bd8 /telecomm/java/com/android
parente65c697805812dabd75375618c2867d46abb7047 (diff)
parent9eb45934c582a0bf5060125690de8bce4f10ca76 (diff)
downloadframeworks_base-e19a4fe32fd87a6c819f15155bb43d9fbe67607a.zip
frameworks_base-e19a4fe32fd87a6c819f15155bb43d9fbe67607a.tar.gz
frameworks_base-e19a4fe32fd87a6c819f15155bb43d9fbe67607a.tar.bz2
Merge "Move call-related SystemAPIs to TelecommManager. (1/3)"
Diffstat (limited to 'telecomm/java/com/android')
-rw-r--r--telecomm/java/com/android/internal/telecomm/ITelecommService.aidl39
1 files changed, 29 insertions, 10 deletions
diff --git a/telecomm/java/com/android/internal/telecomm/ITelecommService.aidl b/telecomm/java/com/android/internal/telecomm/ITelecommService.aidl
index 2ae5768..65389df 100644
--- a/telecomm/java/com/android/internal/telecomm/ITelecommService.aidl
+++ b/telecomm/java/com/android/internal/telecomm/ITelecommService.aidl
@@ -25,16 +25,6 @@ import android.telecomm.Subscription;
* {@hide}
*/
interface ITelecommService {
-
- /**
- * Silence the ringer if an incoming call is currently ringing.
- * (If vibrating, stop the vibrator also.)
- *
- * It's safe to call this if the ringer has already been silenced, or
- * even if there's no incoming call. (If so, this method will do nothing.)
- */
- void silenceRinger();
-
/**
* Brings the in-call screen to the foreground if there is an active call.
*
@@ -61,4 +51,33 @@ interface ITelecommService {
* Returns the component name of the default phone application.
*/
ComponentName getDefaultPhoneApp();
+
+ //
+ // Internal system apis relating to call management.
+ //
+
+ /**
+ * @see TelecommManager#silenceRinger
+ */
+ void silenceRinger();
+
+ /**
+ * @see TelecommManager#isInAPhoneCall
+ */
+ boolean isInAPhoneCall();
+
+ /**
+ * @see TelecomManager#isRinging
+ */
+ boolean isRinging();
+
+ /**
+ * @see TelecommManager#endCall
+ */
+ boolean endCall();
+
+ /**
+ * @see TelecommManager#acceptRingingCall
+ */
+ void acceptRingingCall();
}