Home | History | Annotate | Download | only in jni

Lines Matching refs:PowerSwitch

21 #include "PowerSwitch.h"
34 PowerSwitch PowerSwitch::sPowerSwitch;
35 const PowerSwitch::PowerActivity PowerSwitch::DISCOVERY=0x01;
36 const PowerSwitch::PowerActivity PowerSwitch::SE_ROUTING=0x02;
37 const PowerSwitch::PowerActivity PowerSwitch::SE_CONNECTED=0x04;
38 const PowerSwitch::PowerActivity PowerSwitch::HOST_ROUTING=0x08;
42 ** Function: PowerSwitch
49 PowerSwitch::PowerSwitch ()
61 ** Function: ~PowerSwitch
68 PowerSwitch::~PowerSwitch ()
82 PowerSwitch& PowerSwitch::getInstance ()
97 void PowerSwitch::initialize (PowerLevel level)
99 static const char fn [] = "PowerSwitch::initialize";
138 PowerSwitch::PowerLevel PowerSwitch::getLevel ()
158 bool PowerSwitch::setLevel (PowerLevel newLevel)
160 static const char fn [] = "PowerSwitch::setLevel";
222 bool PowerSwitch::setScreenOffPowerState (ScreenOffPowerState newState)
224 ALOGD ("PowerSwitch::setScreenOffPowerState: level=%s (%u)",
244 bool PowerSwitch::setModeOff (PowerActivity deactivated)
251 ALOGD ("PowerSwitch::setModeOff(deactivated=0x%x) : mCurrActivity=0x%x", deactivated, mCurrActivity);
266 bool PowerSwitch::setModeOn (PowerActivity activated)
273 ALOGD ("PowerSwitch::setModeOn(activated=0x%x) : mCurrActivity=0x%x", activated, mCurrActivity);
289 bool PowerSwitch::setPowerOffSleepState (bool sleep)
291 static const char fn [] = "PowerSwitch::setPowerOffSleepState";
376 const char* PowerSwitch::deviceMgtPowerStateToString (UINT8 deviceMgtPowerState)
400 const char* PowerSwitch::powerLevelToString (PowerLevel level)
427 const char* PowerSwitch::screenOffPowerStateToString (ScreenOffPowerState state)
451 void PowerSwitch::abort ()
453 static const char fn [] = "PowerSwitch::abort";
471 void PowerSwitch::deviceManagementCallback (UINT8 event, tNFA_DM_CBACK_DATA* eventData)
473 static const char fn [] = "PowerSwitch::deviceManagementCallback";
506 bool PowerSwitch::isPowerOffSleepFeatureEnabled ()