Home
last modified time | relevance | path

Searched refs:newLevel (Results 1 – 1 of 1) sorted by relevance

/packages/apps/Nfc/nci/jni/
DPowerSwitch.cpp158 bool PowerSwitch::setLevel (PowerLevel newLevel) in setLevel() argument
165 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()