summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorZhijun He <zhijunhe@google.com>2014-08-10 21:24:49 -0700
committerZhijun He <zhijunhe@google.com>2014-08-10 21:24:49 -0700
commit1c3e65731a8582d4da24e0ca4e136c372aec9e94 (patch)
tree2eb240ba5e8b5cb25a7b5837981ccbd62677a64b /tests
parent005b123e41f3fe91344b475d4a3218d2c0171b3e (diff)
downloadhardware_libhardware-1c3e65731a8582d4da24e0ca4e136c372aec9e94.zip
hardware_libhardware-1c3e65731a8582d4da24e0ca4e136c372aec9e94.tar.gz
hardware_libhardware-1c3e65731a8582d4da24e0ca4e136c372aec9e94.tar.bz2
Camera2/3 HAL test: Update tet according createStream change
Bug: 14327010 Change-Id: I45d2ab4859ee0cc9273e579254f0569108c748f1
Diffstat (limited to 'tests')
-rw-r--r--tests/camera2/CameraMultiStreamTests.cpp2
-rw-r--r--tests/camera2/CameraStreamFixture.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/camera2/CameraMultiStreamTests.cpp b/tests/camera2/CameraMultiStreamTests.cpp
index 066f4ee..2742466 100644
--- a/tests/camera2/CameraMultiStreamTests.cpp
+++ b/tests/camera2/CameraMultiStreamTests.cpp
@@ -208,7 +208,7 @@ public:
void SetUp() {
ASSERT_EQ(OK,
mDevice->createStream(mNativeWindow,
- mWidth, mHeight, mFormat, /*size (for jpegs)*/0,
+ mWidth, mHeight, mFormat,
&mStreamId));
ASSERT_NE(-1, mStreamId);
diff --git a/tests/camera2/CameraStreamFixture.h b/tests/camera2/CameraStreamFixture.h
index 12b1971..f56daf0 100644
--- a/tests/camera2/CameraStreamFixture.h
+++ b/tests/camera2/CameraStreamFixture.h
@@ -173,7 +173,7 @@ protected:
ASSERT_EQ(OK,
device->createStream(mNativeWindow,
- mWidth, mHeight, format, /*size (for jpegs)*/0,
+ mWidth, mHeight, format,
&mStreamId));
ASSERT_NE(-1, mStreamId);