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/ExternalStylusInputMapper.cpp b/services/inputflinger/reader/mapper/ExternalStylusInputMapper.cpp
index 987d2d0..7f7e0dd 100644
--- a/services/inputflinger/reader/mapper/ExternalStylusInputMapper.cpp
+++ b/services/inputflinger/reader/mapper/ExternalStylusInputMapper.cpp
@@ -63,8 +63,8 @@
 
 std::list<NotifyArgs> ExternalStylusInputMapper::process(const RawEvent* rawEvent) {
     std::list<NotifyArgs> out;
-    mSingleTouchMotionAccumulator.process(rawEvent);
-    mTouchButtonAccumulator.process(rawEvent);
+    mSingleTouchMotionAccumulator.process(*rawEvent);
+    mTouchButtonAccumulator.process(*rawEvent);
 
     if (rawEvent->type == EV_SYN && rawEvent->code == SYN_REPORT) {
         out += sync(rawEvent->when);