diff options
author | Michael Butler <butlermichael@google.com> | 2020-11-22 19:36:30 -0800 |
---|---|---|
committer | Michael Butler <butlermichael@google.com> | 2020-12-03 21:16:07 +0000 |
commit | 32acc0614402a35eed3407116ec359f4fdb60ecc (patch) | |
tree | 4dfd784b4b70b27fa9d4568f656f52b58777ba7b /audio/effect/all-versions/default/VisualizerEffect.cpp | |
parent | 77cbc7893726efa27e197928e1e2bb5d63464a55 (diff) |
Validate during NN conversions by default -- hal
This change renames all `convert` functions to `unvalidatedConvert`.
This change also introduces new `convert` functions that act only on the
types that appear in the NN HIDL methods directly. These new `convert`
functions perform validation. Specifically, if either the source or
destination value is invalid, then the conversion fails.
Bug: 160667419
Test: mma
Test: NeuralNetworksTest_static
Change-Id: I492956ff60ad1466c67893993d28cdd6f3860708
Diffstat (limited to 'audio/effect/all-versions/default/VisualizerEffect.cpp')
0 files changed, 0 insertions, 0 deletions