platform_hardware_interfaces/neuralnetworks/1.0/utils
Michael Butler 68b6926e3c Make NNAPI countNumberOfConsumers return GeneralResult -- hal
Previously, countNumberOfConsumers would trigger a CHECK if the input
was invalid. This CL makes countNumberOfConsumers gracefully fail on
errors, instead returning the error through the GeneralResult.

Bug: N/A
Test: mma
Change-Id: Iee54f87768e52fdf701c22d94083c053b881733d
Merged-In: Iee54f87768e52fdf701c22d94083c053b881733d
(cherry picked from commit c4d98007fd)
2021-02-19 17:34:32 -08:00
..
include/nnapi/hal/1.0 Change NNAPI Memory to ref-counted SharedMemory -- hal 2021-02-17 10:15:09 -08:00
src Make NNAPI countNumberOfConsumers return GeneralResult -- hal 2021-02-19 17:34:32 -08:00
test Create unit tests for NN interface utility code 2021-01-08 12:07:43 -08:00
Android.bp Create unit tests for NN interface utility code 2021-01-08 12:07:43 -08:00
OWNERS Create conversions to/from NNAPI canonical types 2020-10-05 12:47:57 -07:00