diff --git a/tests/camera2/camera2.cpp b/tests/camera2/camera2.cpp index 3580b9bc..78e82aff 100644 --- a/tests/camera2/camera2.cpp +++ b/tests/camera2/camera2.cpp @@ -407,7 +407,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); @@ -529,7 +529,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); @@ -698,7 +698,7 @@ TEST_F(Camera2Test, 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);