From d1f6dea042f015748ad34da3fd3cd92deb783bfb Mon Sep 17 00:00:00 2001 From: Kedar Chitnis Date: Mon, 10 Jan 2022 12:38:49 +0000 Subject: [PATCH] Fix dumpstate AIDL interface API comments Bug: 213475867 Test: Build test Change-Id: I12b6f6a5edb732a5ec6d76da7c54998079054ca1 --- .../aidl/android/hardware/dumpstate/IDumpstateDevice.aidl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dumpstate/aidl/android/hardware/dumpstate/IDumpstateDevice.aidl b/dumpstate/aidl/android/hardware/dumpstate/IDumpstateDevice.aidl index 3b42546a46..b994d04e0c 100644 --- a/dumpstate/aidl/android/hardware/dumpstate/IDumpstateDevice.aidl +++ b/dumpstate/aidl/android/hardware/dumpstate/IDumpstateDevice.aidl @@ -103,8 +103,9 @@ interface IDumpstateDevice { * @param timeoutMillis An approximate "budget" for how much time this call has been allotted. * If execution runs longer than this, the IDumpstateDevice service may be killed and only * partial information will be included in the report. - * @return If error, return service specific error with code - * ERROR_UNSUPPORTED_MODE or ERROR_DEVICE_LOGGING_NOT_ENABLED + * @throws ServiceSpecificException with one of the following values: + * |ERROR_UNSUPPORTED_MODE|, + * |ERROR_DEVICE_LOGGING_NOT_ENABLED| */ void dumpstateBoard(in ParcelFileDescriptor[] fd, in DumpstateMode mode, in long timeoutMillis);