mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 05:49:27 +00:00
Add rust copy derivation annotation
Adding annotations to derive Copy for some AIDL types. Bug: 284152719 Test: qemu android build Change-Id: I4bdfc4ada04d819075d8f43e01caf437e6a0bd1e
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
// later when a module using the interface is updated, e.g., Mainline modules.
|
||||
|
||||
package android.hardware.security.see.hwcrypto.types;
|
||||
@RustDerive(Clone=true, Copy=true)
|
||||
parcelable MemoryBufferReference {
|
||||
int startOffset;
|
||||
int sizeBytes;
|
||||
|
||||
@@ -18,6 +18,7 @@ package android.hardware.security.see.hwcrypto.types;
|
||||
/*
|
||||
* Structure representing a section of a memory buffer.
|
||||
*/
|
||||
@RustDerive(Copy=true, Clone=true)
|
||||
parcelable MemoryBufferReference {
|
||||
/*
|
||||
* Start of the memory buffer section measured from the start of the memory buffer set for this
|
||||
|
||||
Reference in New Issue
Block a user