From 301591776ff1fdc6acccce3936e74f87a60f9d9d Mon Sep 17 00:00:00 2001 From: Chien-Yu Chen Date: Thu, 8 Jan 2015 11:06:38 -0800 Subject: camera_common: add torch mode APIs for flashlight Add torch mode APIs to support flashlight without opening any camera devices. Bug: 2682206 Change-Id: Ida46bb878962caf305f3e97051b15e0465fe8c02 --- 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 a7ff797..0f4ef41 100644 --- a/tests/hardware/struct-offset.cpp +++ b/tests/hardware/struct-offset.cpp @@ -212,7 +212,8 @@ void CheckOffsets(void) { 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, open_legacy, 144, 280); - CHECK_MEMBER_AT(camera_module_t, reserved, 148, 288); + CHECK_MEMBER_AT(camera_module_t, set_torch_mode, 148, 288); + CHECK_MEMBER_AT(camera_module_t, reserved, 152, 296); //Types defined in camera3.h CHECK_MEMBER_AT(camera3_device_ops_t, initialize, 0, 0); -- cgit v1.1