From aee4782839de3103ecebca830a6bd49263a37ad3 Mon Sep 17 00:00:00 2001 From: Eino-Ville Talvala Date: Tue, 7 Apr 2015 13:47:46 -0700 Subject: 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 --- 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 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); -- cgit v1.1