Also add tighter checks to make sure we didn't drop events. Bug: 240617890 Test: libtrusty_metrics_test Change-Id: I0029d91ad0ff67eb97913b2316efca627b118616
Flakiness was observed in this build: https://android-build.googleplex.com/builds/pending/P35853772/qemu_generic_arm32_gicv3_test_debug/latest/view/logs/build_error.log But most other builds do not have this issue. Bug: 234788755 Change-Id: I4cf7d05a56eb678164bf0006bfb190442d6d4e03
Bug: 182489121 Test: libtrusty_metrics_test Change-Id: I7fc45ea3319185a8ac55889e56bd484d4774e928