diff options
author | Igor Murashkin <iam@google.com> | 2012-12-03 13:33:08 -0800 |
---|---|---|
committer | Igor Murashkin <iam@google.com> | 2012-12-03 13:33:08 -0800 |
commit | 09ad0a3edb84404f56137963d78eccbf378fb48b (patch) | |
tree | 880ae3ea42ff34a21aae3fff7bc53902e4b95546 /tests | |
parent | 192e51c92a34645b5e6e864d9ba65b245bd37c2b (diff) | |
download | hardware_libhardware-09ad0a3edb84404f56137963d78eccbf378fb48b.zip hardware_libhardware-09ad0a3edb84404f56137963d78eccbf378fb48b.tar.gz hardware_libhardware-09ad0a3edb84404f56137963d78eccbf378fb48b.tar.bz2 |
Camera2: Fix metadata symbols
Change-Id: I5d7c8416b8ed8effca699aa9e51068f5678927ea
Diffstat (limited to 'tests')
-rw-r--r-- | tests/camera2/camera2.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/camera2/camera2.cpp b/tests/camera2/camera2.cpp index b3bbc95..373d015 100644 --- a/tests/camera2/camera2.cpp +++ b/tests/camera2/camera2.cpp @@ -370,7 +370,7 @@ TEST_F(Camera2Test, Capture1Raw) { camera_metadata_t *request; request = allocate_camera_metadata(20, 2000); - uint8_t metadataMode = ANDROID_REQUEST_METADATA_FULL; + uint8_t metadataMode = ANDROID_REQUEST_METADATA_MODE_FULL; add_camera_metadata_entry(request, ANDROID_REQUEST_METADATA_MODE, (void**)&metadataMode, 1); @@ -484,7 +484,7 @@ TEST_F(Camera2Test, CaptureBurstRaw) { camera_metadata_t *request; request = allocate_camera_metadata(20, 2000); - uint8_t metadataMode = ANDROID_REQUEST_METADATA_FULL; + uint8_t metadataMode = ANDROID_REQUEST_METADATA_MODE_FULL; add_camera_metadata_entry(request, ANDROID_REQUEST_METADATA_MODE, (void**)&metadataMode, 1); @@ -646,7 +646,7 @@ TEST_F(Camera2Test, DISABLED_Capture1Jpeg) { camera_metadata_t *request; request = allocate_camera_metadata(20, 2000); - uint8_t metadataMode = ANDROID_REQUEST_METADATA_FULL; + uint8_t metadataMode = ANDROID_REQUEST_METADATA_MODE_FULL; add_camera_metadata_entry(request, ANDROID_REQUEST_METADATA_MODE, (void**)&metadataMode, 1); |