Merge "Added additional comments for vendor error codes"

This commit is contained in:
Terry Guan
2023-02-17 00:02:38 +00:00
committed by Android (Google) Code Review

View File

@@ -18,8 +18,9 @@ package android.hardware.automotive.vehicle;
/**
* 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]
* 0x0000 to 0xffff and vendor error codes will have the range from 0x0001 to 0xffff. The error code
* is formatted as [VENDOR_ERROR] << 16 | [SYSTEM_ERROR]. A vendor error code of 0 indicates vendor
* code not set.
*/
@VintfStability
@Backing(type="int")