summaryrefslogtreecommitdiffstats
path: root/services/input/InputReader.h
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2011-08-10 16:25:21 -0700
committerJeff Brown <jeffbrown@google.com>2011-08-10 16:25:21 -0700
commit89ef0720ee8e0ac6ae1758faa917e4d6c9606fb4 (patch)
tree2c239993b3d2702dd8becc03a738f1b151a4c4f1 /services/input/InputReader.h
parentba421dddfd558b34726df5dfbf8a3bf748e285b1 (diff)
downloadframeworks_base-89ef0720ee8e0ac6ae1758faa917e4d6c9606fb4.zip
frameworks_base-89ef0720ee8e0ac6ae1758faa917e4d6c9606fb4.tar.gz
frameworks_base-89ef0720ee8e0ac6ae1758faa917e4d6c9606fb4.tar.bz2
Add input system to Watchdog.
Bug: 5094994 Change-Id: I153866958efc64ac19bda8b997c1c9f6ad425ec4
Diffstat (limited to 'services/input/InputReader.h')
-rw-r--r--services/input/InputReader.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/services/input/InputReader.h b/services/input/InputReader.h
index e82c4e7..e9daef5 100644
--- a/services/input/InputReader.h
+++ b/services/input/InputReader.h
@@ -210,6 +210,9 @@ public:
* This method may be called on any thread (usually by the input manager). */
virtual void dump(String8& dump) = 0;
+ /* Called by the heatbeat to ensures that the reader has not deadlocked. */
+ virtual void monitor() = 0;
+
/* Runs a single iteration of the processing loop.
* Nominally reads and processes one incoming message from the EventHub.
*
@@ -297,6 +300,7 @@ public:
virtual ~InputReader();
virtual void dump(String8& dump);
+ virtual void monitor();
virtual void loopOnce();