summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorShuzhen Wang <shuzhenwang@google.com>2018-12-26 14:34:56 -0800
committerEino-Ville Talvala <etalvala@google.com>2019-01-25 11:21:34 -0800
commitfc590b6ee4632bb73935bbddb7ee368d4b1058fd (patch)
tree72374ce5620cb7a849b1a5948b3abc4d0ab70253 /tests
parent83b4d508b973dc9ab69d2b704bc2467e8676e8e3 (diff)
Camera: Add device state notification to camera_module
Test: Confirm logging of device state notifications occurs Test: Camera continues to function when switched to 2.5 Change-Id: Iac431770be7659c0f419ba8b002a679f38ecaae2
Diffstat (limited to 'tests')
-rw-r--r--tests/hardware/struct-offset.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/hardware/struct-offset.cpp b/tests/hardware/struct-offset.cpp
index f8bb8b8e..a07601f2 100644
--- a/tests/hardware/struct-offset.cpp
+++ b/tests/hardware/struct-offset.cpp
@@ -218,7 +218,8 @@ void CheckOffsets(void) {
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, is_stream_combination_supported, 160, 312);
- CHECK_MEMBER_AT(camera_module_t, reserved, 164, 320);
+ CHECK_MEMBER_AT(camera_module_t, notify_device_state_change, 164, 320);
+ CHECK_MEMBER_AT(camera_module_t, reserved, 168, 328);
//Types defined in camera3.h
CHECK_MEMBER_AT(camera3_device_ops_t, initialize, 0, 0);
@@ -231,4 +232,3 @@ void CheckOffsets(void) {
CHECK_MEMBER_AT(camera3_device_ops_t, flush, 28, 56);
CHECK_MEMBER_AT(camera3_device_ops_t, reserved, 32, 64);
}
-