Add TouchVideoDevice
TouchVideoDevice will represent a video device that reports heatmaps.
The heatmaps are strength of the signal at each point of the
touchscreen, taken at a particular time.
The only purpose of TouchVideoDevice is to read TouchVideoFrames.
Test: this is a partial cherry-pick of a standalone binary that was used
to pull heatmaps. Integration tested by observing the action of
InputClassifier HAL.
Bug: 111480215
Change-Id: Iba1b38114b156d4debb5966b803f3df6cdb1b91c
diff --git a/services/inputflinger/Android.bp b/services/inputflinger/Android.bp
index 1fbc6bf..0d8d34f 100644
--- a/services/inputflinger/Android.bp
+++ b/services/inputflinger/Android.bp
@@ -62,6 +62,7 @@
"EventHub.cpp",
"InputReader.cpp",
"InputReaderFactory.cpp",
+ "TouchVideoDevice.cpp",
],
shared_libs: [