commit | b84460e7a956f42edfcd8b7570a9b626dbbfabcb | [log] [tgz] |
---|---|---|
author | Ayrton Munoz <ayrton@google.com> | Fri Apr 26 14:15:07 2024 +0000 |
committer | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | Tue May 14 15:29:53 2024 +0000 |
tree | 21ab9295cf56d16ad4aab0c33e39c2c92e73aeb7 | |
parent | f18b2f5f7e7c67c8e8cad0a06b8e116cc7332d55 [diff] |
Add test for FixedSize parcelables with double and long fields Since `double` and `long long` are aligned to 4 bytes on x86 (instead of 8 as expected) parcelables with these fields may have different padding on different archs unless it's handled explicitly. This commit adds a test case for this to ensure that memory layouts match for the NDK and rust backends. The NDK backend currently handles this by manually aligning fields while the rust backend will manually insert padding in a follow-up CL. Bug: 294698705 Test: m aidl_integration_test Change-Id: I67a0e90ba4c7b87adb1314b5e62c5274c5ef1682
Documentation for this project is currently maintained here:
https://source.android.com/devices/architecture/aidl/overview