commit | 154e66e57a1796c2ce9b7581b34aba3459b304f8 | [log] [tgz] |
---|---|---|
author | Emilian Peev <epeev@google.com> | Wed May 16 19:04:35 2018 +0100 |
committer | Emilian Peev <epeev@google.com> | Wed May 16 19:07:38 2018 +0100 |
tree | c43eeedbc6eeb7b632e2cc22503deac6da8aa2bc | |
parent | 5acc0b1fa3b2793a85465d4342388c5c81664810 [diff] |
Camera: Append non-partial results Bug: 79133095 Test: run vts --skip-all-system-status-check --skip-preconditions --primary-abi-only --module VtsHalCameraProviderV2_4Target -l INFO Change-Id: Iac1318dfc095fb961b815d35bbff6b6a97173a05
diff --git a/camera/provider/2.4/vts/functional/VtsHalCameraProviderV2_4TargetTest.cpp b/camera/provider/2.4/vts/functional/VtsHalCameraProviderV2_4TargetTest.cpp index baffc78..ff7c0ee 100644 --- a/camera/provider/2.4/vts/functional/VtsHalCameraProviderV2_4TargetTest.cpp +++ b/camera/provider/2.4/vts/functional/VtsHalCameraProviderV2_4TargetTest.cpp
@@ -1013,6 +1013,10 @@ isPartialResult = (results.partialResult < request->numPartialResults); + } else if (resultSize > 0) { + request->collectedResult.append(reinterpret_cast<const camera_metadata_t*>( + resultMetadata.data())); + isPartialResult = false; } hasInputBufferInRequest = request->hasInputBuffer;