diff options
author | Jeff Brown <jeffbrown@google.com> | 2010-09-30 15:57:29 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2010-09-30 15:57:29 -0700 |
commit | 5d3cef8a6d1baec29512764b9e0ba240ccd7fcfe (patch) | |
tree | c6d4d8897432b817a210424db0c11e82ce82c30b /include | |
parent | cfba8c0337e9a8d55389bcae7caa7a8db230f711 (diff) | |
parent | e0c12c8803a7e2457098afc5dbf00e501d725fa0 (diff) | |
download | frameworks_base-5d3cef8a6d1baec29512764b9e0ba240ccd7fcfe.zip frameworks_base-5d3cef8a6d1baec29512764b9e0ba240ccd7fcfe.tar.gz frameworks_base-5d3cef8a6d1baec29512764b9e0ba240ccd7fcfe.tar.bz2 |
am e0c12c88: Merge "Move verbose logging of device capabilities to dumpsys." into gingerbread
Merge commit 'e0c12c8803a7e2457098afc5dbf00e501d725fa0' into gingerbread-plus-aosp
* commit 'e0c12c8803a7e2457098afc5dbf00e501d725fa0':
Move verbose logging of device capabilities to dumpsys.
Diffstat (limited to 'include')
-rw-r--r-- | include/ui/InputReader.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/include/ui/InputReader.h b/include/ui/InputReader.h index e85735a..d3fbaf7 100644 --- a/include/ui/InputReader.h +++ b/include/ui/InputReader.h @@ -308,9 +308,6 @@ private: GetStateFunc getStateFunc); bool markSupportedKeyCodes(int32_t deviceId, uint32_t sourceMask, size_t numCodes, const int32_t* keyCodes, uint8_t* outFlags); - - // dump state - void dumpDeviceInfo(String8& dump); }; @@ -340,6 +337,7 @@ public: inline bool isIgnored() { return mMappers.isEmpty(); } + void dump(String8& dump); void addMapper(InputMapper* mapper); void configure(); void reset(); @@ -393,6 +391,7 @@ public: virtual uint32_t getSources() = 0; virtual void populateDeviceInfo(InputDeviceInfo* deviceInfo); + virtual void dump(String8& dump); virtual void configure(); virtual void reset(); virtual void process(const RawEvent* rawEvent) = 0; @@ -436,6 +435,7 @@ public: virtual uint32_t getSources(); virtual void populateDeviceInfo(InputDeviceInfo* deviceInfo); + virtual void dump(String8& dump); virtual void reset(); virtual void process(const RawEvent* rawEvent); @@ -484,6 +484,7 @@ public: virtual uint32_t getSources(); virtual void populateDeviceInfo(InputDeviceInfo* deviceInfo); + virtual void dump(String8& dump); virtual void reset(); virtual void process(const RawEvent* rawEvent); @@ -540,6 +541,7 @@ public: virtual uint32_t getSources(); virtual void populateDeviceInfo(InputDeviceInfo* deviceInfo); + virtual void dump(String8& dump); virtual void configure(); virtual void reset(); @@ -761,15 +763,16 @@ protected: } mLocked; virtual void configureParameters(); - virtual void logParameters(); + virtual void dumpParameters(String8& dump); virtual void configureRawAxes(); - virtual void logRawAxes(); + virtual void dumpRawAxes(String8& dump); virtual bool configureSurfaceLocked(); - virtual void logMotionRangesLocked(); + virtual void dumpSurfaceLocked(String8& dump); virtual void configureVirtualKeysLocked(); + virtual void dumpVirtualKeysLocked(String8& dump); virtual void parseCalibration(); virtual void resolveCalibration(); - virtual void logCalibration(); + virtual void dumpCalibration(String8& dump); enum TouchResult { // Dispatch the touch normally. |