Convert input event type to enum class
This will increase type safety and simplify some of the printing. Bug: 274073185 Test: m checkinput Change-Id: I848c2f156cc23232c50d2338b4788be3232dba1a
Showing
- include/input/Input.h 23 additions, 8 deletionsinclude/input/Input.h
- libs/gui/tests/EndToEndNativeInputTest.cpp 9 additions, 9 deletionslibs/gui/tests/EndToEndNativeInputTest.cpp
- libs/input/Input.cpp 70 additions, 56 deletionslibs/input/Input.cpp
- libs/input/android/os/InputEventInjectionSync.aidl 3 additions, 0 deletionslibs/input/android/os/InputEventInjectionSync.aidl
- libs/input/tests/InputEvent_test.cpp 2 additions, 2 deletionslibs/input/tests/InputEvent_test.cpp
- libs/input/tests/InputPublisherAndConsumer_test.cpp 6 additions, 7 deletionslibs/input/tests/InputPublisherAndConsumer_test.cpp
- services/inputflinger/Android.bp 1 addition, 0 deletionsservices/inputflinger/Android.bp
- services/inputflinger/dispatcher/InputDispatcher.cpp 15 additions, 19 deletionsservices/inputflinger/dispatcher/InputDispatcher.cpp
- services/inputflinger/tests/InputDispatcher_test.cpp 64 additions, 73 deletionsservices/inputflinger/tests/InputDispatcher_test.cpp
Loading
Please register or sign in to comment