/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 | 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 | NfcService.java | 121 public class NfcService implements DeviceHostListener { class 346 private static NfcService sService; 358 public static NfcService getInstance() { in getInstance() 364 sendMessage(NfcService.MSG_NDEF_TAG, tag); in onRemoteEndpointDiscovered() 399 sendMessage(NfcService.MSG_LLCP_LINK_ACTIVATION, device); in onLlcpLinkActivated() 408 sendMessage(NfcService.MSG_LLCP_LINK_DEACTIVATED, device); in onLlcpLinkDeactivated() 418 sendMessage(NfcService.MSG_LLCP_LINK_FIRST_PACKET, device); in onLlcpFirstPacketReceived() 423 sendMessage(NfcService.MSG_RF_FIELD_ACTIVATED, null); in onRemoteFieldActivated() 428 sendMessage(NfcService.MSG_RF_FIELD_DEACTIVATED, null); in onRemoteFieldDeactivated() 434 sendMessage(NfcService.MSG_TRANSACTION_EVENT, dataObj); in onNfcTransactionEvent() [all …]
|
D | NfcApplication.java | 35 NfcService mNfcService; 66 mNfcService = new NfcService(this); in onCreate()
|
D | P2pLinkManager.java | 286 mPrefs = context.getSharedPreferences(NfcService.PREF, Context.MODE_PRIVATE); in P2pLinkManager() 781 if (NfcService.sIsDtaMode) { in doInBackground() 791 if (NfcService.sIsDtaMode) { in doInBackground() 997 if(NfcService.sIsDtaMode) 1012 if (NfcService.sIsDtaMode){ 1128 NfcService.getInstance().sendMockNdefTag(m); in handleMessage()
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | AidRoutingManager.java | 22 import com.android.nfc.NfcService; 170 NfcService.getInstance().unrouteAids(aid); in clearNfcRoutingTableLocked() 172 if (NfcService.getInstance().getNciVersion() >= NfcService.getInstance().NCI_VERSION_2_0) { in clearNfcRoutingTableLocked() 174 NfcService.getInstance().unrouteAids(""); in clearNfcRoutingTableLocked() 251 mMaxAidRoutingTableSize = NfcService.getInstance().getAidRoutingTableSize(); in configureRouting() 343 if (NfcService.getInstance().getNciVersion() in configureRouting() 344 >= NfcService.getInstance().NCI_VERSION_2_0) { in configureRouting() 375 if (NfcService.getInstance().getNciVersion() in configureRouting() 376 < NfcService.getInstance().NCI_VERSION_2_0) { in configureRouting() 422 NfcService.getInstance().routeAids(aid, route, aidType, power); in commit() [all …]
|
D | SystemCodeRoutingManager.java | 22 import com.android.nfc.NfcService; 62 NfcService.getInstance().deregisterT3tIdentifier( in configureRouting() 67 NfcService.getInstance().registerT3tIdentifier( in configureRouting() 89 NfcService.getInstance().commitRouting(); in configureRouting() 103 NfcService.getInstance().clearT3tIdentifiersCache(); in onNfccRoutingTableCleared()
|
D | CardEmulationManager.java | 44 import com.android.nfc.NfcService; 249 NfcService.getInstance().onPreferredPaymentChanged(NfcAdapter.PREFERRED_PAYMENT_UPDATED); in onServicesUpdated() 433 NfcService.getInstance().onPreferredPaymentChanged( in registerAidGroupForService() 449 NfcService.getInstance().onPreferredPaymentChanged( in setOffHostForService() 464 NfcService.getInstance().onPreferredPaymentChanged( in unsetOffHostForService() 493 NfcService.getInstance().onPreferredPaymentChanged( in removeAidGroupForService() 642 return NfcService.getInstance().getLfT3tMax(); in getMaxNumOfRegisterableSystemCodes() 651 NfcService.getInstance().onPreferredPaymentChanged( in onPreferredPaymentServiceChanged() 660 NfcService.getInstance().onPreferredPaymentChanged( in onPreferredForegroundServiceChanged()
|
D | HostEmulationManager.java | 40 import com.android.nfc.NfcService; 166 NfcService.getInstance().sendData(ANDROID_HCE_RESPONSE); in onHostEmulationData() 172 NfcService.getInstance().sendData(AID_NOT_FOUND); in onHostEmulationData() 197 NfcService.getInstance().sendData(AID_NOT_FOUND); in onHostEmulationData() 245 NfcService.getInstance().sendData(UNKNOWN_ERROR); in onHostEmulationData() 528 NfcService.getInstance().sendData(data); in handleMessage()
|
D | HostNfcFEmulationManager.java | 35 import com.android.nfc.NfcService; 332 NfcService.getInstance().sendData(data); in handleMessage()
|
D | RegisteredAidCache.java | 27 import com.android.nfc.NfcService; 799 if (NfcService.getInstance().getNciVersion() < NfcService.getInstance().NCI_VERSION_2_0) { in computeAidPowerState()
|
/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()
|