Searched refs:transfer (Results 1 - 3 of 3) sorted by relevance

/packages/apps/Nfc/src/com/android/nfc/handover/
H A DHandoverService.java59 static final String BUNDLE_TRANSFER = "transfer";
175 // Create the actual transfer
180 // Start the transfer
188 if (DBG) Log.d(TAG, "Queueing out transfer " + Integer.toString(pendingTransfer.id));
190 // Queue the transfer and enable Bluetooth - when it is enabled
191 // the transfer will be started.
207 // Remote device will connect and finish the transfer
285 HandoverTransfer transfer = mTransfers.get(key);
286 if (!transfer.isRunning()) {
289 // There is already a transfer runnin
421 onTransferComplete(HandoverTransfer transfer, boolean success) argument
[all...]
H A DHandoverManager.java105 Log.d(TAG, "Completed transfer id: " + Integer.toString(transferId));
109 Log.e(TAG, "Could not find completed transfer id: " + Integer.toString(transferId));
137 // Register this client and transfer last known service state
351 // the transfer to fail, but there's nothing
360 PendingHandoverTransfer transfer = registerInTransferLocked(bluetoothData.device);
362 transferData.putParcelable(HandoverService.BUNDLE_TRANSFER, transfer);
366 removeTransferLocked(transfer.id);
375 if (DBG) Log.d(TAG, "Waiting for incoming transfer, [" +
434 // Register a new handover transfer object
437 PendingHandoverTransfer transfer
[all...]
H A DHandoverTransfer.java54 * Hence, a transfer has a notion of being "alive": if
55 * the last update to a transfer was within WAIT_FOR_NEXT_TRANSFER_MS
56 * milliseconds, we consider a new file transfer from the
57 * same source address as part of the same transfer.
65 void onTransferComplete(HandoverTransfer transfer, boolean success); argument
72 // In the states below we still accept new file transfer
87 // to still consider this transfer to be "alive" (ie
91 // The amount of time to wait for a new transfer
97 final boolean mIncoming; // whether this is an incoming transfer
98 final int mTransferId; // Unique ID of this transfer use
[all...]

Completed in 126 milliseconds