Searched refs:downloadId (Results 1 – 6 of 6) sorted by relevance
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/ |
D | DownloadList.java | 301 for (Long downloadId : mDownloadList.mSelectedIds.keySet()) { in onActionItemClicked() 302 mDownloadList.deleteDownload(downloadId); in onActionItemClicked() 477 private DialogInterface.OnClickListener getDeleteClickHandler(final long downloadId) { in getDeleteClickHandler() argument 481 deleteDownload(downloadId); in getDeleteClickHandler() 489 private DialogInterface.OnClickListener getRestartClickHandler(final long downloadId) { 493 mDownloadManager.restartDownload(downloadId); 628 private void showFailedDialog(long downloadId, String dialogBody) { 632 .setNegativeButton(R.string.delete_download, getDeleteClickHandler(downloadId)) 633 .setPositiveButton(R.string.retry_download, getRestartClickHandler(downloadId)) 650 public void onDownloadSelectionChanged(long downloadId, boolean isSelected, [all …]
|
D | DownloadItem.java | 71 public void setData(long downloadId, int position, String fileName, String mimeType) { in setData() argument 72 mDownloadId = downloadId; in setData() 76 if (mDownloadList.isDownloadSelected(downloadId)) { in setData()
|
D | DownloadAdapter.java | 95 long downloadId = mCursor.getLong(mIdColumnId); in bindView() local 96 ((DownloadItem) convertView).setData(downloadId, position, in bindView() 121 .setChecked(mDownloadList.isDownloadSelected(downloadId)); in bindView()
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | AbstractPublicApiTest.java | 39 private Download(long downloadId) { in Download() argument 40 this.mId = downloadId; in Download()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadReceiver.java | 204 long downloadId = cursor.getLong(cursor.getColumnIndexOrThrow(Downloads.Impl._ID)); in sendNotificationClickedIntent() local 206 ContentUris.withAppendedId(Downloads.Impl.CONTENT_URI, downloadId)); in sendNotificationClickedIntent()
|
D | DownloadProvider.java | 947 private void insertRequestHeaders(SQLiteDatabase db, long downloadId, ContentValues values) { in insertRequestHeaders() argument 949 rowValues.put(Downloads.Impl.RequestHeaders.COLUMN_DOWNLOAD_ID, downloadId); in insertRequestHeaders() 1096 Long downloadId = null; in notifyContentChanged() local 1098 downloadId = Long.parseLong(getDownloadIdFromUri(uri)); in notifyContentChanged() 1101 if (downloadId != null) { in notifyContentChanged() 1102 uriToNotify = ContentUris.withAppendedId(uriToNotify, downloadId); in notifyContentChanged()
|