am eb485256
: Merge "Camera2 Tests: Fix stream id types" into klp-dev
* commit 'eb485256e99e97653773024951568aadcc60f6a4': Camera2 Tests: Fix stream id types
This commit is contained in:
commit
32bf9c8ecc
3 changed files with 6 additions and 6 deletions
|
@ -183,7 +183,7 @@ TEST_F(CameraBurstTest, ManualExposureControl) {
|
|||
ASSERT_EQ(OK, mDevice->createDefaultRequest(CAMERA2_TEMPLATE_PREVIEW,
|
||||
&previewRequest));
|
||||
{
|
||||
Vector<uint8_t> outputStreamIds;
|
||||
Vector<int32_t> outputStreamIds;
|
||||
outputStreamIds.push(mStreamId);
|
||||
ASSERT_EQ(OK, previewRequest.update(ANDROID_REQUEST_OUTPUT_STREAMS,
|
||||
outputStreamIds));
|
||||
|
@ -558,7 +558,7 @@ TEST_F(CameraBurstTest, VariableBurst) {
|
|||
ASSERT_EQ(OK, mDevice->createDefaultRequest(CAMERA2_TEMPLATE_PREVIEW,
|
||||
&previewRequest));
|
||||
{
|
||||
Vector<uint8_t> outputStreamIds;
|
||||
Vector<int32_t> outputStreamIds;
|
||||
outputStreamIds.push(mStreamId);
|
||||
ASSERT_EQ(OK, previewRequest.update(ANDROID_REQUEST_OUTPUT_STREAMS,
|
||||
outputStreamIds));
|
||||
|
|
|
@ -90,7 +90,7 @@ TEST_P(CameraFrameTest, GetFrame) {
|
|||
ASSERT_EQ(OK, mDevice->createDefaultRequest(CAMERA2_TEMPLATE_PREVIEW,
|
||||
&previewRequest));
|
||||
{
|
||||
Vector<uint8_t> outputStreamIds;
|
||||
Vector<int32_t> outputStreamIds;
|
||||
outputStreamIds.push(mStreamId);
|
||||
ASSERT_EQ(OK, previewRequest.update(ANDROID_REQUEST_OUTPUT_STREAMS,
|
||||
outputStreamIds));
|
||||
|
|
|
@ -270,7 +270,7 @@ public:
|
|||
int meteringStreamId,
|
||||
int captureStreamId) {
|
||||
int32_t requestId = 1;
|
||||
Vector<uint8_t> previewStreamIds;
|
||||
Vector<int32_t> previewStreamIds;
|
||||
previewStreamIds.push(previewStreamId);
|
||||
ASSERT_EQ(OK, mDevice->createDefaultRequest(CAMERA2_TEMPLATE_PREVIEW,
|
||||
&previewRequest));
|
||||
|
@ -284,7 +284,7 @@ public:
|
|||
uint8_t cmOff = static_cast<uint8_t>(ANDROID_CONTROL_MODE_OFF);
|
||||
uint8_t nrOff = static_cast<uint8_t>(ANDROID_NOISE_REDUCTION_MODE_OFF);
|
||||
uint8_t sharpOff = static_cast<uint8_t>(ANDROID_EDGE_MODE_OFF);
|
||||
Vector<uint8_t> meteringStreamIds;
|
||||
Vector<int32_t> meteringStreamIds;
|
||||
meteringStreamIds.push(meteringStreamId);
|
||||
ASSERT_EQ(OK, mDevice->createDefaultRequest(
|
||||
CAMERA2_TEMPLATE_PREVIEW,
|
||||
|
@ -307,7 +307,7 @@ public:
|
|||
|
||||
// Create capture request, manual settings
|
||||
requestId++;
|
||||
Vector<uint8_t> captureStreamIds;
|
||||
Vector<int32_t> captureStreamIds;
|
||||
captureStreamIds.push(captureStreamId);
|
||||
ASSERT_EQ(OK, mDevice->createDefaultRequest(
|
||||
CAMERA2_TEMPLATE_PREVIEW,
|
||||
|
|
Loading…
Reference in a new issue