summaryrefslogtreecommitdiff
path: root/identity/support/src/cppbor_parse.cpp
diff options
context:
space:
mode:
authorMichael Butler <butlermichael@google.com>2019-04-26 17:46:08 -0700
committerMichael Butler <butlermichael@google.com>2019-04-29 23:56:48 +0000
commit20f28a24e908d54f4708ad17943154fb61a4c770 (patch)
tree61bb1e3b4f0cafbb7b506fb47e80fd93d301d3ec /identity/support/src/cppbor_parse.cpp
parent3129bda3961945e03e1242ee63524e431525bf67 (diff)
Add validation tests for NNAPI Burst serialized format
This CL adds the following two types of validation tests on the NNAPI Burst serialized format: (1) it directly modifies the serialized data (invalidating it) to ensure that vendor driver services properly validates the serialized request (2) it ensures that vendor driver services properly fail when the result channel is not large enough to return the data This CL additionally includes miscellaneous cleanups: (1) having a generic "validateEverything" function (2) moving the "prepareModel" function that's common across validateRequest and validateBurst to a common area Fixes: 129779280 Bug: 129157135 Test: mma Test: VtsHalNeuralnetworksV1_2TargetTest (with sample-all) Change-Id: Ib90fe7f662824de17db5a254a8c501855e45f6bd
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions