Sensor direct report HardwareBuffer channel CTS test

Complete test case for sensor direct report Java API and NDK API with
HardwareBuffer/AHardwareBuffer (shared memory allocated by gralloc)
direct channel.

Bug: 30985702
Test: cts-tradefed run cts --module CtsSensorTestCases
      --test android.hardware.cts.SensorDirectReportTest
Test: cts-tradefed run cts --module CtsSensorTestCases
      --test android.hardware.cts.SensorNativeTest

Change-Id: Ic3806f0886220403318be7355f8a1c1d54cc9b5e
diff --git a/tests/sensor/jni/SensorTest.h b/tests/sensor/jni/SensorTest.h
index 2488db8..7abd1e9 100644
--- a/tests/sensor/jni/SensorTest.h
+++ b/tests/sensor/jni/SensorTest.h
@@ -43,7 +43,8 @@
     // tests
     void testInitialized(JNIEnv *env);
     void testInvalidParameter(JNIEnv *env);
-    void testGyroscopeSharedMemoryDirectReport(JNIEnv *env);
+    void testDirectReport(JNIEnv *env, int32_t sensorType, int32_t channelType, int32_t rateLevel);
+
 private:
     std::unique_ptr<TestSensorManager> mManager;
 };