Michael Butler ab2f482af3 Store AHWB in NN canonical memory type -- hal
Prior to this CL, the canonical memory type only held a SharedHandle,
which mirrors the behavior of native_handle_t/hidl_handle. This means
memory types including AHardwareBuffer were stored as this SharedHandle
type. With this CL, the canonical memory type is stored directly as
AHardwareBuffer to avoid using non-NDK AHardwareBuffer calls in the NN
runtime.

Bug: 179906132
Test: mma
Test: NeuralNetworksTest_static
Test: presubmit
Change-Id: I394071c193d15ac0c90ac47e5a2a9a79c635db6c
Merged-In: I394071c193d15ac0c90ac47e5a2a9a79c635db6c
(cherry picked from commit bbe43d950e)
2021-02-17 10:15:39 -08:00
2020-09-26 04:11:28 +00:00
2021-02-11 20:43:23 +00:00
2020-09-26 04:11:28 +00:00
2020-09-26 04:11:28 +00:00
2021-02-04 20:10:14 +00:00
2020-09-26 04:11:28 +00:00
2021-01-08 15:57:56 +00:00
2020-12-07 21:23:12 +00:00
2021-02-02 21:47:49 +00:00
2019-12-13 14:24:23 -08:00
2020-12-07 21:23:12 +00:00
2016-08-30 11:28:36 -07:00
2020-12-16 18:09:12 +00:00
2021-01-21 15:06:51 +09:00
Description
No description provided
134 MiB
Languages
C++ 56.3%
AIDL 41.2%
C 1.5%
Rust 0.4%
Java 0.4%
Other 0.1%