summaryrefslogtreecommitdiffstats
path: root/telecomm
diff options
context:
space:
mode:
authorSantos Cordon <santoscordon@google.com>2014-05-22 21:21:41 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-05-22 21:21:41 +0000
commit5c013261a941fabfb33df4f8d4e3799fab5e7a3e (patch)
treefdfd93b945b838ff5dcec77b0c62f181a112600b /telecomm
parent567d3f461b4b2363eeb247977b57cfbdce34a164 (diff)
parent6848f72a49f05509e6bc95a8a73c9dcd629af62c (diff)
downloadframeworks_base-5c013261a941fabfb33df4f8d4e3799fab5e7a3e.zip
frameworks_base-5c013261a941fabfb33df4f8d4e3799fab5e7a3e.tar.gz
frameworks_base-5c013261a941fabfb33df4f8d4e3799fab5e7a3e.tar.bz2
Merge "Adding ITelecommService definition for Telecomm."
Diffstat (limited to 'telecomm')
-rw-r--r--telecomm/java/com/android/internal/telecomm/ITelecommService.aidl34
1 files changed, 34 insertions, 0 deletions
diff --git a/telecomm/java/com/android/internal/telecomm/ITelecommService.aidl b/telecomm/java/com/android/internal/telecomm/ITelecommService.aidl
new file mode 100644
index 0000000..c439211
--- /dev/null
+++ b/telecomm/java/com/android/internal/telecomm/ITelecommService.aidl
@@ -0,0 +1,34 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.android.internal.telecomm;
+
+/**
+ * Interface used to interact with Telecomm. Mostly this is used by TelephonyManager for passing
+ * commands that were previously handled by ITelephony.
+ * {@hide}
+ */
+oneway 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();
+}