diff options
author | Santos Cordon <santoscordon@google.com> | 2014-07-01 17:56:23 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-07-01 14:48:56 +0000 |
commit | e19a4fe32fd87a6c819f15155bb43d9fbe67607a (patch) | |
tree | ee709c140e8f9fe46962230c20ba6afe4e828bd8 /telecomm/java/com | |
parent | e65c697805812dabd75375618c2867d46abb7047 (diff) | |
parent | 9eb45934c582a0bf5060125690de8bce4f10ca76 (diff) | |
download | frameworks_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')
-rw-r--r-- | telecomm/java/com/android/internal/telecomm/ITelecommService.aidl | 39 |
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(); } |