summaryrefslogtreecommitdiff
path: root/libs/ultrahdr/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author Daniele Di Proietto <ddiproietto@google.com> 2023-08-18 13:26:36 +0000
committer Daniele Di Proietto <ddiproietto@google.com> 2023-08-18 13:32:38 +0000
commit05f38d15e05369e229c89651f17342e4fb5b6fe3 (patch)
tree6bc5c61210083aa1b43e7d170d58de4233c61cef /libs/ultrahdr/jpegencoderhelper.cpp
parentc3ad2e35b83f1b6281d4d408d2c35bed68c1002c (diff)
FrameTraceTest: Account for extra perfetto trace packet
Due to a bug in perfetto, the last trace packet was always lost. The test worked around that by making sure that there always was a meaningless packet at the end, often created with traceTimestamp(... UNSPECIFIED). Now the bug in perfetto is being fixed. We cannot simply remove traceTimestamp(... UNSPECIFIED) everywhere because often that also generated useful packets. This CL fixes the problem by updating the expectations to consider this last packet as well. Also, some EXPECT are converted to ASSERT, to prevent accessing invalid memory if the tests fail. Bug: 162206162 Change-Id: Ibf7b83bd3953ab575ea6ebc350123cea830fecd2
Diffstat (limited to 'libs/ultrahdr/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions