summaryrefslogtreecommitdiff
path: root/include/gui/ConsumerBase.h
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2016-09-26 18:10:16 -0700
committer Colin Cross <ccross@android.com> 2016-09-30 22:15:12 +0000
commitdc782511dcaf46c7fa7488391cc27f0d0be354b0 (patch)
treef8719c0895e14e2474a46d2d0e6c85e3416bbea2 /include/gui/ConsumerBase.h
parent6e7e2b44efa6427cc106b20cea76d9a80dadcac9 (diff)
Rename dump methods to dumpState
The dump methods shadow the IBinder dump method. The warnings were being hidden by the use of -isystem to include frameworks/native/include. Bug: 31752268 Test: m -j Change-Id: Iafc64da43032d5d9d84b64640e70d93fd7051bcf (cherry picked from commit 3d1d280fa3cbc30700f728a4b13e5308315433d3)
Diffstat (limited to 'include/gui/ConsumerBase.h')
-rw-r--r--include/gui/ConsumerBase.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/gui/ConsumerBase.h b/include/gui/ConsumerBase.h
index de61662fe0..9f8b638a3a 100644
--- a/include/gui/ConsumerBase.h
+++ b/include/gui/ConsumerBase.h
@@ -63,11 +63,11 @@ public:
// log messages.
void setName(const String8& name);
- // dump writes the current state to a string. Child classes should add
+ // dumpState writes the current state to a string. Child classes should add
// their state to the dump by overriding the dumpLocked method, which is
// called by these methods after locking the mutex.
- void dump(String8& result) const;
- void dump(String8& result, const char* prefix) const;
+ void dumpState(String8& result) const;
+ void dumpState(String8& result, const char* prefix) const;
// setFrameAvailableListener sets the listener object that will be notified
// when a new frame becomes available.