Support VSYNCID custom query for the merged input trace

TracesParserInput merges the individual key and motion event traces by
their timestamp. When there is a query for VSYNC IDs for a range of
entries, break down the query into two queries for the sub-traces, and
return the merged result.

Bug: 332714237
Bug: 210460522
Test: presubmit
Flag: NONE dev tool only
Change-Id: I7fde552687808e39b5bc2d7db1a2c221d9468c17
2 files changed