diff options
author | Avichal Rakesh <arakesh@google.com> | 2022-03-09 01:00:34 +0000 |
---|---|---|
committer | Avichal Rakesh <arakesh@google.com> | 2022-03-09 21:55:24 +0000 |
commit | fbcf7ea5143a51059fadbf74e56508c6dd095a67 (patch) | |
tree | d782f9f102e91cba0ae98e18d17a1edd2a5277ed /camera/common/1.0/default/CameraModule.cpp | |
parent | 2bb879d8bb843a33171c32e058587c41355f27ac (diff) |
Camera: Misc VTS test fixes
This CL fixes two tests:
* `systemCameraTest`: Fix incorrect vector initialization. The test was
accidentally using the size constructor instead of initialization list
constructor.
* `processMultiCaptureRequestPreview`: Allow unsupported stream configs.
The test assumed that all stream combinations from physical cameras
that back a LogicalMultiCamera were supported. This led to false
test failures. This CL allows the test to exit early if the HAL
reports that a stream combination is not supported.
Bug: 222648486
Test: `test VtsAidlHalCameraProvider_TargetTest` pass on failing devices
Change-Id: I009cc2f4b8b94a26b813883cdc1403ae0eb5c477
Diffstat (limited to 'camera/common/1.0/default/CameraModule.cpp')
0 files changed, 0 insertions, 0 deletions