Merge "lights aidl: Add required @Rust derive statements" into android14-tests-dev

This commit is contained in:
Treehugger Robot 2024-01-20 11:13:26 +00:00 committed by Gerrit Code Review
commit f270275c7a
7 changed files with 7 additions and 6 deletions

View file

@ -1 +1,2 @@
c8b1e8ebb88c57dcb2c350a8d9b722e77dd864c8
c7d3d941d303c70d1c22759a0b09e41930c1cddb

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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

View file

@ -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.