summaryrefslogtreecommitdiff
path: root/telecomm/java/com
diff options
context:
space:
mode:
author Tyler Gunn <tgunn@google.com> 2022-04-11 17:13:53 -0700
committer Tyler Gunn <tgunn@google.com> 2022-04-12 11:14:14 -0700
commit043bb30f9856814fa0c06cec4d63d730866e001e (patch)
treefa345d5e15037772c601c30c13874058ca3d9483 /telecomm/java/com
parentd9e8a4f5ff0290f2a100e898928d871f2a59eca0 (diff)
Add telecom log marking shell command.
We often get bugs where testers have executed a LONG list of test steps. It becomes extremely difficult to know where in the logs corresponds to which test script step. This adds a new telecom shell command: adb shell telecom log-mark Testing 1 2 3 This command adds a USER_LOG_MARK event log item to all ongoing calls and to the general telecom logs with the specified message. Test: Tested using the new shell command to mark the telecom logs in and out of calls. Fixes: 228895073 Change-Id: Ic11edc777e57a4fc8748a42c931379faf7cea671
Diffstat (limited to 'telecomm/java/com')
-rw-r--r--telecomm/java/com/android/internal/telecom/ITelecomService.aidl5
1 files changed, 5 insertions, 0 deletions
diff --git a/telecomm/java/com/android/internal/telecom/ITelecomService.aidl b/telecomm/java/com/android/internal/telecom/ITelecomService.aidl
index 6f286d9f3006..23b578748370 100644
--- a/telecomm/java/com/android/internal/telecom/ITelecomService.aidl
+++ b/telecomm/java/com/android/internal/telecom/ITelecomService.aidl
@@ -344,6 +344,11 @@ interface ITelecomService {
void setTestDefaultCallRedirectionApp(String packageName);
+ /**
+ * @see TelecomServiceImpl#requestLogMark
+ */
+ void requestLogMark(in String message);
+
void setTestPhoneAcctSuggestionComponent(String flattenedComponentName);
void setTestDefaultCallScreeningApp(String packageName);