/external/chromium/chrome/browser/download/ |
mock_download_manager.h | 14 class MockDownloadManager : public DownloadManager { 17 : DownloadManager(updater) {
|
download_file.h | 17 class DownloadManager; 27 DownloadManager* download_manager); 34 DownloadManager* GetDownloadManager(); 49 // DownloadManager this download belongs to. 50 scoped_refptr<DownloadManager> download_manager_;
|
download_manager.cc | 50 DownloadManager::DownloadManager(DownloadStatusUpdater* status_updater) 59 DownloadManager::~DownloadManager() { 65 void DownloadManager::Shutdown() { 97 // removed from the DownloadManager queues and deleted 98 // (specifically, DownloadManager::RemoveDownload only 137 void DownloadManager::GetTemporaryDownloads( 149 void DownloadManager::GetAllDownloads( 161 void DownloadManager::GetCurrentDownloads [all...] |
download_file_manager.h | 33 // ID (unique integer created in the IO thread) to the DownloadManager for the 36 // appropriate DownloadManager. In progress downloads are cancelled for a 37 // DownloadManager that exits (such as when closing a profile). 56 class DownloadManager; 101 // Called on FILE thread by DownloadManager at the beginning of its shutdown. 102 void OnDownloadManagerShutdown(DownloadManager* manager); 104 // The DownloadManager in the UI thread has provided an intermediate 108 // The DownloadManager in the UI thread has provided a final name for the 141 DownloadManager* download_manager,
|
download_file_manager.cc | 33 DownloadManager* DownloadManagerForRenderViewHost(int render_process_id, 73 DownloadManager* download_manager, 107 &DownloadManager::StartDownload, info)); 141 DownloadManager* manager = download_file->GetDownloadManager(); 144 NewRunnableMethod(manager, &DownloadManager::UpdateDownload, 161 DownloadManager* manager = DownloadManagerForRenderViewHost( 223 DownloadManager* download_manager = download->GetDownloadManager(); 236 download_manager, &DownloadManager::OnResponseCompleted, 277 void DownloadFileManager::OnDownloadManagerShutdown(DownloadManager* manager) { 301 // The DownloadManager in the UI thread has provided an intermediate .crdownloa [all...] |
download_manager.h | 5 // The DownloadManager object manages the process of downloading, including 7 // the downloads view in the Destinations tab. There is one DownloadManager per 14 // DownloadManager::Observer: 21 // The DownloadManager uses the history service for storing persistent 24 // DownloadManager is constructed, we query the history service for the state of 65 class DownloadManager 66 : public base::RefCountedThreadSafe<DownloadManager, 71 explicit DownloadManager(DownloadStatusUpdater* status_updater); 77 // to the DownloadManager's collection of downloads. 84 // Called when the DownloadManager is being destroyed to prevent Observer [all...] |
download_file.cc | 17 DownloadManager* download_manager) 45 DownloadManager* DownloadFile::GetDownloadManager() {
|
drag_download_file.h | 24 public DownloadManager::Observer, 52 // DownloadManager::Observer methods. 106 DownloadManager* download_manager_;
|
download_item.h | 6 // are owned by the DownloadManager which maintains a global list of all 31 class DownloadManager; 102 DownloadItem(DownloadManager* download_manager, 106 DownloadItem(DownloadManager* download_manager, 111 DownloadItem(DownloadManager* download_manager, 149 // exit (DownloadManager destructor) from user interface initiated cancels 151 // require AddRef'ing the DownloadManager in the destructor which results in 364 DownloadManager* download_manager_;
|
/external/webkit/Source/WebKit2/WebProcess/Downloads/ |
DownloadManager.cpp | 27 #include "DownloadManager.h" 37 DownloadManager& DownloadManager::shared() 39 DEFINE_STATIC_LOCAL(DownloadManager, downloadManager, ()); 40 return downloadManager; 43 DownloadManager::DownloadManager() 47 void DownloadManager::startDownload(uint64_t downloadID, WebPage* initiatingPage, const ResourceRequest& request) 56 void DownloadManager::convertHandleToDownload(uint64_t downloadID, WebPage* initiatingPage, ResourceHandle* handle, con (…) [all...] |
DownloadManager.h | 43 class DownloadManager { 44 WTF_MAKE_NONCOPYABLE(DownloadManager); 47 static DownloadManager& shared(); 58 DownloadManager();
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
AbstractPublicApiTest.java | 19 import android.app.DownloadManager; 44 return (int) getLongField(DownloadManager.COLUMN_STATUS); 48 Cursor cursor = mManager.query(new DownloadManager.Query().setFilterById(mId)); 53 DownloadManager.COLUMN_STATUS)); 64 Cursor cursor = mManager.query(new DownloadManager.Query().setFilterById(mId)); 75 Cursor cursor = mManager.query(new DownloadManager.Query().setFilterById(mId)); 128 Cursor cursor = mManager.query(new DownloadManager.Query().setFilterById(mId)); 134 DownloadManager.COLUMN_BYTES_DOWNLOADED_SO_FAR)); 136 cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_TOTAL_SIZE_BYTES)); 163 protected DownloadManager mManager [all...] |
PublicApiFunctionalTest.java | 19 import android.app.DownloadManager; 82 assertEquals(DownloadManager.STATUS_PENDING, 83 download.getLongField(DownloadManager.COLUMN_STATUS)); 85 download.getStringField(DownloadManager.COLUMN_URI)); 86 assertEquals(download.mId, download.getLongField(DownloadManager.COLUMN_ID)); 88 download.getLongField(DownloadManager.COLUMN_LAST_MODIFIED_TIMESTAMP)); 91 download.runUntilStatus(DownloadManager.STATUS_SUCCESSFUL); 96 Uri localUri = Uri.parse(download.getStringField(DownloadManager.COLUMN_LOCAL_URI)); 99 assertEquals("text/plain", download.getStringField(DownloadManager.COLUMN_MEDIA_TYPE)); 102 assertEquals(size, download.getLongField(DownloadManager.COLUMN_TOTAL_SIZE_BYTES)) [all...] |
ThreadingTest.java | 19 import android.app.DownloadManager; 51 while (download.getStatus() != DownloadManager.STATUS_SUCCESSFUL) {
|
/external/chromium/chrome/browser/ui/webui/ |
downloads_dom_handler.h | 21 public DownloadManager::Observer, 24 explicit DownloadsDOMHandler(DownloadManager* dlm); 36 // DownloadManager::Observer interface 89 DownloadManager* download_manager_; 92 // DownloadManager. DownloadManager owns the DownloadItems. The vector is
|
/packages/apps/Browser/src/com/android/browser/ |
OpenDownloadReceiver.java | 19 import android.app.DownloadManager; 44 if (!DownloadManager.ACTION_NOTIFICATION_CLICKED.equals(action)) { 49 DownloadManager.EXTRA_NOTIFICATION_CLICK_DOWNLOAD_IDS); 67 DownloadManager manager = (DownloadManager) context.getSystemService( 90 Intent pageView = new Intent(DownloadManager.ACTION_VIEW_DOWNLOADS);
|
FetchUrlMimeType.java | 25 import android.app.DownloadManager; 51 private DownloadManager.Request mRequest; 56 public FetchUrlMimeType(Context context, DownloadManager.Request request, 133 DownloadManager manager = (DownloadManager) mContext.getSystemService(
|
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/ |
DownloadAdapter.java | 19 import android.app.DownloadManager; 43 * List adapter for Cursors returned by {@link DownloadManager}. 70 mIdColumnId = cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_ID); 71 mTitleColumnId = cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_TITLE); 72 mDescriptionColumnId = cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_DESCRIPTION); 73 mStatusColumnId = cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_STATUS); 74 mReasonColumnId = cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_REASON); 75 mTotalBytesColumnId = cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_TOTAL_SIZE_BYTES); 76 mMediaTypeColumnId = cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_MEDIA_TYPE); 78 cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_LAST_MODIFIED_TIMESTAMP) [all...] |
DateSortedDownloadAdapter.java | 20 import android.app.DownloadManager; 37 cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_LAST_MODIFIED_TIMESTAMP));
|
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/ |
DownloadManagerBaseTest.java | 19 import android.app.DownloadManager; 20 import android.app.DownloadManager.Query; 47 protected DownloadManager mDownloadManager = null; 77 if (intent.getAction().equalsIgnoreCase(DownloadManager.ACTION_DOWNLOAD_COMPLETE)) { 79 long id = intent.getExtras().getLong(DownloadManager.EXTRA_DOWNLOAD_ID); 87 DownloadManager dm = (DownloadManager)context.getSystemService( 94 DownloadManager.COLUMN_STATUS)); 111 * {@link DownloadManager#ACTION_DOWNLOAD_COMPLETE} action, indicating the number of 180 mDownloadManager = (DownloadManager)mContext.getSystemService(Context.DOWNLOAD_SERVICE) [all...] |
/frameworks/base/core/tests/coretests/src/android/app/ |
DownloadManagerFunctionalTest.java | 19 import android.app.DownloadManager.Query; 20 import android.app.DownloadManager.Request; 34 * Integration tests of the DownloadManager API. 71 * @param uri The uri to enqueue to the DownloadManager 84 verifyInt(cursor, DownloadManager.COLUMN_REASON, error); 136 int colIndex = cursor.getColumnIndex(DownloadManager.COLUMN_LOCAL_FILENAME); 170 verifyInt(cursor, DownloadManager.COLUMN_STATUS, DownloadManager.STATUS_SUCCESSFUL); 275 doErrorTest(uri, DownloadManager.ERROR_TOO_MANY_REDIRECTS); 286 doErrorTest(uri, DownloadManager.ERROR_UNHANDLED_HTTP_CODE) [all...] |
/cts/tests/tests/app/src/android/app/cts/ |
DownloadManagerTest.java | 18 import android.app.DownloadManager; 19 import android.app.DownloadManager.Query; 20 import android.app.DownloadManager.Request; 46 * According to the CDD Section 7.6.1, the DownloadManager implementation must be able to 54 private DownloadManager mDownloadManager; 61 mDownloadManager = (DownloadManager) mContext.getSystemService(Context.DOWNLOAD_SERVICE); 75 IntentFilter intentFilter = new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE); 89 assertDownloadQueryableByStatus(DownloadManager.STATUS_SUCCESSFUL); 90 assertDownloadQueryableByStatus(DownloadManager.STATUS_FAILED); 102 IntentFilter intentFilter = new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE) [all...] |
/frameworks/base/core/java/android/provider/ |
Downloads.java | 19 import android.app.DownloadManager; 479 * This download was completed by the caller (i.e., NOT downloadmanager) 547 return visibility == DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED || 548 visibility == DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_ONLY_COMPLETION; 753 public static final int VISIBILITY_VISIBLE = DownloadManager.Request.VISIBILITY_VISIBLE; 760 DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED; 765 public static final int VISIBILITY_HIDDEN = DownloadManager.Request.VISIBILITY_HIDDEN;
|
/packages/providers/DownloadProvider/tests/public_api_access/src/com/android/providers/downloads/public_api_access_tests/ |
PublicApiAccessTest.java | 19 import android.app.DownloadManager; 48 private DownloadManager mManager; 54 mManager = new DownloadManager(mContentResolver, getContext().getPackageName()); 144 DownloadManager.Request request = new DownloadManager.Request(Uri.parse("http://localhost/path")); 148 request.setAllowedNetworkTypes(DownloadManager.Request.NETWORK_WIFI);
|
/external/chromium/chrome/browser/ui/download/ |
download_tab_helper.cc | 25 DownloadManager* dlm = tab_contents()->profile()->GetDownloadManager(); 45 DownloadManager* dlm = tab_contents()->profile()->GetDownloadManager();
|