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.

Bug: 67828197
Test: System tests & VTS tests.
Change-Id: Ieae76c28bb45124bc1f36606e06b1f9604b49cac
2 files changed
tree: 7b4555e7265f386a2eaeab02e948b0f7f654a620
  1. 1.0/
  2. Android.bp