Lines Matching refs:getInstance

231   NfcTag& natTag = NfcTag::getInstance();  in handleRfDiscoveryEvent()
323 NfcTag::getInstance().setNumDiscNtf(0); in nfaConnectionCallback()
327 NfcTag::getInstance().connectionEventHandler(connEvent, eventData); in nfaConnectionCallback()
367 NfcTag::getInstance().getNumDiscNtf()) { in nfaConnectionCallback()
369 NfcTag::getInstance().setNumDiscNtf(0); in nfaConnectionCallback()
379 NfcTag::getInstance().setActivationState(); in nfaConnectionCallback()
383 NfcTag::getInstance().setActive(true); in nfaConnectionCallback()
387 NfcTag::getInstance().setActivationState(); in nfaConnectionCallback()
426 NfcTag::getInstance().connectionEventHandler(connEvent, eventData); in nfaConnectionCallback()
427 if (NfcTag::getInstance().getNumDiscNtf()) { in nfaConnectionCallback()
446 NfcTag::getInstance().setDeactivationState(eventData->deactivated); in nfaConnectionCallback()
447 NfcTag::getInstance().selectNextTagIfExists(); in nfaConnectionCallback()
455 NfcTag::getInstance().connectionEventHandler(connEvent, eventData); in nfaConnectionCallback()
457 NfcTag::getInstance().abort(); in nfaConnectionCallback()
459 NfcTag::getInstance().setActive(false); in nfaConnectionCallback()
462 NfcTag::getInstance().setActive(false); in nfaConnectionCallback()
524 NfcTag::getInstance().connectionEventHandler(connEvent, eventData); in nfaConnectionCallback()
557 NfcTag::getInstance().connectionEventHandler(connEvent, eventData); in nfaConnectionCallback()
599 PeerToPeer::getInstance().llcpActivatedHandler(getNative(0, 0), in nfaConnectionCallback()
606 PeerToPeer::getInstance().llcpDeactivatedHandler( in nfaConnectionCallback()
612 PeerToPeer::getInstance().llcpFirstPacketHandler(getNative(0, 0)); in nfaConnectionCallback()
639 PeerToPeer::getInstance().connectionEventHandler(connEvent, eventData); in nfaConnectionCallback()
826 NfcTag::getInstance().abort(); in nfaDeviceManagementCallback()
849 PowerSwitch::getInstance().abort(); in nfaDeviceManagementCallback()
859 PowerSwitch::getInstance().initialize(PowerSwitch::UNKNOWN_LEVEL); in nfaDeviceManagementCallback()
868 PowerSwitch::getInstance().deviceManagementCallback(dmEvent, eventData); in nfaDeviceManagementCallback()
927 return RoutingManager::getInstance().addAidRouting(buf, bufLen, route, in nfcManager_routeAid()
933 return RoutingManager::getInstance().addAidRouting(buf, bufLen, route, in nfcManager_routeAid()
955 return RoutingManager::getInstance().removeAidRouting(buf, bufLen); in nfcManager_unrouteAid()
960 return RoutingManager::getInstance().removeAidRouting(buf, bufLen); in nfcManager_unrouteAid()
979 jboolean commitStatus = RoutingManager::getInstance().commitRouting(); in nfcManager_commitRouting()
1004 int handle = RoutingManager::getInstance().registerT3tIdentifier(buf, bufLen); in nfcManager_doRegisterT3tIdentifier()
1009 RoutingManager::getInstance().commitRouting(); in nfcManager_doRegisterT3tIdentifier()
1032 RoutingManager::getInstance().deregisterT3tIdentifier(handle); in nfcManager_doDeregisterT3tIdentifier()
1033 RoutingManager::getInstance().commitRouting(); in nfcManager_doDeregisterT3tIdentifier()
1072 PowerSwitch& powerSwitch = PowerSwitch::getInstance(); in nfcManager_doInitialize()
1104 RoutingManager::getInstance().initialize(getNative(e, o)); in nfcManager_doInitialize()
1106 NfcTag::getInstance().initialize(getNative(e, o)); in nfcManager_doInitialize()
1107 PeerToPeer::getInstance().initialize(); in nfcManager_doInitialize()
1108 PeerToPeer::getInstance().handleNfcOnOff(true); in nfcManager_doInitialize()
1109 HciEventManager::getInstance().initialize(getNative(e, o)); in nfcManager_doInitialize()
1176 PowerSwitch::getInstance().setLevel(PowerSwitch::LOW_POWER); in nfcManager_doInitialize()
1252 PowerSwitch::getInstance().setLevel(PowerSwitch::FULL_POWER); in nfcManager_enableDiscovery()
1271 PeerToPeer::getInstance().enableP2pListening(true); in nfcManager_enableDiscovery()
1275 PeerToPeer::getInstance().enableP2pListening(false); in nfcManager_enableDiscovery()
1305 RoutingManager::getInstance().enableRoutingToHost(); in nfcManager_enableDiscovery()
1306 RoutingManager::getInstance().commitRouting(); in nfcManager_enableDiscovery()
1308 RoutingManager::getInstance().disableRoutingToHost(); in nfcManager_enableDiscovery()
1309 RoutingManager::getInstance().commitRouting(); in nfcManager_enableDiscovery()
1315 PowerSwitch::getInstance().setModeOn(PowerSwitch::DISCOVERY); in nfcManager_enableDiscovery()
1346 PeerToPeer::getInstance().enableP2pListening(false); in nfcManager_disableDiscovery()
1350 if (!PowerSwitch::getInstance().setModeOff(PowerSwitch::DISCOVERY)) in nfcManager_disableDiscovery()
1351 PowerSwitch::getInstance().setLevel(PowerSwitch::LOW_POWER); in nfcManager_disableDiscovery()
1377 PeerToPeer::getInstance().getNewJniHandle(); in nfcManager_doCreateLlcpServiceSocket()
1404 if (!PeerToPeer::getInstance().registerServer(jniHandle, in nfcManager_doCreateLlcpServiceSocket()
1475 RoutingManager::getInstance().onNfccShutdown(); in nfcManager_doDeinitialize()
1476 PowerSwitch::getInstance().initialize(PowerSwitch::UNKNOWN_LEVEL); in nfcManager_doDeinitialize()
1477 HciEventManager::getInstance().finalize(); in nfcManager_doDeinitialize()
1487 PeerToPeer::getInstance().handleNfcOnOff(false); in nfcManager_doDeinitialize()
1494 NfcTag::getInstance().abort(); in nfcManager_doDeinitialize()
1541 PeerToPeer::getInstance().getNewJniHandle(); in nfcManager_doCreateLlcpSocket()
1542 PeerToPeer::getInstance().createClient(jniHandle, miu, rw); in nfcManager_doCreateLlcpSocket()
1722 NfcTag::getInstance().resetAllTransceiveTimeouts(); in nfcManager_doResetTimeouts()
1745 NfcTag::getInstance().setTransceiveTimeout(tech, timeout); in nfcManager_doSetTimeout()
1762 int timeout = NfcTag::getInstance().getTransceiveTimeout(tech); in nfcManager_doGetTimeout()
1934 PeerToPeer::getInstance().setP2pListenMask(mask); in nfcManager_doSetP2pTargetModes()
1938 PowerSwitch::getInstance().setScreenOffPowerState( in nfcManager_doEnableScreenOffSuspend()
1943 PowerSwitch::getInstance().setScreenOffPowerState( in nfcManager_doDisableScreenOffSuspend()
1981 RoutingManager& routingManager = RoutingManager::getInstance(); in nfcManager_doSetNfcSecure()
2095 PowerSwitch::getInstance().initialize(PowerSwitch::UNKNOWN_LEVEL); in register_com_android_nfc_NativeNfcManager()