input accumulators: pass RawEvent references instead of pointers

Change-Id: I7f538b3e08704df7c99e13e59302832dfe517a1d
Test: atest inputflinger_test
Test: manually test a multi-touch screen, touchpad, mouse, and drawing
      tablet works
Bug: 245989146
Flag: EXEMPT refactor
diff --git a/services/inputflinger/reader/mapper/TouchInputMapper.cpp b/services/inputflinger/reader/mapper/TouchInputMapper.cpp
index 8b4b691..1e9f28a 100644
--- a/services/inputflinger/reader/mapper/TouchInputMapper.cpp
+++ b/services/inputflinger/reader/mapper/TouchInputMapper.cpp
@@ -1416,9 +1416,9 @@
 }
 
 std::list<NotifyArgs> TouchInputMapper::process(const RawEvent* rawEvent) {
-    mCursorButtonAccumulator.process(rawEvent);
-    mCursorScrollAccumulator.process(rawEvent);
-    mTouchButtonAccumulator.process(rawEvent);
+    mCursorButtonAccumulator.process(*rawEvent);
+    mCursorScrollAccumulator.process(*rawEvent);
+    mTouchButtonAccumulator.process(*rawEvent);
 
     std::list<NotifyArgs> out;
     if (rawEvent->type == EV_SYN && rawEvent->code == SYN_REPORT) {