[AWARE] Validate that forbidden callbacks aren't triggered

The test code already checks for unexpected callbacks - but that
only be checked at the app level. I.e. callbacks which were not
masked out by the framework. Add code which checks the actual HAL
callback count to verify that unexpected (forbidden) callbacks
aren't triggered.

Rationale: even if they don't reach the app they still indicate
that the HAL woke-up the host to deliver unwanted callbacks. This
can result in power increase.

Bug: 31940045
Test: Discovery tests (continue to) pass
Change-Id: I159d533bb15c790e911b6385fa3b3802fe949d22
1 file changed
tree: 23f86ad5a64bc9c1918c2740a5c5068633895702
  1. acts/
  2. tools/
  3. Android.mk
  4. PREUPLOAD.cfg