Lines Matching refs:level
91 void PowerSwitch::initialize(PowerLevel level) { in initialize() argument
96 LOG(DEBUG) << StringPrintf("%s: level=%s (%u)", fn, powerLevelToString(level), in initialize()
97 level); in initialize()
104 switch (level) { in initialize()
107 mCurrLevel = level; in initialize()
112 mCurrLevel = level; in initialize()
132 PowerLevel level = UNKNOWN_LEVEL; in getLevel() local
134 level = mCurrLevel; in getLevel()
136 return level; in getLevel()
378 const char* PowerSwitch::powerLevelToString(PowerLevel level) { in powerLevelToString() argument
379 switch (level) { in powerLevelToString()