platform_hardware_interfaces/neuralnetworks
Xusong Wang dee204e13f Fix use-after-free crash in VtsHalNeuralnetworksTargetTest.
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 d2ecde5c54)
2021-08-27 11:51:24 -07:00
..
1.0 Quickly exit VtsHalNeuralnetworks*TargetTest on failure 2021-08-25 18:07:20 +00:00
1.1 Quickly exit VtsHalNeuralnetworks*TargetTest on failure 2021-08-25 18:07:20 +00:00
1.2 Quickly exit VtsHalNeuralnetworks*TargetTest on failure 2021-08-25 18:07:20 +00:00
1.3 Quickly exit VtsHalNeuralnetworks*TargetTest on failure 2021-08-25 18:07:20 +00:00
aidl Fix use-after-free crash in VtsHalNeuralnetworksTargetTest. 2021-08-27 11:51:24 -07:00
utils Use proper alignment and padding for pointer arguments -- HAL. 2021-05-07 14:13:22 -07:00
README
TEST_MAPPING Add canonical types adapters for NNAPI AIDL interface 2021-03-16 11:57:04 -07:00

NeuralNetworks sample driver implementation is located at
frameworks/ml/nn/driver/sample.