Home
last modified time | relevance | path

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

/packages/apps/Nfc/nci/jni/
DPowerSwitch.cpp34 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;
49 PowerSwitch::PowerSwitch () in PowerSwitch() function in PowerSwitch
68 PowerSwitch::~PowerSwitch () in ~PowerSwitch()
82 PowerSwitch& PowerSwitch::getInstance () in getInstance()
97 void PowerSwitch::initialize (PowerLevel level) in initialize()
138 PowerSwitch::PowerLevel PowerSwitch::getLevel () in getLevel()
[all …]
DNativeNfcManager.cpp732 PowerSwitch::getInstance ().abort (); in nfaDeviceManagementCallback()
745 PowerSwitch::getInstance ().initialize (PowerSwitch::UNKNOWN_LEVEL); in nfaDeviceManagementCallback()
755 PowerSwitch::getInstance ().deviceManagementCallback (dmEvent, eventData); in nfaDeviceManagementCallback()
935 PowerSwitch & powerSwitch = PowerSwitch::getInstance (); in nfcManager_doInitialize()
943 powerSwitch.initialize (PowerSwitch::FULL_POWER); in nfcManager_doInitialize()
1052 PowerSwitch::getInstance ().setLevel (PowerSwitch::LOW_POWER); in nfcManager_doInitialize()
1098 PowerSwitch::getInstance ().setLevel (PowerSwitch::FULL_POWER); in nfcManager_enableDiscovery()
1163 PowerSwitch::getInstance ().setModeOn (PowerSwitch::DISCOVERY); in nfcManager_enableDiscovery()
1202 if (! PowerSwitch::getInstance ().setModeOff (PowerSwitch::DISCOVERY)) in nfcManager_disableDiscovery()
1203 PowerSwitch::getInstance ().setLevel (PowerSwitch::LOW_POWER); in nfcManager_disableDiscovery()
[all …]
DPowerSwitch.h32 class PowerSwitch
103 PowerSwitch ();
115 ~PowerSwitch ();
127 static PowerSwitch& getInstance ();
243 static PowerSwitch sPowerSwitch; //singleton object