Add benchmarks for InputDispatcher

No logs are generated when these benchmarks are ran.

Bug: none
Test: atest inputflinger_benchmarks
Change-Id: Ifce2518657b2f266f8e8ccfaabac1331ecdf7935
diff --git a/services/inputflinger/tests/InputDispatcher_test.cpp b/services/inputflinger/tests/InputDispatcher_test.cpp
index 994010b..b7f7ac5 100644
--- a/services/inputflinger/tests/InputDispatcher_test.cpp
+++ b/services/inputflinger/tests/InputDispatcher_test.cpp
@@ -505,7 +505,7 @@
             const std::string name, int32_t displayId) :
                 mDispatcher(dispatcher), mName(name), mDisplayId(displayId) {
             InputChannel::openInputChannelPair(name, mServerChannel, mClientChannel);
-            mConsumer = new InputConsumer(mClientChannel);
+            mConsumer = std::make_unique<InputConsumer>(mClientChannel);
         }
 
         virtual ~FakeInputReceiver() {
@@ -518,7 +518,7 @@
 
         sp<InputDispatcher> mDispatcher;
         sp<InputChannel> mServerChannel, mClientChannel;
-        InputConsumer *mConsumer;
+        std::unique_ptr<InputConsumer> mConsumer;
         PreallocatedInputEventFactory mEventFactory;
 
         std::string mName;