/packages/apps/Nfc/src/com/android/nfc/ |
D | P2pEventManager.java | 36 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 …]
|
D | NfcService.java | 118 public class NfcService implements DeviceHostListener { class 323 private static NfcService sService; 331 public static NfcService getInstance() { in getInstance() 337 sendMessage(NfcService.MSG_NDEF_TAG, tag); in onRemoteEndpointDiscovered() 372 sendMessage(NfcService.MSG_LLCP_LINK_ACTIVATION, device); in onLlcpLinkActivated() 381 sendMessage(NfcService.MSG_LLCP_LINK_DEACTIVATED, device); in onLlcpLinkDeactivated() 391 sendMessage(NfcService.MSG_LLCP_LINK_FIRST_PACKET, device); in onLlcpFirstPacketReceived() 396 sendMessage(NfcService.MSG_RF_FIELD_ACTIVATED, null); in onRemoteFieldActivated() 401 sendMessage(NfcService.MSG_RF_FIELD_DEACTIVATED, null); in onRemoteFieldDeactivated() 407 sendMessage(NfcService.MSG_TRANSACTION_EVENT, dataObj); in onNfcTransactionEvent() [all …]
|
D | NfcBackupAgent.java | 32 new SharedPreferencesBackupHelper(this, NfcService.PREF); in onCreate() 41 SharedPreferences prefs = getSharedPreferences(NfcService.PREF, in onRestoreFinished() 43 if (prefs.getBoolean(NfcService.PREF_NDEF_PUSH_ON, in onRestoreFinished() 44 NfcService.NDEF_PUSH_ON_DEFAULT)) { in onRestoreFinished() 50 if (prefs.getBoolean(NfcService.PREF_NFC_ON, in onRestoreFinished() 51 NfcService.NFC_ON_DEFAULT)) { in onRestoreFinished()
|
D | P2pLinkManager.java | 285 mPrefs = context.getSharedPreferences(NfcService.PREF, Context.MODE_PRIVATE); in P2pLinkManager() 780 if (NfcService.sIsDtaMode) { in doInBackground() 790 if (NfcService.sIsDtaMode) { in doInBackground() 996 if(NfcService.sIsDtaMode) 1011 if (NfcService.sIsDtaMode){ 1126 NfcService.getInstance().sendMockNdefTag(m); in handleMessage()
|
D | NfcApplication.java | 35 NfcService mNfcService; 66 mNfcService = new NfcService(this); in onCreate()
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | AidRoutingManager.java | 21 import com.android.nfc.NfcService; 170 NfcService.getInstance().unrouteAids(aid); in clearNfcRoutingTableLocked() 172 if(NfcService.getInstance().getNciVersion() != NfcService.getInstance().NCI_VERSION_1_0) { in clearNfcRoutingTableLocked() 174 NfcService.getInstance().unrouteAids(""); in clearNfcRoutingTableLocked() 251 mMaxAidRoutingTableSize = NfcService.getInstance().getAidRoutingTableSize(); in configureRouting() 339 … if(NfcService.getInstance().getNciVersion() != NfcService.getInstance().NCI_VERSION_1_0) { in configureRouting() 380 NfcService.getInstance().routeAids(aid, route, aidType); in commit() 385 NfcService.getInstance().commitRouting(); in commit()
|
D | SystemCodeRoutingManager.java | 21 import com.android.nfc.NfcService; 61 NfcService.getInstance().deregisterT3tIdentifier( in configureRouting() 66 NfcService.getInstance().registerT3tIdentifier( in configureRouting() 88 NfcService.getInstance().commitRouting(); in configureRouting() 102 NfcService.getInstance().clearT3tIdentifiersCache(); in onNfccRoutingTableCleared()
|
D | CardEmulationManager.java | 43 import com.android.nfc.NfcService; 205 NfcService.getInstance().onPreferredPaymentChanged(NfcAdapter.PREFERRED_PAYMENT_UPDATED); in onServicesUpdated() 387 NfcService.getInstance().onPreferredPaymentChanged( in registerAidGroupForService() 403 NfcService.getInstance().onPreferredPaymentChanged( in setOffHostForService() 418 NfcService.getInstance().onPreferredPaymentChanged( in unsetOffHostForService() 447 NfcService.getInstance().onPreferredPaymentChanged( in removeAidGroupForService() 589 return NfcService.getInstance().getLfT3tMax(); in getMaxNumOfRegisterableSystemCodes() 598 NfcService.getInstance().onPreferredPaymentChanged( in onPreferredPaymentServiceChanged() 607 NfcService.getInstance().onPreferredPaymentChanged( in onPreferredForegroundServiceChanged()
|
D | HostEmulationManager.java | 38 import com.android.nfc.NfcService; 164 NfcService.getInstance().sendData(ANDROID_HCE_RESPONSE); in onHostEmulationData() 170 NfcService.getInstance().sendData(AID_NOT_FOUND); in onHostEmulationData() 190 NfcService.getInstance().sendData(AID_NOT_FOUND); in onHostEmulationData() 238 NfcService.getInstance().sendData(UNKNOWN_ERROR); in onHostEmulationData() 516 NfcService.getInstance().sendData(data); in handleMessage()
|
D | HostNfcFEmulationManager.java | 34 import com.android.nfc.NfcService; 329 NfcService.getInstance().sendData(data); in handleMessage()
|
/packages/apps/Nfc/src/com/android/nfc/snep/ |
D | SnepMessenger.java | 20 import com.android.nfc.NfcService; 84 if (NfcService.sIsDtaMode) { in sendMessage() 114 if (NfcService.sIsDtaMode) { in sendMessage() 164 if (NfcService.sIsDtaMode && mIsClient) { in getMessage() 189 if (NfcService.sIsDtaMode) { in getMessage() 193 if (NfcService.sIsDtaMode) { in getMessage() 204 if (NfcService.sIsDtaMode) { in getMessage()
|
D | SnepMessage.java | 22 import com.android.nfc.NfcService; 177 if (NfcService.sIsDtaMode && DtaSnepClient.mTestCaseId != 0) { in toByteArray() 181 if (NfcService.sIsShortRecordLayout) { in toByteArray()
|
D | SnepServer.java | 22 import com.android.nfc.NfcService; 158 } else if (NfcService.sIsDtaMode && ((request.getLength() > SnepMessage.MAL_IUT) || in handleRequest() 192 mServerSocket = NfcService.getInstance().createLlcpServerSocket(mServiceSap, in run()
|
D | SnepClient.java | 21 import com.android.nfc.NfcService; 145 socket = NfcService.getInstance().createLlcpSocket(0, mMiu, mRwSize, 1024); in connect()
|
/packages/apps/Nfc/src/com/android/nfc/beam/ |
D | BeamManager.java | 18 import com.android.nfc.NfcService; 50 private NfcService mNfcService; 60 mNfcService = NfcService.getInstance(); in BeamManager() 129 mNfcService.playSound(NfcService.SOUND_END); in handleMessage()
|
/packages/apps/Nfc/src/com/android/nfc/ndefpush/ |
D | NdefPushClient.java | 21 import com.android.nfc.NfcService; 54 NfcService service = NfcService.getInstance(); in connect()
|
D | NdefPushServer.java | 22 import com.android.nfc.NfcService; 46 NfcService mService = NfcService.getInstance();
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
D | HandoverClient.java | 23 import com.android.nfc.NfcService; 52 NfcService service = NfcService.getInstance(); in connect()
|
D | HandoverServer.java | 21 import com.android.nfc.NfcService; 95 mServerSocket = NfcService.getInstance().createLlcpServerSocket(mSap, in run()
|
/packages/apps/Nfc/src/com/android/nfc/echoserver/ |
D | EchoServer.java | 24 import com.android.nfc.NfcService; 74 NfcService mService; 81 mService = NfcService.getInstance(); in EchoServer()
|
/packages/apps/Nfc/src/com/android/nfc/sneptest/ |
D | ExtDtaSnepServer.java | 28 import com.android.nfc.NfcService; 165 … mServerSocket = NfcService.getInstance().createLlcpServerSocket(mDtaServiceSap, in run()
|
D | DtaSnepClient.java | 32 import com.android.nfc.NfcService; 284 socket = NfcService.getInstance().createLlcpSocket(0, mMiu, mRwSize, 1024); in connect()
|