Loading services/inputflinger/Android.bp +3 −0 Original line number Diff line number Diff line Loading @@ -37,6 +37,9 @@ cc_library_shared { ], cflags: [ "-Wall", "-Wextra", "-Werror", "-Wno-unused-parameter", // TODO: Move inputflinger to its own process and mark it hidden //-fvisibility=hidden Loading services/inputflinger/EventHub.cpp +0 −6 Original line number Diff line number Diff line Loading @@ -69,12 +69,6 @@ namespace android { static const char *WAKE_LOCK_ID = "KeyEvents"; static const char *DEVICE_PATH = "/dev/input"; /* return the larger integer */ static inline int max(int v1, int v2) { return (v1 > v2) ? v1 : v2; } static inline const char* toString(bool value) { return value ? "true" : "false"; } Loading services/inputflinger/InputDispatcher.cpp +0 −2 Original line number Diff line number Diff line Loading @@ -1132,8 +1132,6 @@ int32_t InputDispatcher::findTouchedWindowTargetsLocked(nsecs_t currentTime, INJECTION_PERMISSION_DENIED }; nsecs_t startTime = now(); // For security reasons, we defer updating the touch state until we are sure that // event injection will be allowed. int32_t displayId = entry->displayId; Loading services/inputflinger/host/Android.bp +4 −0 Original line number Diff line number Diff line Loading @@ -32,6 +32,8 @@ cc_library_shared { ], cflags: [ "-Wall", "-Werror", "-Wno-unused-parameter", // TODO: Move inputflinger to its own process and mark it hidden //-fvisibility=hidden Loading @@ -47,6 +49,8 @@ cc_binary { srcs: ["main.cpp"], cflags: ["-Wall", "-Werror"], shared_libs: [ "libbinder", "libinputflingerhost", Loading services/inputflinger/tests/Android.bp +5 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,11 @@ cc_test { "InputDispatcher_test.cpp", ], test_per_src: true, cflags: ["-Wno-unused-parameter"], cflags: [ "-Wall", "-Werror", "-Wno-unused-parameter", ], shared_libs = [ "libcutils", "liblog", Loading Loading
services/inputflinger/Android.bp +3 −0 Original line number Diff line number Diff line Loading @@ -37,6 +37,9 @@ cc_library_shared { ], cflags: [ "-Wall", "-Wextra", "-Werror", "-Wno-unused-parameter", // TODO: Move inputflinger to its own process and mark it hidden //-fvisibility=hidden Loading
services/inputflinger/EventHub.cpp +0 −6 Original line number Diff line number Diff line Loading @@ -69,12 +69,6 @@ namespace android { static const char *WAKE_LOCK_ID = "KeyEvents"; static const char *DEVICE_PATH = "/dev/input"; /* return the larger integer */ static inline int max(int v1, int v2) { return (v1 > v2) ? v1 : v2; } static inline const char* toString(bool value) { return value ? "true" : "false"; } Loading
services/inputflinger/InputDispatcher.cpp +0 −2 Original line number Diff line number Diff line Loading @@ -1132,8 +1132,6 @@ int32_t InputDispatcher::findTouchedWindowTargetsLocked(nsecs_t currentTime, INJECTION_PERMISSION_DENIED }; nsecs_t startTime = now(); // For security reasons, we defer updating the touch state until we are sure that // event injection will be allowed. int32_t displayId = entry->displayId; Loading
services/inputflinger/host/Android.bp +4 −0 Original line number Diff line number Diff line Loading @@ -32,6 +32,8 @@ cc_library_shared { ], cflags: [ "-Wall", "-Werror", "-Wno-unused-parameter", // TODO: Move inputflinger to its own process and mark it hidden //-fvisibility=hidden Loading @@ -47,6 +49,8 @@ cc_binary { srcs: ["main.cpp"], cflags: ["-Wall", "-Werror"], shared_libs: [ "libbinder", "libinputflingerhost", Loading
services/inputflinger/tests/Android.bp +5 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,11 @@ cc_test { "InputDispatcher_test.cpp", ], test_per_src: true, cflags: ["-Wno-unused-parameter"], cflags: [ "-Wall", "-Werror", "-Wno-unused-parameter", ], shared_libs = [ "libcutils", "liblog", Loading