Home
last modified time | relevance | path

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

/packages/apps/Nfc/nci/jni/
DNativeNfcTag.cpp503 NfcTag& natTag = NfcTag::getInstance(); in nativeNfcTag_doConnect()
510 if (i >= NfcTag::MAX_NUM_TECHNOLOGY) { in nativeNfcTag_doConnect()
516 if (natTag.getActivationState() != NfcTag::Active) { in nativeNfcTag_doConnect()
581 NfcTag& natTag = NfcTag::getInstance(); in reSelect()
588 if (NfcTag::getInstance().isNdefDetectionTimedOut()) { in reSelect()
636 if (NfcTag::getInstance().getActivationState() != NfcTag::Sleep) { in reSelect()
687 if (NfcTag::getInstance().getActivationState() != NfcTag::Active) { in reSelect()
720 NfcTag& natTag = NfcTag::getInstance(); in switchRfInterface()
750 NfcTag& natTag = NfcTag::getInstance(); in nativeNfcTag_doReconnect()
752 if (natTag.getActivationState() != NfcTag::Active) { in nativeNfcTag_doReconnect()
[all …]
DNfcTag.cpp50 NfcTag::NfcTag() in NfcTag() function in NfcTag
87 NfcTag& NfcTag::getInstance() { in getInstance()
88 static NfcTag tag; in getInstance()
102 void NfcTag::initialize(nfc_jni_native_data* native) { in initialize()
125 void NfcTag::abort() { in abort()
139 NfcTag::ActivationState NfcTag::getActivationState() { in getActivationState()
153 void NfcTag::setDeactivationState(tNFA_DEACTIVATED& deactivated) { in setDeactivationState()
170 void NfcTag::setActivationState() { in setActivationState()
186 bool NfcTag::isActivated() { return mIsActivated; } in isActivated()
197 tNFC_PROTOCOL NfcTag::getProtocol() { return mProtocol; } in getProtocol()
[all …]
DNativeNfcManager.cpp244 NfcTag& natTag = NfcTag::getInstance(); in handleRfDiscoveryEvent()
336 NfcTag::getInstance().setNumDiscNtf(0); in nfaConnectionCallback()
340 NfcTag::getInstance().connectionEventHandler(connEvent, eventData); in nfaConnectionCallback()
379 NfcTag::getInstance().getNumDiscNtf()) { in nfaConnectionCallback()
381 NfcTag::getInstance().setNumDiscNtf(0); in nfaConnectionCallback()
390 NfcTag::getInstance().setActive(true); in nfaConnectionCallback()
394 NfcTag::getInstance().setActivationState(); in nfaConnectionCallback()
409 NfcTag::getInstance().connectionEventHandler(connEvent, eventData); in nfaConnectionCallback()
410 if (NfcTag::getInstance().getNumDiscNtf()) { in nfaConnectionCallback()
428 NfcTag::getInstance().setDeactivationState(eventData->deactivated); in nfaConnectionCallback()
[all …]
DNfcTag.h32 class NfcTag {
60 NfcTag();
71 static NfcTag& getInstance();
DNfcTagTest.cpp15 NfcTag mNfcTag;