Lines Matching refs:PowerSwitch
37 PowerSwitch PowerSwitch::sPowerSwitch;
38 const PowerSwitch::PowerActivity PowerSwitch::DISCOVERY = 0x01;
39 const PowerSwitch::PowerActivity PowerSwitch::SE_ROUTING = 0x02;
40 const PowerSwitch::PowerActivity PowerSwitch::SE_CONNECTED = 0x04;
41 const PowerSwitch::PowerActivity PowerSwitch::HOST_ROUTING = 0x08;
52 PowerSwitch::PowerSwitch() in PowerSwitch() function in PowerSwitch
68 PowerSwitch::~PowerSwitch() {} in ~PowerSwitch()
79 PowerSwitch& PowerSwitch::getInstance() { return sPowerSwitch; } in getInstance()
90 void PowerSwitch::initialize(PowerLevel level) { in initialize()
130 PowerSwitch::PowerLevel PowerSwitch::getLevel() { in getLevel()
148 bool PowerSwitch::setLevel(PowerLevel newLevel) { in setLevel()
209 bool PowerSwitch::setScreenOffPowerState(ScreenOffPowerState newState) { in setScreenOffPowerState()
230 bool PowerSwitch::setModeOff(PowerActivity deactivated) { in setModeOff()
252 bool PowerSwitch::setModeOn(PowerActivity activated) { in setModeOn()
275 bool PowerSwitch::setPowerOffSleepState(bool sleep) { in setPowerOffSleepState()
359 const char* PowerSwitch::deviceMgtPowerStateToString( in deviceMgtPowerStateToString()
381 const char* PowerSwitch::powerLevelToString(PowerLevel level) { in powerLevelToString()
406 const char* PowerSwitch::screenOffPowerStateToString( in screenOffPowerStateToString()
429 void PowerSwitch::abort() { in abort()
447 void PowerSwitch::deviceManagementCallback(uint8_t event, in deviceManagementCallback()
481 bool PowerSwitch::isPowerOffSleepFeatureEnabled() { in isPowerOffSleepFeatureEnabled()