Move EventBuilders.h next to MotionEvent definitions
This allows these builders to be accessed by code in other locations,
which is useful for writing other tests.
Test: `atest frameworks/native/services/inputflinger/tests/InputDispatcher_test.cpp`
Test: `atest frameworks/native/services/inputflinger/tests/InputDeviceMetricsCollector_test.cpp`
Bug: 268245099
Change-Id: I7bca675e0b83673a30db2f1c06abda4369b69c42
diff --git a/services/inputflinger/tests/InputDispatcher_test.cpp b/services/inputflinger/tests/InputDispatcher_test.cpp
index cef1791..4433cf3 100644
--- a/services/inputflinger/tests/InputDispatcher_test.cpp
+++ b/services/inputflinger/tests/InputDispatcher_test.cpp
@@ -16,7 +16,6 @@
#include "../dispatcher/InputDispatcher.h"
#include "../BlockingQueue.h"
-#include "EventBuilders.h"
#include <android-base/properties.h>
#include <android-base/silent_death_test.h>
@@ -26,6 +25,7 @@
#include <fcntl.h>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
+#include <input/EventBuilders.h>
#include <input/Input.h>
#include <linux/input.h>
#include <sys/epoll.h>