summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2015-03-04 00:04:51 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-03-04 00:04:52 +0000
commit27697a3d51b3e6c3c6619fdb8249af5885629610 (patch)
tree6c7ef38f08e10baf7567ce87ce626b09b9b9ef34 /services
parent56d517cb7a52ce8ce99afa4fdf822ff521921fe9 (diff)
parent4dd03b5b68dcd8eb5f5ffe2cfe93d26b8f08b848 (diff)
downloadframeworks_av-27697a3d51b3e6c3c6619fdb8249af5885629610.zip
frameworks_av-27697a3d51b3e6c3c6619fdb8249af5885629610.tar.gz
frameworks_av-27697a3d51b3e6c3c6619fdb8249af5885629610.tar.bz2
Merge "Remove redundant this->"
Diffstat (limited to 'services')
-rw-r--r--services/audioflinger/FastCapture.cpp12
-rw-r--r--services/audioflinger/FastMixer.cpp12
2 files changed, 12 insertions, 12 deletions
diff --git a/services/audioflinger/FastCapture.cpp b/services/audioflinger/FastCapture.cpp
index d7c9a1f..2a10b4b 100644
--- a/services/audioflinger/FastCapture.cpp
+++ b/services/audioflinger/FastCapture.cpp
@@ -86,9 +86,9 @@ bool FastCapture::isSubClassCommand(FastThreadState::Command command)
void FastCapture::onStateChange()
{
- const FastCaptureState * const current = (const FastCaptureState *) this->mCurrent;
- const FastCaptureState * const previous = (const FastCaptureState *) this->mPrevious;
- FastCaptureDumpState * const dumpState = (FastCaptureDumpState *) this->mDumpState;
+ const FastCaptureState * const current = (const FastCaptureState *) mCurrent;
+ const FastCaptureState * const previous = (const FastCaptureState *) mPrevious;
+ FastCaptureDumpState * const dumpState = (FastCaptureDumpState *) mDumpState;
const size_t frameCount = current->mFrameCount;
bool eitherChanged = false;
@@ -156,9 +156,9 @@ void FastCapture::onStateChange()
void FastCapture::onWork()
{
- const FastCaptureState * const current = (const FastCaptureState *) this->mCurrent;
- FastCaptureDumpState * const dumpState = (FastCaptureDumpState *) this->mDumpState;
- const FastCaptureState::Command command = this->mCommand;
+ const FastCaptureState * const current = (const FastCaptureState *) mCurrent;
+ FastCaptureDumpState * const dumpState = (FastCaptureDumpState *) mDumpState;
+ const FastCaptureState::Command command = mCommand;
const size_t frameCount = current->mFrameCount;
if ((command & FastCaptureState::READ) /*&& isWarm*/) {
diff --git a/services/audioflinger/FastMixer.cpp b/services/audioflinger/FastMixer.cpp
index a28d40b..e070f90 100644
--- a/services/audioflinger/FastMixer.cpp
+++ b/services/audioflinger/FastMixer.cpp
@@ -136,9 +136,9 @@ bool FastMixer::isSubClassCommand(FastThreadState::Command command)
void FastMixer::onStateChange()
{
- const FastMixerState * const current = (const FastMixerState *) this->mCurrent;
- const FastMixerState * const previous = (const FastMixerState *) this->mPrevious;
- FastMixerDumpState * const dumpState = (FastMixerDumpState *) this->mDumpState;
+ const FastMixerState * const current = (const FastMixerState *) mCurrent;
+ const FastMixerState * const previous = (const FastMixerState *) mPrevious;
+ FastMixerDumpState * const dumpState = (FastMixerDumpState *) mDumpState;
const size_t frameCount = current->mFrameCount;
// handle state change here, but since we want to diff the state,
@@ -323,9 +323,9 @@ void FastMixer::onStateChange()
void FastMixer::onWork()
{
- const FastMixerState * const current = (const FastMixerState *) this->mCurrent;
- FastMixerDumpState * const dumpState = (FastMixerDumpState *) this->mDumpState;
- const FastMixerState::Command command = this->mCommand;
+ const FastMixerState * const current = (const FastMixerState *) mCurrent;
+ FastMixerDumpState * const dumpState = (FastMixerDumpState *) mDumpState;
+ const FastMixerState::Command command = mCommand;
const size_t frameCount = current->mFrameCount;
if ((command & FastMixerState::MIX) && (mMixer != NULL) && mIsWarm) {