summaryrefslogtreecommitdiffstats
path: root/telecomm/java/com
diff options
context:
space:
mode:
Diffstat (limited to 'telecomm/java/com')
-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();
}