diff options
author | Shuzhen Wang <shuzhenwang@google.com> | 2018-08-24 11:07:50 -0700 |
---|---|---|
committer | Shuzhen Wang <shuzhenwang@google.com> | 2018-09-12 14:03:52 -0700 |
commit | a8caa6a6ed18e37514fa1463c8cb1918660c910d (patch) | |
tree | 88946b3d39e835a8fb65ee7ad16fa8d020b7b7a3 /tests/hardware/struct-offset.cpp | |
parent | cf5310a9eb82ac7d12f7a2960c3b34406f861ef3 (diff) |
camera_common: Upgrade camera_module to 2.5
The new camera_module version adds function to query physical camera
static metadata.
Test: Camera CTS on Pixel devices
Bug: 79523700
Change-Id: I276f23808595b4c6389cb04b19c8c3658b2db967
Diffstat (limited to 'tests/hardware/struct-offset.cpp')
-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 6f86f030..8ec1a27a 100644 --- a/tests/hardware/struct-offset.cpp +++ b/tests/hardware/struct-offset.cpp @@ -216,7 +216,8 @@ void CheckOffsets(void) { 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, init, 152, 296); - CHECK_MEMBER_AT(camera_module_t, reserved, 156, 304); + CHECK_MEMBER_AT(camera_module_t, get_physical_camera_info, 156, 304); + CHECK_MEMBER_AT(camera_module_t, reserved, 160, 312); //Types defined in camera3.h CHECK_MEMBER_AT(camera3_device_ops_t, initialize, 0, 0); |