Home | History | Annotate | Download | only in jni

Lines Matching defs:PowerSwitch

21 #include "PowerSwitch.h"
33 PowerSwitch PowerSwitch::sPowerSwitch;
34 const PowerSwitch::PowerActivity PowerSwitch::DISCOVERY=0x01;
35 const PowerSwitch::PowerActivity PowerSwitch::SE_ROUTING=0x02;
36 const PowerSwitch::PowerActivity PowerSwitch::SE_CONNECTED=0x04;
40 ** Function: PowerSwitch
47 PowerSwitch::PowerSwitch ()
58 ** Function: ~PowerSwitch
65 PowerSwitch::~PowerSwitch ()
79 PowerSwitch& PowerSwitch::getInstance ()
94 void PowerSwitch::initialize (PowerLevel level)
96 static const char fn [] = "PowerSwitch::initialize";
133 PowerSwitch::PowerLevel PowerSwitch::getLevel ()
153 bool PowerSwitch::setLevel (PowerLevel newLevel)
155 static const char fn [] = "PowerSwitch::setLevel";
204 bool PowerSwitch::setModeOff (PowerActivity deactivated)
211 ALOGD ("PowerSwitch::setModeOff(deactivated=0x%x) : mCurrActivity=0x%x", deactivated, mCurrActivity);
226 bool PowerSwitch::setModeOn (PowerActivity activated)
233 ALOGD ("PowerSwitch::setModeOn(activated=0x%x) : mCurrActivity=0x%x", activated, mCurrActivity);
249 bool PowerSwitch::setPowerOffSleepState (bool sleep)
251 static const char fn [] = "PowerSwitch::setPowerOffSleepState";
334 const char* PowerSwitch::deviceMgtPowerStateToString (UINT8 deviceMgtPowerState)
358 const char* PowerSwitch::powerLevelToString (PowerLevel level)
385 void PowerSwitch::abort ()
387 static const char fn [] = "PowerSwitch::abort";
405 void PowerSwitch::deviceManagementCallback (UINT8 event, tNFA_DM_CBACK_DATA* eventData)
407 static const char fn [] = "PowerSwitch::deviceManagementCallback";
435 bool PowerSwitch::isPowerOffSleepFeatureEnabled ()