Home
last modified time | relevance | path

Searched refs:transferRecord (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Nfc/src/com/android/nfc/beam/
DBeamSendService.java85 BeamTransferRecord transferRecord; in onStartCommand() local
87 (transferRecord = intent.getParcelableExtra(EXTRA_BEAM_TRANSFER_RECORD)) == null) { in onStartCommand()
95 if (doTransfer(transferRecord)) { in onStartCommand()
105 boolean doTransfer(BeamTransferRecord transferRecord) { in doTransfer() argument
106 if (createBeamTransferManager(transferRecord)) { in doTransfer()
112 if (transferRecord.dataLinkType == BeamTransferRecord.DATA_LINK_TYPE_BLUETOOTH) { in doTransfer()
124 + Integer.toString(transferRecord.id)); in doTransfer()
133 boolean createBeamTransferManager(BeamTransferRecord transferRecord) { in createBeamTransferManager() argument
138 if (transferRecord.dataLinkType != BeamTransferRecord.DATA_LINK_TYPE_BLUETOOTH) { in createBeamTransferManager()
143 mTransferManager = new BeamTransferManager(this, this, transferRecord, false); in createBeamTransferManager()
DBeamReceiveService.java44 BeamTransferRecord transferRecord; in onStartCommand() local
46 (transferRecord = intent.getParcelableExtra(EXTRA_BEAM_TRANSFER_RECORD)) == null) { in onStartCommand()
54 if (prepareToReceive(transferRecord)) { in onStartCommand()
72 boolean prepareToReceive(BeamTransferRecord transferRecord) { in prepareToReceive() argument
77 if (transferRecord.dataLinkType != BeamTransferRecord.DATA_LINK_TYPE_BLUETOOTH) { in prepareToReceive()
89 + Integer.toString(transferRecord.id)); in prepareToReceive()
92 mTransferManager = new BeamTransferManager(this, this, transferRecord, true); in prepareToReceive()
DBeamManager.java83 BeamTransferRecord transferRecord = in startBeamReceive() local
89 receiveIntent.putExtra(BeamReceiveService.EXTRA_BEAM_TRANSFER_RECORD, transferRecord); in startBeamReceive()
108 BeamTransferRecord transferRecord = BeamTransferRecord.forBluetoothDevice( in startBeamSend() local
113 sendIntent.putExtra(BeamSendService.EXTRA_BEAM_TRANSFER_RECORD, transferRecord); in startBeamSend()