Home
last modified time | relevance | path

Searched refs:cancelIntent (Results 1 – 6 of 6) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/services/
DJob.java318 final Intent cancelIntent = createCancelIntent(); in createProgressBuilder() local
326 cancelIntent, in createProgressBuilder()
351 final Intent cancelIntent = new Intent(service, FileOperationService.class); in createCancelIntent() local
352 cancelIntent.setData(getDataUriForIntent(INTENT_TAG_CANCEL)); in createCancelIntent()
353 cancelIntent.putExtra(EXTRA_CANCEL, true); in createCancelIntent()
354 cancelIntent.putExtra(EXTRA_JOB_ID, id); in createCancelIntent()
355 return cancelIntent; in createCancelIntent()
/packages/apps/Nfc/src/com/android/nfc/beam/
DBeamStatusReceiver.java123 Intent cancelIntent = new Intent(ACTION_STOP_BLUETOOTH_TRANSFER); in handleTransferEvent() local
124 cancelIntent.putExtra(EXTRA_TRANSFER_ID, id); in handleTransferEvent()
125 cancelIntent.setPackage(mContext.getString(R.string.bluetooth_package)); in handleTransferEvent()
126 mContext.sendBroadcast(cancelIntent); in handleTransferEvent()
DBeamTransferManager.java296 Intent cancelIntent = new Intent(ACTION_STOP_BLUETOOTH_TRANSFER); in sendBluetoothCancelIntentAndUpdateState() local
297 cancelIntent.setPackage(mContext.getString(R.string.bluetooth_package)); in sendBluetoothCancelIntentAndUpdateState()
298 cancelIntent.putExtra(BeamStatusReceiver.EXTRA_TRANSFER_ID, mBluetoothTransferId); in sendBluetoothCancelIntentAndUpdateState()
299 mContext.sendBroadcast(cancelIntent); in sendBluetoothCancelIntentAndUpdateState()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadNotifier.java243 final Intent cancelIntent = new Intent(Constants.ACTION_CANCEL, in updateWithLocked() local
245 cancelIntent.addFlags(Intent.FLAG_RECEIVER_FOREGROUND); in updateWithLocked()
246 cancelIntent.putExtra(DownloadReceiver.EXTRA_CANCELED_DOWNLOAD_IDS, downloadIds); in updateWithLocked()
247cancelIntent.putExtra(DownloadReceiver.EXTRA_CANCELED_DOWNLOAD_NOTIFICATION_TAG, tag); in updateWithLocked()
253 0, cancelIntent, PendingIntent.FLAG_UPDATE_CURRENT)); in updateWithLocked()
/packages/services/BuiltInPrintService/src/com/android/bips/
DP2pPermissionManager.java210 Intent cancelIntent = new Intent(mContext, BuiltInPrintService.class) in showNotification() local
213 BuiltInPrintService.P2P_PERMISSION_REQUEST_ID, cancelIntent, in showNotification()
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
DDownloadService.java120 final Intent cancelIntent = new Intent(context, DownloadService.class) in DownloadTask() local
125 0 /* requestCode */, cancelIntent, 0 /* flags */); in DownloadTask()