From 197ac1301a463ccb768041c4e91020befbc43866 Mon Sep 17 00:00:00 2001 From: Terry Guan Date: Tue, 7 Feb 2023 20:43:25 -0800 Subject: [PATCH] Changed Status code Changed status code comment to reflect changes for vendor error codes. Bug: 268261402 Test: atest CarPropertyManagerUnitTest Change-Id: I232f429c4d6caea7ee6736554e84cbbc64ed9996 --- .../aidl/android/hardware/automotive/vehicle/StatusCode.aidl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/StatusCode.aidl b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/StatusCode.aidl index 8ac6506f69..029b2aca5d 100644 --- a/automotive/vehicle/aidl/android/hardware/automotive/vehicle/StatusCode.aidl +++ b/automotive/vehicle/aidl/android/hardware/automotive/vehicle/StatusCode.aidl @@ -17,7 +17,9 @@ package android.hardware.automotive.vehicle; /** - * Error codes used in vehicle HAL interface. + * Error codes used in vehicle HAL interface. System defined error codes will have the range from + * 0x00000000 to 0x0000ffff and vendor error codes will have the range from 0x0000 << 16 to + * 0xffff << 16. The error code is formatted as [VENDOR_ERROR] << 16 | [SYSTEM_ERROR] */ @VintfStability @Backing(type="int")