summaryrefslogtreecommitdiffstats
path: root/tests/hardware/struct-offset.cpp
diff options
context:
space:
mode:
authorEino-Ville Talvala <etalvala@google.com>2015-04-07 13:47:46 -0700
committerEino-Ville Talvala <etalvala@google.com>2015-04-15 17:26:13 -0700
commitaee4782839de3103ecebca830a6bd49263a37ad3 (patch)
tree42e82a6e64c73cd35ebb93bbc06626cdd180c2b1 /tests/hardware/struct-offset.cpp
parent33642b9c5763a3ad7cebbe8918a6a8d31f3a63a5 (diff)
downloadhardware_libhardware-aee4782839de3103ecebca830a6bd49263a37ad3.zip
hardware_libhardware-aee4782839de3103ecebca830a6bd49263a37ad3.tar.gz
hardware_libhardware-aee4782839de3103ecebca830a6bd49263a37ad3.tar.bz2
Camera: Add HAL module init method.
For use by Camera HAL libraries to perform one-time initialization steps after the library is loaded. Bug: 20016050 Change-Id: Ia01ae0eafcadece9124ac2cfcc3b1c3939352843
Diffstat (limited to 'tests/hardware/struct-offset.cpp')
-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);