commit | cb29d456494589d826810f3b2f384bd0bb2e5f69 | [log] [tgz] |
---|---|---|
author | Orlando Arbildo <oarbildo@google.com> | Thu Jun 20 17:03:08 2024 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Jun 20 17:03:08 2024 +0000 |
tree | 42e28fba7defee71d2171c32bfd1a43cda0c9492 | |
parent | d128fd66e13978c90e40fd545f26cfe9a842a205 [diff] | |
parent | f84f70a7bdd3254897d4c19d5342a82c97e450e7 [diff] |
Merge "Add rust copy derivation annotation" into main
diff --git a/staging/security/see/hwcrypto/aidl/aidl_api/android.hardware.security.see/current/android/hardware/security/see/hwcrypto/types/MemoryBufferReference.aidl b/staging/security/see/hwcrypto/aidl/aidl_api/android.hardware.security.see/current/android/hardware/security/see/hwcrypto/types/MemoryBufferReference.aidl index eaa8dd7..59c8757 100644 --- a/staging/security/see/hwcrypto/aidl/aidl_api/android.hardware.security.see/current/android/hardware/security/see/hwcrypto/types/MemoryBufferReference.aidl +++ b/staging/security/see/hwcrypto/aidl/aidl_api/android.hardware.security.see/current/android/hardware/security/see/hwcrypto/types/MemoryBufferReference.aidl
@@ -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;
diff --git a/staging/security/see/hwcrypto/aidl/android/hardware/security/see/hwcrypto/types/MemoryBufferReference.aidl b/staging/security/see/hwcrypto/aidl/android/hardware/security/see/hwcrypto/types/MemoryBufferReference.aidl index 5b90d9c..1175dc5 100644 --- a/staging/security/see/hwcrypto/aidl/android/hardware/security/see/hwcrypto/types/MemoryBufferReference.aidl +++ b/staging/security/see/hwcrypto/aidl/android/hardware/security/see/hwcrypto/types/MemoryBufferReference.aidl
@@ -18,6 +18,7 @@ /* * 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