mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 10:44:41 +00:00
NFC: Add @exports to generate nfc-base.h headers.
Test: Generates headers using hidl-gen Bug: 32748647 Change-Id: I20bf4329a7fbad1096798db060a2ea5be695c62e Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
|
||||
package android.hardware.nfc@1.0;
|
||||
|
||||
@export(name="", value_prefix="HAL_NFC_", value_suffix="_EVT")
|
||||
enum NfcEvent : uint32_t {
|
||||
OPEN_CPLT = 0,
|
||||
CLOSE_CPLT = 1,
|
||||
@@ -26,6 +27,7 @@ enum NfcEvent : uint32_t {
|
||||
ERROR = 6
|
||||
};
|
||||
|
||||
@export(name="", value_prefix="HAL_NFC_STATUS_")
|
||||
enum NfcStatus : uint32_t {
|
||||
OK = 0,
|
||||
FAILED = 1,
|
||||
|
||||
Reference in New Issue
Block a user