Home
last modified time | relevance | path

Searched refs:NfcService (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Nfc/src/com/android/nfc/
DP2pEventManager.java36 final NfcService mNfcService;
49 mNfcService = NfcService.getInstance(); in P2pEventManager()
82 mNfcService.playSound(NfcService.SOUND_START); in onP2pNfcTapRequested()
103 mNfcService.playSound(NfcService.SOUND_START); in onP2pSendConfirmationRequested()
114 mNfcService.playSound(NfcService.SOUND_END); in onP2pSendComplete()
125 mNfcService.playSound(NfcService.SOUND_ERROR); in onP2pHandoverNotSupported()
135 mNfcService.playSound(NfcService.SOUND_ERROR); in onP2pHandoverBusy()
145 if (playSound) mNfcService.playSound(NfcService.SOUND_END); in onP2pReceiveComplete()
162 mNfcService.playSound(NfcService.SOUND_ERROR); in onP2pOutOfRange()
192 mNfcService.playSound(NfcService.SOUND_ERROR); in onP2pSendDebounce()
[all …]
DNfcService.java94 public class NfcService implements DeviceHostListener { class
239 private static NfcService sService;
241 public static NfcService getInstance() { in getInstance()
247 sendMessage(NfcService.MSG_NDEF_TAG, tag); in onRemoteEndpointDiscovered()
279 sendMessage(NfcService.MSG_LLCP_LINK_ACTIVATION, device); in onLlcpLinkActivated()
287 sendMessage(NfcService.MSG_LLCP_LINK_DEACTIVATED, device); in onLlcpLinkDeactivated()
295 sendMessage(NfcService.MSG_LLCP_LINK_FIRST_PACKET, device); in onLlcpFirstPacketReceived()
300 sendMessage(NfcService.MSG_RF_FIELD_ACTIVATED, null); in onRemoteFieldActivated()
305 sendMessage(NfcService.MSG_RF_FIELD_DEACTIVATED, null); in onRemoteFieldDeactivated()
314 public NfcService(Application nfcApplication) { in NfcService() method in NfcService
[all …]
DNfcApplication.java34 NfcService mNfcService;
61 mNfcService = new NfcService(this); in onCreate()
DNfcBackupAgent.java29 new SharedPreferencesBackupHelper(this, NfcService.PREF); in onCreate()
DP2pLinkManager.java264 mPrefs = context.getSharedPreferences(NfcService.PREF, Context.MODE_PRIVATE); in P2pLinkManager()
982 NfcService.getInstance().sendMockNdefTag(m); in handleMessage()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DAidRoutingManager.java21 import com.android.nfc.NfcService;
107 NfcService.getInstance().unrouteAids(aid); in clearNfcRoutingTableLocked()
162 NfcService.getInstance().routeAids(defaultRouteAid, mDefaultRoute); in configureRouting()
182 NfcService.getInstance().routeAids(aid.substring(0, in configureRouting()
187 NfcService.getInstance().routeAids(aid, route); in configureRouting()
192 NfcService.getInstance().routeAids(aid, route); in configureRouting()
200 NfcService.getInstance().commitRouting(); in configureRouting()
DSystemCodeRoutingManager.java21 import com.android.nfc.NfcService;
61 NfcService.getInstance().deregisterT3tIdentifier( in configureRouting()
66 NfcService.getInstance().registerT3tIdentifier( in configureRouting()
87 NfcService.getInstance().commitRouting(); in configureRouting()
101 NfcService.getInstance().clearT3tIdentifiersCache(); in onNfccRoutingTableCleared()
DHostEmulationManager.java37 import com.android.nfc.NfcService;
157 NfcService.getInstance().sendData(ANDROID_HCE_RESPONSE); in onHostEmulationData()
163 NfcService.getInstance().sendData(AID_NOT_FOUND); in onHostEmulationData()
183 NfcService.getInstance().sendData(AID_NOT_FOUND); in onHostEmulationData()
222 NfcService.getInstance().sendData(UNKNOWN_ERROR); in onHostEmulationData()
488 NfcService.getInstance().sendData(data); in handleMessage()
DHostNfcFEmulationManager.java34 import com.android.nfc.NfcService;
324 NfcService.getInstance().sendData(data); in handleMessage()
DCardEmulationManager.java39 import com.android.nfc.NfcService;
562 return NfcService.getInstance().getLfT3tMax(); in getMaxNumOfRegisterableSystemCodes()
/packages/apps/Nfc/src/com/android/nfc/ndefpush/
DNdefPushClient.java21 import com.android.nfc.NfcService;
54 NfcService service = NfcService.getInstance(); in connect()
DNdefPushServer.java22 import com.android.nfc.NfcService;
46 NfcService mService = NfcService.getInstance();
/packages/apps/Nfc/src/com/android/nfc/handover/
DHandoverClient.java23 import com.android.nfc.NfcService;
52 NfcService service = NfcService.getInstance(); in connect()
DHandoverServer.java21 import com.android.nfc.NfcService;
95 mServerSocket = NfcService.getInstance().createLlcpServerSocket(mSap, in run()
/packages/apps/Nfc/src/com/android/nfc/echoserver/
DEchoServer.java24 import com.android.nfc.NfcService;
74 NfcService mService;
81 mService = NfcService.getInstance(); in EchoServer()
/packages/apps/Nfc/src/com/android/nfc/snep/
DSnepClient.java21 import com.android.nfc.NfcService;
145 socket = NfcService.getInstance().createLlcpSocket(0, mMiu, mRwSize, 1024); in connect()
DSnepServer.java22 import com.android.nfc.NfcService;
188 mServerSocket = NfcService.getInstance().createLlcpServerSocket(mServiceSap, in run()