Improve consecutive visible layer/window detection

The previous method was very slow (passed 3x throughout the whole trace) and hard to debug.

Replace it for a more efficient and easier to debug method that keeps track of the new layers in each trace entry and fails at the first error

Bug: 175027130
Test: atest FlickerLibTest:LayersTraceSubjectTest FlickerLibTest:WindowManagerTraceSubjectTest
Change-Id: I55ae2f606817d3f8f9536efa2d46cdb88852f2d5
6 files changed
tree: 47299ac4923ad0975dafe198fb5050ce258655fb
  1. build/
  2. docs/
  3. emu_test/
  4. libraries/
  5. scripts/
  6. tests/
  7. utils/
  8. PREUPLOAD.cfg