/external/chromium_org/chrome/common/extensions/api/ |
downloads_internal.idl | 10 static void determineFilename(long downloadId,
|
downloads.idl | 387 callback DownloadCallback = void(long downloadId); 402 // <code>downloadId</code>. If there was an error starting the download, 404 // <code>downloadId=undefined</code> and $ref:runtime.lastError will contain 423 // |downloadId|: The id of the download to pause. 425 static void pause(long downloadId, optional NullCallback callback); 430 // |downloadId|: The id of the download to resume. 432 static void resume(long downloadId, optional NullCallback callback); 436 // |downloadId|: The id of the download to cancel. 438 static void cancel(long downloadId, optional NullCallback callback); 449 // |downloadId|: The identifier for the download [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/api/downloads/download_open/ |
background.js | 34 chrome.downloads.download({url: info.linkUrl}, function(downloadId) { 36 if (ids.indexOf(downloadId) >= 0) { 39 ids.push(downloadId);
|
/cts/suite/audio_quality/lib/src/task/ |
TaskDownload.cpp | 52 int downloadId; 53 if (!getTestCase()->getRemoteAudio()->downloadData(id, buffer, downloadId)) { 56 LOGI("Downloaded buffer %s to DUT with id %d", id.string(), downloadId);
|
TaskSound.cpp | 108 int downloadId; 109 if (!getTestCase()->getRemoteAudio()->downloadData(id, buffer, downloadId)) { 112 LOGI("Downloaded buffer %s to DUT with id %d", id.string(), downloadId);
|
/external/chromium/chrome/browser/history/ |
download_database.h | 31 bool UpdateDownload(int64 received_bytes, int32 state, DownloadID db_handle); 34 bool UpdateDownloadPath(const FilePath& path, DownloadID db_handle); 46 void RemoveDownload(DownloadID db_handle);
|
download_database.cc | 111 DownloadID db_handle) { 126 DownloadID db_handle) { 168 void DownloadDatabase::RemoveDownload(DownloadID db_handle) {
|
/external/chromium_org/chrome/renderer/resources/extensions/ |
downloads_custom_bindings.js | 17 var downloadId = downloadItem.id; 48 downloadId, result.filename, result.conflictAction || ""); 50 downloadsInternal.determineFilename(downloadId, "", "");
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
ContentViewDownloadDelegate.java | 37 * @param downloadId The download id. 39 void onDangerousDownload(String filename, int downloadId);
|
DownloadController.java | 114 int downloadId) { 117 downloadDelagate.onDangerousDownload(filename, downloadId);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
CompletedDownloadInfo.java | 28 public CompletedDownloadInfo(final String uri, final long downloadId, final int status) { 30 mDownloadId = downloadId;
|
UpdateHandler.java | 137 * @param downloadId the id returned by DownloadManager 140 final long downloadId) { 141 MetadataDbHelper.registerMetadataDownloadId(context, uri, downloadId); 260 final long downloadId; 262 downloadId = manager.enqueue(metadataRequest); 263 DebugLogUtils.l("Metadata download requested with id", downloadId); 269 writeMetadataDownloadId(context, metadataUri, downloadId); 271 PrivateLog.log("Requested download with id " + downloadId); 336 final long downloadId; 338 downloadId = manager.enqueue(request) [all...] |
MetadataDbHelper.java | 580 * @param downloadId the download ID to query about 584 final long downloadId) { 596 if (pendingId == downloadId) { 600 getContentValuesByPendingId(getDb(context, clientId), downloadId); [all...] |
ActionBatch.java | 181 final long downloadId = UpdateHandler.registerDownloadRequest(manager, request, db, 183 DebugLogUtils.l("Starting download of", uri, "with id", downloadId); 184 PrivateLog.log("Starting download of " + uri + ", id : " + downloadId);
|
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/ |
DownloadItem.java | 71 public void setData(long downloadId, int position, String fileName, String mimeType) { 72 mDownloadId = downloadId; 76 if (mDownloadList.isDownloadSelected(downloadId)) {
|
DownloadList.java | 316 for (Long downloadId : mDownloadList.mSelectedIds.keySet()) { 317 mDownloadList.deleteDownload(downloadId); 492 * @return an OnClickListener to delete the given downloadId from the Download Manager 494 private DialogInterface.OnClickListener getDeleteClickHandler(final long downloadId) { 498 deleteDownload(downloadId); 504 * @return an OnClickListener to restart the given downloadId in the Download Manager 506 private DialogInterface.OnClickListener getRestartClickHandler(final long downloadId) { 510 mDownloadManager.restartDownload(downloadId); 629 private void showFailedDialog(long downloadId, String dialogBody) { 633 .setNegativeButton(R.string.delete_download, getDeleteClickHandler(downloadId)) [all...] |
DownloadAdapter.java | 95 long downloadId = mCursor.getLong(mIdColumnId); 96 ((DownloadItem) convertView).setData(downloadId, position, 121 .setChecked(mDownloadList.isDownloadSelected(downloadId));
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/downloads/download_manager/ |
background.js | 231 function openWhenComplete(downloadId) { 239 if (ids.indexOf(downloadId) >= 0) { 242 ids.push(downloadId);
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
AbstractPublicApiTest.java | 44 private Download(long downloadId) { 45 this.mId = downloadId;
|
/cts/libs/testserver/src/android/webkit/cts/ |
CtsTestServer.java | 100 private static final String DOWNLOAD_ID_PARAMETER = "downloadId"; 373 * @param downloadId used to differentiate the files created for each test 377 public String getTestDownloadUrl(String downloadId, int numBytes) { 381 .appendQueryParameter(DOWNLOAD_ID_PARAMETER, downloadId) 728 String downloadId = uri.getQueryParameter(DOWNLOAD_ID_PARAMETER); 734 response.setEntity(createFileEntity(downloadId, numBytes)); 738 private static FileEntity createFileEntity(String downloadId, int numBytes) throws IOException { 742 File file = new File(storageDir, downloadId + ".bin"); [all...] |
/cts/tests/tests/app/src/android/app/cts/ |
DownloadManagerTest.java | 329 private void assertDownloadQueryableById(long downloadId) { 332 Query query = new Query().setFilterById(downloadId);
|
/external/chromium_org/content/public/test/ |
test_file_error_injector.h | 21 class DownloadId;
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadProvider.java | [all...] |
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/ |
DownloadManagerBaseTest.java | 528 long downloadId = cursor.getLong(index); 530 mDownloadManager.remove(downloadId);
|
/frameworks/base/core/tests/coretests/src/android/app/ |
DownloadManagerBaseTest.java | [all...] |