summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAshutosh Joshi <ashutoshj@google.com>2015-04-14 23:26:19 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-04-14 23:26:20 +0000
commita679e3fcf0bc5ec3f32ea952cac0b2035ab9913f (patch)
tree078cab3ae1184d322060629f3245ce8cdf59eee7 /tests
parentb8f401ab1c18ccf1832d7d6cef6ba3eb0274b80a (diff)
parent5f0ebe67c5b67e1fffe7aa14fe50e0ad4b6151e9 (diff)
downloadhardware_libhardware-a679e3fcf0bc5ec3f32ea952cac0b2035ab9913f.zip
hardware_libhardware-a679e3fcf0bc5ec3f32ea952cac0b2035ab9913f.tar.gz
hardware_libhardware-a679e3fcf0bc5ec3f32ea952cac0b2035ab9913f.tar.bz2
Merge "Change struct offsets tests"
Diffstat (limited to 'tests')
-rw-r--r--tests/hardware/struct-offset.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/hardware/struct-offset.cpp b/tests/hardware/struct-offset.cpp
index 0f4ef41..d6ea073 100644
--- a/tests/hardware/struct-offset.cpp
+++ b/tests/hardware/struct-offset.cpp
@@ -115,7 +115,8 @@ void CheckOffsets(void) {
CHECK_MEMBER_AT(sensors_poll_device_1_t, poll, 72, 136);
CHECK_MEMBER_AT(sensors_poll_device_1_t, batch, 76, 144);
CHECK_MEMBER_AT(sensors_poll_device_1_t, flush, 80, 152);
- CHECK_MEMBER_AT(sensors_poll_device_1_t, reserved_procs, 84, 160);
+ CHECK_MEMBER_AT(sensors_poll_device_1_t, inject_sensor_data, 84, 160);
+ CHECK_MEMBER_AT(sensors_poll_device_1_t, reserved_procs, 88, 168);
//Types defined in fb.h
CHECK_MEMBER_AT(framebuffer_device_t, common, 0, 0);