Michael Butler 6b0905cb69 Move NNAPI HAL CommonUtils to nnapi/SharedMemory -- hal
This CL relocates utility code that transfers data between pointer-based
memory and shared memory for Request objects and Model objects, moving
it from nnapi/hal/CommonUtils.h (hal utilities) to nnapi/SharedMemory.h
(canonical library).

This change also adds a check for whether Model and Requests have
pointer-based data in neuralnetworks/aidl/utils/src/Conversions.cpp to
make it consistent with the HIDL utility conversions.

Bug: 217217023
Test: mma
Test: presubmit
Change-Id: I55a0fea186708d806bc709681e10027a9e4b0ffb
2022-01-31 19:26:57 +00:00
2021-12-14 01:45:47 +00:00
2022-01-19 11:22:47 -08:00
2021-12-14 01:45:47 +00:00
2021-11-03 11:23:01 -07:00
2022-01-25 23:38:32 +00:00
2021-10-06 23:58:29 +00:00
2021-06-02 16:01:53 -07:00
2021-12-14 20:25:22 +00:00
2021-12-14 01:45:47 +00:00
2021-12-14 01:45:47 +00:00
2021-12-14 01:45:47 +00:00
2022-01-29 05:57:39 +00:00
2021-12-03 19:15:48 +00:00
2021-12-23 14:36:15 -08:00
2021-12-14 01:45:47 +00:00
2021-12-14 01:45:47 +00:00
2019-12-13 14:24:23 -08: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%