platform_hardware_interfaces/neuralnetworks
Xusong Wang d2ecde5c54 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
2021-08-23 11:41:46 -07:00
..
1.0 Revert^2 "Making NN hardware interface libs "host supported"" 2021-08-11 21:54:44 +00:00
1.1 Revert^2 "Making NN hardware interface libs "host supported"" 2021-08-11 21:54:44 +00:00
1.2 Revert^2 "Making NN hardware interface libs "host supported"" 2021-08-11 21:54:44 +00:00
1.3 Merge "Revert^2 "Making NN hardware interface libs "host supported""" 2021-08-12 16:01:47 +00:00
aidl Fix use-after-free crash in VtsHalNeuralnetworksTargetTest. 2021-08-23 11:41:46 -07:00
utils Merge "Revert^2 "Making NN hardware interface libs "host supported""" 2021-08-12 16:01:47 +00:00
README Add README to NeuralNetworks HAL 2018-03-05 12:59:35 -08:00
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.