summaryrefslogtreecommitdiff
path: root/tests/hardware/struct-offset.cpp
diff options
context:
space:
mode:
authorEmilian Peev <epeev@google.com>2019-01-24 17:23:19 -0800
committerEmilian Peev <epeev@google.com>2019-02-12 11:06:57 -0800
commitd22172150ffff737bc818c3ba058177cb110e18b (patch)
tree4362cf4f42083ad26574424f4c59fcea28a28058 /tests/hardware/struct-offset.cpp
parent3e11b21931c26012cba3d33187384db3e8b7a95b (diff)
camera3: Add support for session parameter queries
Enable Hal to trigger or skip stream reconfiguration based on session parameter updates. Bug: 122609098 Test: Manual using application, VtsHalCameraProviderV2_4TargetTest --hal_service_instance=android.hardware.camera.provider@2.4::ICameraProvider/legacy/0 --gtest_filter=CameraHidlTest.configureStreamsWithSessionParameters Change-Id: Ie931e7cb7f46257276cc1796fccd301c85a90d85
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 855ad108..0cf145a1 100644
--- a/tests/hardware/struct-offset.cpp
+++ b/tests/hardware/struct-offset.cpp
@@ -231,5 +231,6 @@ void CheckOffsets(void) {
CHECK_MEMBER_AT(camera3_device_ops_t, dump, 24, 48);
CHECK_MEMBER_AT(camera3_device_ops_t, flush, 28, 56);
CHECK_MEMBER_AT(camera3_device_ops_t, signal_stream_flush, 32, 64);
- CHECK_MEMBER_AT(camera3_device_ops_t, reserved, 36, 72);
+ CHECK_MEMBER_AT(camera3_device_ops_t, is_reconfiguration_required, 36, 72);
+ CHECK_MEMBER_AT(camera3_device_ops_t, reserved, 40, 80);
}