Home
last modified time | relevance | path

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

/packages/apps/Nfc/src/com/android/nfc/beam/
DBeamStatusReceiver.java77 private final BeamTransferManager mTransferManager; field in BeamStatusReceiver
81 mTransferManager = transferManager; in BeamStatusReceiver()
91 if (mTransferManager != null) { in onReceive()
92 mTransferManager.cancel(); in onReceive()
117 if (mTransferManager == null) { in handleTransferEvent()
132 mTransferManager.setBluetoothTransferId(id); in handleTransferEvent()
144 mTransferManager.finishTransfer(true, uri, mimeType); in handleTransferEvent()
146 mTransferManager.finishTransfer(false, null, null); in handleTransferEvent()
150 mTransferManager.updateFileProgress(progress); in handleTransferEvent()
154 mTransferManager.setObjectCount(count); in handleTransferEvent()
DBeamSendService.java41 private BeamTransferManager mTransferManager; field in BeamSendService
108 mBeamStatusReceiver = new BeamStatusReceiver(this, mTransferManager); in doTransfer()
115 mTransferManager.start(); in doTransfer()
119 mTransferManager = null; in doTransfer()
134 if (mTransferManager != null) { in createBeamTransferManager()
143 mTransferManager = new BeamTransferManager(this, this, transferRecord, false); in createBeamTransferManager()
144 mTransferManager.updateNotification(); in createBeamTransferManager()
152 if (mTransferManager != null && in handleBluetoothStateChanged()
153 mTransferManager.mDataLinkType == BeamTransferRecord.DATA_LINK_TYPE_BLUETOOTH) { in handleBluetoothStateChanged()
154 mTransferManager.start(); in handleBluetoothStateChanged()
DBeamReceiveService.java31 private BeamTransferManager mTransferManager; field in BeamReceiveService
73 if (mTransferManager != null) { in prepareToReceive()
92 mTransferManager = new BeamTransferManager(this, this, transferRecord, true); in prepareToReceive()
95 mBeamStatusReceiver = new BeamStatusReceiver(this, mTransferManager); in prepareToReceive()
99 mTransferManager.start(); in prepareToReceive()
100 mTransferManager.updateNotification(); in prepareToReceive()