platform_hardware_interfaces/neuralnetworks
Michael Butler cca3e20e23 Cleanup how transport errors are handled in NN utils
Prior to this change, whenever the NN utility code encountered a HIDL
transport error, the error message would display the file and line
number of the "handleTransportError" function itself. This change
introduces a new macro "HANDLE_TRANSPORT_FAILURE" that handles the
transport error in a similar way but now the error message displays
the file and line number of where the macro is called.

Bug: N/A
Test: mma
Change-Id: I35b34f8f5be52b7fcff0fbb58a37ab2b8c7dd8bb
Merged-In: I35b34f8f5be52b7fcff0fbb58a37ab2b8c7dd8bb
(cherry picked from commit 61f508e018)
2020-12-07 22:38:16 -08:00
..
1.0 Cleanup how transport errors are handled in NN utils 2020-12-07 22:38:16 -08:00
1.1 Cleanup how transport errors are handled in NN utils 2020-12-07 22:38:16 -08:00
1.2 Cleanup how transport errors are handled in NN utils 2020-12-07 22:38:16 -08:00
1.3 Cleanup how transport errors are handled in NN utils 2020-12-07 22:38:16 -08:00
utils Cleanup how transport errors are handled in NN utils 2020-12-07 22:38:16 -08:00
README Add README to NeuralNetworks HAL 2018-03-05 12:59:35 -08:00
TEST_MAPPING Move VtsHalNeuralnetworksV1_2/3TargetTest to group presubmit-large 2020-12-03 12:10:46 -08:00

NeuralNetworks sample driver implementation is located at
frameworks/ml/nn/driver/sample.