Loading camera/provider/2.4/vts/functional/VtsHalCameraProviderV2_4TargetTest.cpp +6 −1 Original line number Original line Diff line number Diff line Loading @@ -1209,7 +1209,12 @@ bool CameraHidlTest::DeviceCb::processCaptureResultLocked(const CaptureResult& r return notify; return notify; } } if (physicalCameraMetadata.size() != request->expectedPhysicalResults.size()) { // Physical device results are only expected in the last/final // partial result notification. bool expectPhysicalResults = !(request->usePartialResult && (results.partialResult < request->numPartialResults)); if (expectPhysicalResults && (physicalCameraMetadata.size() != request->expectedPhysicalResults.size())) { ALOGE("%s: Frame %d: Returned physical metadata count %zu " ALOGE("%s: Frame %d: Returned physical metadata count %zu " "must be equal to expected count %zu", __func__, frameNumber, "must be equal to expected count %zu", __func__, frameNumber, physicalCameraMetadata.size(), request->expectedPhysicalResults.size()); physicalCameraMetadata.size(), request->expectedPhysicalResults.size()); Loading Loading
camera/provider/2.4/vts/functional/VtsHalCameraProviderV2_4TargetTest.cpp +6 −1 Original line number Original line Diff line number Diff line Loading @@ -1209,7 +1209,12 @@ bool CameraHidlTest::DeviceCb::processCaptureResultLocked(const CaptureResult& r return notify; return notify; } } if (physicalCameraMetadata.size() != request->expectedPhysicalResults.size()) { // Physical device results are only expected in the last/final // partial result notification. bool expectPhysicalResults = !(request->usePartialResult && (results.partialResult < request->numPartialResults)); if (expectPhysicalResults && (physicalCameraMetadata.size() != request->expectedPhysicalResults.size())) { ALOGE("%s: Frame %d: Returned physical metadata count %zu " ALOGE("%s: Frame %d: Returned physical metadata count %zu " "must be equal to expected count %zu", __func__, frameNumber, "must be equal to expected count %zu", __func__, frameNumber, physicalCameraMetadata.size(), request->expectedPhysicalResults.size()); physicalCameraMetadata.size(), request->expectedPhysicalResults.size()); Loading