From 16c19a2c4adf75da0c639844e60819d135ae7a4b Mon Sep 17 00:00:00 2001 From: Greg Hackmann Date: Fri, 13 Jun 2014 13:52:48 -0700 Subject: update struct-offset.cpp test for camera API 2.3 Change-Id: I2f63f9f5e567099ea9d0005317f7a745c5a63ca6 Signed-off-by: Greg Hackmann --- tests/hardware/struct-offset.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests') 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); -- cgit v1.1