diff options
author | Greg Hackmann <ghackmann@google.com> | 2014-06-13 13:52:48 -0700 |
---|---|---|
committer | Greg Hackmann <ghackmann@google.com> | 2014-06-13 13:52:48 -0700 |
commit | 16c19a2c4adf75da0c639844e60819d135ae7a4b (patch) | |
tree | a3763b880d6e93145aafc914aff48ee4e3f93447 /tests | |
parent | 5f36d1af134c65fb7ca0aa81206401fad6dbbcc6 (diff) | |
download | hardware_libhardware-16c19a2c4adf75da0c639844e60819d135ae7a4b.zip hardware_libhardware-16c19a2c4adf75da0c639844e60819d135ae7a4b.tar.gz hardware_libhardware-16c19a2c4adf75da0c639844e60819d135ae7a4b.tar.bz2 |
update struct-offset.cpp test for camera API 2.3
Change-Id: I2f63f9f5e567099ea9d0005317f7a745c5a63ca6
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/hardware/struct-offset.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/hardware/struct-offset.cpp b/tests/hardware/struct-offset.cpp index 6abe360..8e5aa40 100644 --- a/tests/hardware/struct-offset.cpp +++ b/tests/hardware/struct-offset.cpp @@ -208,7 +208,8 @@ void CheckOffsets(void) { CHECK_MEMBER_AT(camera_module_t, get_camera_info, 132, 256); CHECK_MEMBER_AT(camera_module_t, set_callbacks, 136, 264); CHECK_MEMBER_AT(camera_module_t, get_vendor_tag_ops, 140, 272); - CHECK_MEMBER_AT(camera_module_t, reserved, 144, 280); + CHECK_MEMBER_AT(camera_module_t, open_legacy, 144, 280); + CHECK_MEMBER_AT(camera_module_t, reserved, 148, 288); //Types defined in camera3.h CHECK_MEMBER_AT(camera3_device_ops_t, initialize, 0, 0); |