summaryrefslogtreecommitdiffstats
path: root/include/ui
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2010-10-01 21:49:29 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-10-01 21:49:29 -0700
commit0f5f2e4c27612e2cda231473aec0c06838ff3750 (patch)
treee55ea53a7a492f40c19be493b6f063c8603e9b22 /include/ui
parent2874c3dec4f9ffd59b2be3de62c1148534396828 (diff)
parente11b76d3efb056edea301d53a354d0730adf3520 (diff)
downloadframeworks_base-0f5f2e4c27612e2cda231473aec0c06838ff3750.zip
frameworks_base-0f5f2e4c27612e2cda231473aec0c06838ff3750.tar.gz
frameworks_base-0f5f2e4c27612e2cda231473aec0c06838ff3750.tar.bz2
am e11b76d3: am f6295b35: Merge "Minor logging changes to input dispatcher to help with debugging." into gingerbread
Merge commit 'e11b76d3efb056edea301d53a354d0730adf3520' * commit 'e11b76d3efb056edea301d53a354d0730adf3520': Minor logging changes to input dispatcher to help with debugging.
Diffstat (limited to 'include/ui')
-rw-r--r--include/ui/EventHub.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/ui/EventHub.h b/include/ui/EventHub.h
index d6b09dc..d077d0e 100644
--- a/include/ui/EventHub.h
+++ b/include/ui/EventHub.h
@@ -181,6 +181,8 @@ public:
*/
virtual bool markSupportedKeyCodes(int32_t deviceId, size_t numCodes, const int32_t* keyCodes,
uint8_t* outFlags) const = 0;
+
+ virtual void dump(String8& dump) = 0;
};
class EventHub : public EventHubInterface
@@ -211,6 +213,8 @@ public:
virtual bool getEvent(RawEvent* outEvent);
+ virtual void dump(String8& dump);
+
protected:
virtual ~EventHub();
@@ -239,8 +243,8 @@ private:
~device_t();
};
- device_t* getDevice(int32_t deviceId) const;
- bool hasKeycode(device_t* device, int keycode) const;
+ device_t* getDeviceLocked(int32_t deviceId) const;
+ bool hasKeycodeLocked(device_t* device, int keycode) const;
int32_t getScanCodeStateLocked(device_t* device, int32_t scanCode) const;
int32_t getKeyCodeStateLocked(device_t* device, int32_t keyCode) const;