Add native test for sensor direct report NDK API
Add native test for the following NDK functions:
* ASensorManager_configureDirectReport
* ASensorManager_createAshmemDirectChannel
* ASensorManager_destroyDirectChannel
* ASensor_getHighestDirectReportRateLevel
* ASensor_isDirectChannelTypeSupported
Also tested the following NDK API as well as passing created shared
memory across process boundary (app to service).
* ASharedMemory_create
* ASharedMemory_getSize
Test: cts-tradefed run cts --module CtsSensorTestCases \
--test android.hardware.cts.SensorNativeTest
Change-Id: Ie225c42dda34cda3fcaf5ca405d82efecbdfaa80
8 files changed