From 043bb30f9856814fa0c06cec4d63d730866e001e Mon Sep 17 00:00:00 2001 From: Tyler Gunn Date: Mon, 11 Apr 2022 17:13:53 -0700 Subject: 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 --- telecomm/java/com/android/internal/telecom/ITelecomService.aidl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'telecomm/java') 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); -- cgit v1.2.3-59-g8ed1b