summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Pavel Zhamaitsiak <pavelz@google.com> 2016-01-13 21:40:38 +0000
committer Android Partner Code Review <android-gerrit-partner@google.com> 2016-01-13 21:40:38 +0000
commit4a4345b681f430bc76bed964eb3d4d569539130e (patch)
tree7fa981e266482a44f0c37ca78ef43b8a775cbba2
parent596114210980ae89d040ee86a5daad257c6e5f4c (diff)
parentf91818ca3458f9c1f1d6b6d278f8d6cc2fc14511 (diff)
Merge "Add ITelephonyDebug.aidl" into mm-wireless-dev
-rw-r--r--Android.mk1
-rw-r--r--telephony/java/com/android/internal/telephony/ITelephonyDebug.aidl39
2 files changed, 40 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index c6739e35f75b..0a7516577ea6 100644
--- a/Android.mk
+++ b/Android.mk
@@ -405,6 +405,7 @@ LOCAL_SRC_FILES += \
telephony/java/com/android/internal/telephony/ISms.aidl \
telephony/java/com/android/internal/telephony/ISub.aidl \
telephony/java/com/android/internal/telephony/ITelephony.aidl \
+ telephony/java/com/android/internal/telephony/ITelephonyDebug.aidl \
telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl \
telephony/java/com/android/internal/telephony/IWapPushManager.aidl \
wifi/java/android/net/wifi/IWifiManager.aidl \
diff --git a/telephony/java/com/android/internal/telephony/ITelephonyDebug.aidl b/telephony/java/com/android/internal/telephony/ITelephonyDebug.aidl
new file mode 100644
index 000000000000..5dffa280fef2
--- /dev/null
+++ b/telephony/java/com/android/internal/telephony/ITelephonyDebug.aidl
@@ -0,0 +1,39 @@
+/*
+ * Copyright (C) 2015 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.telephony;
+
+import android.os.Bundle;
+
+
+/**
+ * Interface used to interact with the Telephony debug service.
+ *
+ * {@hide}
+ */
+interface ITelephonyDebug {
+
+ /**
+ * Write telephony event
+ * @param timestamp returned by System.currentTimeMillis()
+ * @param phoneId for which event is written
+ * @param tag constant defined in TelephonyEventLog
+ * @param param1 optional
+ * @param param2 optional
+ * @param data optional
+ */
+ void writeEvent(long timestamp, int phoneId, int tag, int param1, int param2, in Bundle data);
+}