mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Merge "lights aidl: Add required @Rust derive statements" into android14-tests-dev am: f270275c7a am: 46540f28b2 am: bcd43f5feb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2868054 Change-Id: Ie37345308909149c3762bcc117234554f416d613 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
c8b1e8ebb88c57dcb2c350a8d9b722e77dd864c8
|
||||
c7d3d941d303c70d1c22759a0b09e41930c1cddb
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.light;
|
||||
@VintfStability
|
||||
@RustDerive(Clone=true, Copy=true) @VintfStability
|
||||
parcelable HwLight {
|
||||
int id;
|
||||
int ordinal;
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.light;
|
||||
@VintfStability
|
||||
@RustDerive(Clone=true, Copy=true) @VintfStability
|
||||
parcelable HwLightState {
|
||||
int color;
|
||||
android.hardware.light.FlashMode flashMode;
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.light;
|
||||
@VintfStability
|
||||
@RustDerive(Clone=true, Copy=true) @VintfStability
|
||||
parcelable HwLight {
|
||||
int id;
|
||||
int ordinal;
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.light;
|
||||
@VintfStability
|
||||
@RustDerive(Clone=true, Copy=true) @VintfStability
|
||||
parcelable HwLightState {
|
||||
int color;
|
||||
android.hardware.light.FlashMode flashMode;
|
||||
|
||||
@@ -22,7 +22,7 @@ import android.hardware.light.LightType;
|
||||
* A description of a single light. Multiple lights can map to the same physical
|
||||
* LED. Separate physical LEDs are always represented by separate instances.
|
||||
*/
|
||||
@VintfStability
|
||||
@RustDerive(Clone=true, Copy=true) @VintfStability
|
||||
parcelable HwLight {
|
||||
/**
|
||||
* Integer ID used for controlling this light
|
||||
|
||||
@@ -25,7 +25,7 @@ import android.hardware.light.FlashMode;
|
||||
* Not all lights must support all parameters. If you
|
||||
* can do something backward-compatible, do it.
|
||||
*/
|
||||
@VintfStability
|
||||
@RustDerive(Clone=true, Copy=true) @VintfStability
|
||||
parcelable HwLightState {
|
||||
/**
|
||||
* The color of the LED in ARGB.
|
||||
|
||||
Reference in New Issue
Block a user