summaryrefslogtreecommitdiffstats
path: root/tests/camera2/CameraModuleFixture.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/camera2/CameraModuleFixture.h')
-rw-r--r--tests/camera2/CameraModuleFixture.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/camera2/CameraModuleFixture.h b/tests/camera2/CameraModuleFixture.h
index d604ff7..6ad1ae8 100644
--- a/tests/camera2/CameraModuleFixture.h
+++ b/tests/camera2/CameraModuleFixture.h
@@ -47,6 +47,12 @@ struct CameraModuleFixture {
TearDown();
}
+ camera_metadata_ro_entry GetStaticEntry(uint32_t tag) const {
+ const CameraMetadata& staticInfo = mDevice->info();
+ camera_metadata_ro_entry entry = staticInfo.find(tag);
+ return entry;
+ }
+
private:
void SetUp() {