diff options
author | Michael Butler <butlermichael@google.com> | 2021-06-07 13:10:58 -0700 |
---|---|---|
committer | Michael Butler <butlermichael@google.com> | 2021-06-08 20:14:52 -0700 |
commit | e52a77efaac461b306d1cea05d8490ab8156359e (patch) | |
tree | 5a5e2dcde2b9737421ed894a422bb63603307885 /identity/support/src/cppbor_parse.cpp | |
parent | c8861ece90c97af043afe969b6b9939e2565c592 (diff) |
Simplify NNAPI SharedHandle -- hal
Prior to this CL, the NNAPI represented SharedHandle as a collection of
file descriptors and a vector of ints to act as metadata. This struct
mirrored Android's native_handle_t. However, the NNAPI only uses
SharedHandle to hold a single file descriptor to hold a single cache
file.
A sibling CL simplifies the SharedHandle by changing it to be a single
ref-counted file descriptor. This CL makes changes to the HAL utility
code in response to the SharedHandle change.
Bug: N/A
Test: mma
Test: NeuralNetworksTest_static
Change-Id: Ib390ad76bcdadffd85f8c2c502189aaa7da483e4
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions