summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorEino-Ville Talvala <etalvala@google.com>2015-04-16 16:24:55 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-04-16 16:25:05 +0000
commit7771e6c52188dae295524088e577b0db64869b17 (patch)
tree54b11ccd3199422925db2ac5f8c5de43fe21c553 /tests
parent7779bc003836b4edc21c65e40f2193ec863c1b18 (diff)
parentaee4782839de3103ecebca830a6bd49263a37ad3 (diff)
downloadhardware_libhardware-7771e6c52188dae295524088e577b0db64869b17.zip
hardware_libhardware-7771e6c52188dae295524088e577b0db64869b17.tar.gz
hardware_libhardware-7771e6c52188dae295524088e577b0db64869b17.tar.bz2
Merge "Camera: Add HAL module init method."
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 d6ea073..10c0895 100644
--- a/tests/hardware/struct-offset.cpp
+++ b/tests/hardware/struct-offset.cpp
@@ -214,7 +214,8 @@ void CheckOffsets(void) {
CHECK_MEMBER_AT(camera_module_t, get_vendor_tag_ops, 140, 272);
CHECK_MEMBER_AT(camera_module_t, open_legacy, 144, 280);
CHECK_MEMBER_AT(camera_module_t, set_torch_mode, 148, 288);
- CHECK_MEMBER_AT(camera_module_t, reserved, 152, 296);
+ CHECK_MEMBER_AT(camera_module_t, init, 152, 296);
+ CHECK_MEMBER_AT(camera_module_t, reserved, 156, 304);
//Types defined in camera3.h
CHECK_MEMBER_AT(camera3_device_ops_t, initialize, 0, 0);