dee204e13f
Prior to this CL, the AHardwareBuffer in TestBlobAHWB is released in the
destructor, but later used (unlock) during the destruction of the
mMapping member. This CL fixed this issue by managing the lifetime of
AHardwareBuffer with SharedMemory.
Bug: 197199690
Test: VtsHalNeuralnetworksTargetTest
Change-Id: I00748aaaa1a3a3d9b3b62bedb77a655ddb6e210f
Merged-In: I00748aaaa1a3a3d9b3b62bedb77a655ddb6e210f
(cherry picked from commit
|
||
---|---|---|
.. | ||
1.0 | ||
1.1 | ||
1.2 | ||
1.3 | ||
aidl | ||
utils | ||
README | ||
TEST_MAPPING |
NeuralNetworks sample driver implementation is located at frameworks/ml/nn/driver/sample.