commit | e9ddab648d6263218f9378a0e89cc21e823c53e6 | [log] [tgz] |
---|---|---|
author | Miao Wang <[email protected]> | Tue Sep 05 14:41:05 2017 -0700 |
committer | Miao Wang <[email protected]> | Fri Sep 08 15:18:13 2017 -0700 |
tree | a1da2a51901cb5cec35fc50e625a15f64197b0d2 | |
parent | 1bb9ad9c9d7fb31624cb85cbc6a0ead24132b884 [diff] |
Add support for mmaped file descriptor - create new API to create ANeuralNetworks_Memory from a mmaped fd. - add the corresponding Memory constructor to NeuralNetworksWrapper.h - Add unit test TestFd for the new API. Bug: 63905942 Test: mm Test: TestFd pass with CPU path. Test: TestFd pass on sample HIDL driver, with ag/2588539 Change-Id: I1fcb0f0bd01e58bd592e18eff11c27034ee4a4c3