Michael Butler ddb770f0e4 NNAPI: validate that FmqResultDatum padding is 0 -- VTS
FmqResultDatum::OperandInformation has padding that may not be
initialized by an NN HAL service instance. This CL adds a validation
check to ensure that services are not leaking uninitialized data through
this padding region.

Bug: 131356202
Test: mma
Test: atest VtsHalNeuralnetworksV1_2TargetTest
      (for ValidationTest with sample-all)
Test: altered sample-driver to randomly set a padding byte to 1;
      the new validation test successfully failed the test

Change-Id: I6661945392b3fc773493d8f2f306f29b39e09bab
2019-05-07 18:42:47 +00:00
2019-03-22 11:58:07 -06:00
2019-04-23 12:00:59 +00:00
2019-03-11 18:56:17 -07:00
2019-03-04 11:27:17 -08:00
2019-03-04 11:27:17 -08:00
2019-03-04 11:27:17 -08:00
2019-03-04 11:27:17 -08:00
2019-04-10 22:39:48 +00:00
2019-03-04 11:27:17 -08:00
2019-03-04 11:27:17 -08:00
2019-03-04 11:27:17 -08:00
2019-03-04 11:27:17 -08:00
2019-03-04 11:27:17 -08:00
2019-02-27 12:22:54 +09:00
2016-08-30 11:28:36 -07:00
2016-08-30 11:28:36 -07:00
2019-02-12 11:25:14 -08:00
Description
No description provided
134 MiB
Languages
C++ 56.3%
AIDL 41.2%
C 1.5%
Rust 0.4%
Java 0.4%
Other 0.1%