Home
last modified time | relevance | path

Searched refs:NfcTag (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Nfc/nci/jni/
DNativeNfcTag.cpp565 NfcTag& natTag = NfcTag::getInstance (); in nativeNfcTag_doConnect()
568 if (i >= NfcTag::MAX_NUM_TECHNOLOGY) in nativeNfcTag_doConnect()
575 if (natTag.getActivationState() != NfcTag::Active) in nativeNfcTag_doConnect()
632 NfcTag& natTag = NfcTag::getInstance (); in reSelect()
640 if (NfcTag::getInstance ().isNdefDetectionTimedOut()) in reSelect()
670 if (NfcTag::getInstance ().getActivationState () != NfcTag::Sleep) in reSelect()
700 if (NfcTag::getInstance ().getActivationState () != NfcTag::Active) in reSelect()
737 NfcTag& natTag = NfcTag::getInstance (); in switchRfInterface()
766 NfcTag& natTag = NfcTag::getInstance (); in nativeNfcTag_doReconnect()
768 if (natTag.getActivationState() != NfcTag::Active) in nativeNfcTag_doReconnect()
[all …]
DNfcTag.cpp44 NfcTag::NfcTag () in NfcTag() function in NfcTag
76 NfcTag& NfcTag::getInstance () in getInstance()
78 static NfcTag tag; in getInstance()
93 void NfcTag::initialize (nfc_jni_native_data* native) in initialize()
119 void NfcTag::abort () in abort()
135 NfcTag::ActivationState NfcTag::getActivationState () in getActivationState()
151 void NfcTag::setDeactivationState (tNFA_DEACTIVATED& deactivated) in setDeactivationState()
171 void NfcTag::setActivationState () in setActivationState()
188 bool NfcTag::isActivated () in isActivated()
203 tNFC_PROTOCOL NfcTag::getProtocol() in getProtocol()
[all …]
DNativeNfcManager.cpp194 bool isP2p = NfcTag::getInstance ().isP2pDiscovered (); in handleRfDiscoveryEvent()
198 NfcTag::getInstance ().selectP2p(); in handleRfDiscoveryEvent()
203 NfcTag::getInstance ().selectFirstTag(); in handleRfDiscoveryEvent()
271 NfcTag::getInstance().connectionEventHandler(connEvent, eventData); in nfaConnectionCallback()
306 NfcTag::getInstance().setActivationState (); in nfaConnectionCallback()
310 NfcTag::getInstance().setActive(true); in nfaConnectionCallback()
315 NfcTag::getInstance().setActivationState (); in nfaConnectionCallback()
346 NfcTag::getInstance().connectionEventHandler (connEvent, eventData); in nfaConnectionCallback()
360 NfcTag::getInstance().setDeactivationState (eventData->deactivated); in nfaConnectionCallback()
369 NfcTag::getInstance().connectionEventHandler (connEvent, eventData); in nfaConnectionCallback()
[all …]
DPn544Interop.cpp88 NfcTag::ActivationState state = NfcTag::getInstance ().getActivationState (); in pn544InteropStartPolling()
97 if (state == NfcTag::Idle) in pn544InteropStartPolling()
DNfcTag.h31 class NfcTag
50 NfcTag ();
62 static NfcTag& getInstance ();