summaryrefslogtreecommitdiff
path: root/tests/hardware/struct-offset.cpp
diff options
context:
space:
mode:
authorEmilian Peev <epeev@google.com>2018-10-29 09:37:04 +0000
committerEmilian Peev <epeev@google.com>2018-11-09 14:14:03 +0000
commit8ca3c60f5cb03e0b8935eafc212df8061ad1141b (patch)
tree69fbc39f15778b169f719ba889b47f3263e7cc82 /tests/hardware/struct-offset.cpp
parent2d8649c1dc514b82d355b9e340681bcdac33a207 (diff)
Camera: Add camera module support for stream combination query
Add necessary API to support stream combination query. This will be used in case Hal supports the new 2.5 module API. Bug: 111593096 Test: Camera VTS Change-Id: I916dcbd585e07be16f2f07da0076fb68039d6a00
Diffstat (limited to 'tests/hardware/struct-offset.cpp')
-rw-r--r--tests/hardware/struct-offset.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/hardware/struct-offset.cpp b/tests/hardware/struct-offset.cpp
index 8ec1a27a..f8bb8b8e 100644
--- a/tests/hardware/struct-offset.cpp
+++ b/tests/hardware/struct-offset.cpp
@@ -217,7 +217,8 @@ void CheckOffsets(void) {
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, get_physical_camera_info, 156, 304);
- CHECK_MEMBER_AT(camera_module_t, reserved, 160, 312);
+ CHECK_MEMBER_AT(camera_module_t, is_stream_combination_supported, 160, 312);
+ CHECK_MEMBER_AT(camera_module_t, reserved, 164, 320);
//Types defined in camera3.h
CHECK_MEMBER_AT(camera3_device_ops_t, initialize, 0, 0);