mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
The test failed when one of the three cameras was configured with a maximum android.scaler.availableStreamConfiguration size of 1600*1200
VTS gets the name of all the cameras in the machine and check each camera, When traversal to the configuration reference of 1600*1200 camera, the outputPreviewStreams variable does not clear, save the value of the Previous camera The outputPreviewStreams variable needs to be cleared when check next camera Bug: 122806546 Test: ConfigureStreamsWithSessionParameters can pass when one of the three cameras was configured with a maximum android.scaler.availableStreamConfiguration size of 1600*1200 Change-Id: Ia4845d43871730e14b5ba1411ce72f8c4bb69042 Merged-In: Ia4845d43871730e14b5ba1411ce72f8c4bb69042
This commit is contained in:
@@ -2896,6 +2896,8 @@ TEST_F(CameraHidlTest, configureStreamsWithSessionParameters) {
|
||||
continue;
|
||||
}
|
||||
|
||||
outputPreviewStreams.clear();
|
||||
|
||||
ASSERT_EQ(Status::OK, getAvailableOutputStreams(staticMetaBuffer, outputPreviewStreams,
|
||||
&previewThreshold));
|
||||
ASSERT_NE(0u, outputPreviewStreams.size());
|
||||
|
||||
Reference in New Issue
Block a user