mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-02 10:05:19 +00:00
NNAPI: Add OptionalTimeoutDuration to 1.3/types.t
To sync 1.3/types.t with 1.3/types.hal Test: generate_api.sh Change-Id: I6a6e46ec82b4f25d77f7e1af18cc9d6f9478e5b7
This commit is contained in:
@@ -552,6 +552,19 @@ safe_union OptionalTimePoint {
|
||||
uint64_t nanoseconds;
|
||||
};
|
||||
|
||||
/**
|
||||
* Optional timeout duration measured in nanoseconds.
|
||||
*/
|
||||
safe_union OptionalTimeoutDuration {
|
||||
/** No time point provided. */
|
||||
Monostate none;
|
||||
|
||||
/**
|
||||
* Timeout duration measured in nanoseconds.
|
||||
*/
|
||||
uint64_t nanoseconds;
|
||||
};
|
||||
|
||||
/**
|
||||
* Return status of a function.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user