[MULTIMETER] Fix for abnormally high lipsync values + minor bug fixes

b/62488246: Adding new option "debug-without-hardware"
b//62460723: Supressing exception thrown when calling device.unlock() if unsupported.
b/38205685:
IP multimeter ignore poorly triggered lipsync times

The multimeter tests have been reporting high values for
lipsync max time recently. These have been tracked to single
instances (per run) of a spurious black output frame. The lip
sync indicator triggers off of this extra frame. Since the
spurious frame comes almost a second early, the lipsync calculations
for that frame turn out to be almost a second (we see 900 msec).

The lipsync indicators (sound + black frame) are supposed to be
every 2 seconds. This change ignores lipsync reports if they are
less than 1.5 seconds after the previous one.

Bug: 38205685
Bug: 62488246
Bug: 62460723
Test: atp test  asit/media/video_performance
Change-Id: I3bbf86fd3fe2fe60ced857aaa6e8aec639a30075
2 files changed
tree: 326714f10b63c320faae748e0eda0d985db7631a
  1. src/