Propagate execution failure from driver to NN API client.

There's no clear mapping from (driver) ErrorStatus to (API) ResultCode;
except that ANEURALNETWORKS_NO_ERROR is returned from API if and only if
ErrorStatus::NONE is returned from driver.

Test: NeuralNetworksTest_static

Bug: 73001894

Change-Id: I94771553a001cd9d594b14a79e1cad8470587db6
3 files changed
tree: 21cc82f7791d62502a721c8a0b37954a2032168d
  1. nn/
  2. OWNERS