commit | 523e37e6383d21b874cba99c60355a1436bd93a8 | [log] [tgz] |
---|---|---|
author | Changyeon Jo <changyeon@google.com> | Thu Jun 18 21:04:41 2020 -0700 |
committer | Changyeon Jo <changyeon@google.com> | Thu Jun 18 21:06:19 2020 -0700 |
tree | 8fb0d22e8b4a477c7871f4eef35b16156612c1bb | |
parent | e98bce8cec55de7c380c3138a71810adb733ffdb [diff] |
Reserves memory for external buffers This change adds a line to reserve memory to hold externally allocated EVS frame buffers for CameraStreamExternalBuffering test. Fix: 159399273 Test: vts-tradefed run commandAndExit -m VtsHalEvsV1_1TargetTest Change-Id: I9e6b29580ac8357efd32b8fec434456e40cbaa58
diff --git a/automotive/evs/1.1/vts/functional/VtsHalEvsV1_1TargetTest.cpp b/automotive/evs/1.1/vts/functional/VtsHalEvsV1_1TargetTest.cpp index 6a386c3..8b68fd6 100644 --- a/automotive/evs/1.1/vts/functional/VtsHalEvsV1_1TargetTest.cpp +++ b/automotive/evs/1.1/vts/functional/VtsHalEvsV1_1TargetTest.cpp
@@ -2262,6 +2262,7 @@ // Allocate buffers to use hidl_vec<BufferDesc> buffers; + buffers.resize(kBuffersToHold); for (auto i = 0; i < kBuffersToHold; ++i) { unsigned pixelsPerLine; buffer_handle_t memHandle = nullptr;