Improve validation of the HAL structures.

Add a lot of validation of the structures passed in the HAL.
Particularly important are those that operands & arguments
don't try to reach out of their memory blocks.

Also grabs a few missing generated tests.

Bug: 67828197
Test: System tests & VTS tests.

Change-Id: I2edf6219fc660fab7c5b6a73e7a9cb8a358fb29b
19 files changed
tree: fc548dea02fef76f28bd035a474dab345b453388
  1. common/
  2. driver/
  3. runtime/
  4. tools/
  5. Android.bp
  6. README.txt