summaryrefslogtreecommitdiffstats
path: root/tests/camera2
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2013-08-06 14:22:12 -0700
committerMathias Agopian <mathias@google.com>2013-08-06 14:22:12 -0700
commit3321f1b709df7371c575c890136b8a63c104d00f (patch)
tree165cd617b501b78d12e7a05a0dba3a618cf37d7a /tests/camera2
parentef18cb7133bf29b9e999b2de75ff4cf6e2cfb82e (diff)
downloadhardware_libhardware-3321f1b709df7371c575c890136b8a63c104d00f.zip
hardware_libhardware-3321f1b709df7371c575c890136b8a63c104d00f.tar.gz
hardware_libhardware-3321f1b709df7371c575c890136b8a63c104d00f.tar.bz2
Fix build, 2nd attempt
Change-Id: Iaa86a6888a5ccf784b13f4c3b2d8dc4813612155
Diffstat (limited to 'tests/camera2')
-rw-r--r--tests/camera2/camera2.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/tests/camera2/camera2.cpp b/tests/camera2/camera2.cpp
index 87f51f0..17e4792 100644
--- a/tests/camera2/camera2.cpp
+++ b/tests/camera2/camera2.cpp
@@ -418,8 +418,7 @@ TEST_F(Camera2Test, Capture1Raw) {
int streamId;
ASSERT_NO_FATAL_FAILURE(
- setUpStream(rawConsumer->getProducerInterface(),
- width, height, format, &streamId) );
+ setUpStream(bq, width, height, format, &streamId) );
camera_metadata_t *request;
request = allocate_camera_metadata(20, 2000);
@@ -553,8 +552,7 @@ TEST_F(Camera2Test, CaptureBurstRaw) {
int streamId;
ASSERT_NO_FATAL_FAILURE(
- setUpStream(rawConsumer->getProducerInterface(),
- width, height, format, &streamId) );
+ setUpStream(bq, width, height, format, &streamId) );
camera_metadata_t *request;
request = allocate_camera_metadata(20, 2000);
@@ -723,8 +721,7 @@ TEST_F(Camera2Test, Capture1Jpeg) {
int streamId;
ASSERT_NO_FATAL_FAILURE(
- setUpStream(jpegConsumer->getProducerInterface(),
- width, height, format, &streamId) );
+ setUpStream(bq, width, height, format, &streamId) );
camera_metadata_t *request;
request = allocate_camera_metadata(20, 2000);