Searched refs:newLevel (Results 1 – 1 of 1) sorted by relevance
158 bool PowerSwitch::setLevel (PowerLevel newLevel) in setLevel() argument165 ALOGV("%s: level=%s (%u)", fn, powerLevelToString(newLevel), newLevel); in setLevel()166 if (mCurrLevel == newLevel) in setLevel()178 if ( (mCurrLevel == LOW_POWER && newLevel == FULL_POWER) || in setLevel()179 (mCurrLevel == FULL_POWER && newLevel == LOW_POWER) ) in setLevel()191 switch (newLevel) in setLevel()