/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
StopRequestException.java | 16 package com.android.providers.downloads;
|
SystemFacade.java | 2 package com.android.providers.downloads; 28 * @return maximum size, in bytes, of downloads that may go over a mobile connection; or null if 34 * @return recommended maximum size, in bytes, of downloads that may go over a mobile
|
DownloadDrmHelper.java | 18 package com.android.providers.downloads;
|
DrmConvertSession.java | 17 package com.android.providers.downloads; 23 import android.provider.Downloads; 117 * @return Downloads.Impl.STATUS_SUCCESS if execution is ok. 118 * Downloads.Impl.STATUS_FILE_ERROR in case converted file can not 119 * be accessed. Downloads.Impl.STATUS_NOT_ACCEPTABLE if a problem 121 * Downloads.Impl.STATUS_UNKNOWN_ERROR if a general error occurred. 125 int result = Downloads.Impl.STATUS_UNKNOWN_ERROR; 132 result = Downloads.Impl.STATUS_NOT_ACCEPTABLE; 139 result = Downloads.Impl.STATUS_SUCCESS; 141 result = Downloads.Impl.STATUS_FILE_ERROR [all...] |
DownloadHandler.java | 17 package com.android.providers.downloads;
|
RealSystemFacade.java | 1 package com.android.providers.downloads;
|
SizeLimitActivity.java | 17 package com.android.providers.downloads; 27 import android.provider.Downloads; 92 int size = cursor.getInt(cursor.getColumnIndexOrThrow(Downloads.Impl.COLUMN_TOTAL_BYTES)); 132 values.put(Downloads.Impl.COLUMN_BYPASS_RECOMMENDED_SIZE_LIMIT, true);
|
Constants.java | 17 package com.android.providers.downloads; 40 /** The column that is used for the downloads's ETag */ 91 /** The default user agent used for downloads */
|
DownloadNotification.java | 17 package com.android.providers.downloads; 25 import android.provider.Downloads; 46 "(" + Downloads.Impl.COLUMN_STATUS + " >= '100') AND (" + 47 Downloads.Impl.COLUMN_STATUS + " <= '199') AND (" + 48 Downloads.Impl.COLUMN_VISIBILITY + " IS NULL OR " + 49 Downloads.Impl.COLUMN_VISIBILITY + " == '" + Downloads.Impl.VISIBILITY_VISIBLE + "' OR " + 50 Downloads.Impl.COLUMN_VISIBILITY + 51 " == '" + Downloads.Impl.VISIBILITY_VISIBLE_NOTIFY_COMPLETED + "')"; 53 Downloads.Impl.COLUMN_STATUS + " >= '200' AND " [all...] |
DownloadReceiver.java | 17 package com.android.providers.downloads; 30 import android.provider.Downloads; 124 int statusColumn = cursor.getColumnIndexOrThrow(Downloads.Impl.COLUMN_STATUS); 127 cursor.getColumnIndexOrThrow(Downloads.Impl.COLUMN_VISIBILITY); 129 if (Downloads.Impl.isStatusCompleted(status) 130 && visibility == Downloads.Impl.VISIBILITY_VISIBLE_NOTIFY_COMPLETED) { 132 values.put(Downloads.Impl.COLUMN_VISIBILITY, 133 Downloads.Impl.VISIBILITY_VISIBLE); 143 String filename = cursor.getString(cursor.getColumnIndexOrThrow(Downloads.Impl._DATA)); 145 cursor.getString(cursor.getColumnIndexOrThrow(Downloads.Impl.COLUMN_MIME_TYPE)) [all...] |
Helpers.java | 17 package com.android.providers.downloads; 27 import android.provider.Downloads; 84 if (destination == Downloads.Impl.DESTINATION_FILE_URI) { 105 if (destination == Downloads.Impl.DESTINATION_FILE_URI) { 142 if (destination == Downloads.Impl.DESTINATION_EXTERNAL 143 || destination == Downloads.Impl.DESTINATION_CACHE_PARTITION_PURGEABLE) { 145 throw new StopRequestException(Downloads.Impl.STATUS_NOT_ACCEPTABLE, 170 throw new StopRequestException(Downloads.Impl.STATUS_NOT_ACCEPTABLE, 249 // The VFAT file system is assumed as target for downloads. 329 (destination != Downloads.Impl.DESTINATION_CACHE_PARTITION & [all...] |
StorageManager.java | 17 package com.android.providers.downloads; 27 import android.provider.Downloads; 39 * Manages the storage space consumed by Downloads Data dir. When space falls below 40 * a threshold limit (set in resource xml files), starts cleanup of the Downloads data dir 44 /** the max amount of space allowed to be taken up by the downloads data dir */ 100 * The value is specified in terms of num of downloads since last time the cleanup was done. 149 case Downloads.Impl.DESTINATION_CACHE_PARTITION: 150 case Downloads.Impl.DESTINATION_CACHE_PARTITION_NOROAMING: 151 case Downloads.Impl.DESTINATION_CACHE_PARTITION_PURGEABLE: 154 case Downloads.Impl.DESTINATION_EXTERNAL [all...] |
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
HelpersTest.java | 17 package com.android.providers.downloads; 19 import android.provider.Downloads; 33 String hint = "file:///com.android.providers.downloads/test"; 40 Downloads.Impl.DESTINATION_FILE_URI, 48 Downloads.Impl.DESTINATION_FILE_URI,
|
ThreadingTest.java | 17 package com.android.providers.downloads;
|
DownloadManagerFunctionalTest.java | 17 package com.android.providers.downloads; 24 import android.provider.Downloads; 35 * This test exercises the entire download manager working together -- it requests downloads through 38 * device to serve downloads. 53 assertEquals(Downloads.Impl.STATUS_PENDING, getDownloadStatus(downloadUri)); 56 runUntilStatus(downloadUri, Downloads.Impl.STATUS_SUCCESS); 68 updateDownload(downloadUri, Downloads.Impl.COLUMN_DESTINATION, 69 Integer.toString(Downloads.Impl.DESTINATION_CACHE_PARTITION)); 70 runUntilStatus(downloadUri, Downloads.Impl.STATUS_SUCCESS); 83 runUntilStatus(downloadUri, Downloads.Impl.STATUS_SUCCESS) [all...] |
FakeSystemFacade.java | 1 package com.android.providers.downloads;
|
AbstractPublicApiTest.java | 17 package com.android.providers.downloads; 23 import android.provider.Downloads; 111 if (status == -1 || Downloads.Impl.isStatusCompleted(getStatus())) {
|
/external/chromium/chrome/browser/download/ |
drag_download_file.cc | 157 std::vector<DownloadItem*> downloads; local 158 download_manager_->GetTemporaryDownloads(file_path_.DirName(), &downloads); 159 for (std::vector<DownloadItem*>::const_iterator i = downloads.begin(); 160 i != downloads.end(); ++i) {
|
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/ |
DateSortedDownloadAdapter.java | 18 package com.android.providers.downloads.ui; 28 * Adapter for a date-sorted list of downloads. Delegates all the real work to
|
DownloadItem.java | 17 package com.android.providers.downloads.ui;
|
DownloadAdapter.java | 17 package com.android.providers.downloads.ui;
|
/packages/providers/DownloadProvider/tests/permission/src/com/android/providers/downloads/permission/tests/ |
DownloadProviderPermissionsTest.java | 17 package com.android.providers.downloads.permission.tests; 26 import android.provider.Downloads; 70 * {@link com.android.providers.downloads.Manifest.permission#ACCESS_DOWNLOAD_MANAGER} 78 values.put(Downloads.Impl.COLUMN_URI, "foo"); 79 mContentResolver.insert(Downloads.Impl.CONTENT_URI, values); 89 * {@link com.android.providers.downloads.Manifest.permission#ACCESS_DOWNLOAD_MANAGER} 95 downloadServiceIntent.setClassName("com.android.providers.downloads", 96 "com.android.providers.downloads.DownloadService");
|
/packages/providers/DownloadProvider/tests/public_api_access/src/com/android/providers/downloads/public_api_access_tests/ |
PublicApiAccessTest.java | 17 package com.android.providers.downloads.public_api_access_tests; 23 import android.provider.Downloads; 35 Downloads.Impl.COLUMN_COOKIE_DATA, 36 Downloads.Impl.COLUMN_REFERER, 37 Downloads.Impl.COLUMN_USER_AGENT, 38 Downloads.Impl.COLUMN_NO_INTEGRITY, 39 Downloads.Impl.COLUMN_NOTIFICATION_CLASS, 40 Downloads.Impl.COLUMN_NOTIFICATION_EXTRAS, 41 Downloads.Impl.COLUMN_OTHER_UID, 42 Downloads.Impl.COLUMN_APP_DATA [all...] |
/external/chromium/chrome/browser/ui/webui/ |
active_downloads_ui.cc | 58 // 2 download rows of 36 px and 'Show All Downloads' which is 29px. 117 // Downloads helpers. 310 DownloadList downloads; local 311 download_manager_->GetAllDownloads(FilePath(), &downloads); local 313 for (size_t i = 0; i < downloads.size(); ++i) { 314 AddDownload(downloads[i]); 320 // Observe in progress and dangerous downloads. 384 // Set up the chrome://active-downloads/ source.
|
/external/chromium/chrome/browser/history/ |
history_unittest.cc | 306 // Initially there should be nothing in the downloads database. 307 std::vector<DownloadCreateInfo> downloads; local 308 db_->QueryDownloads(&downloads); 309 EXPECT_EQ(0U, downloads.size()); 328 db_->QueryDownloads(&downloads); 329 EXPECT_EQ(9U, downloads.size()); 334 db_->QueryDownloads(&downloads); 335 EXPECT_EQ(7U, downloads.size()); 340 db_->QueryDownloads(&downloads); 341 EXPECT_EQ(3U, downloads.size()) [all...] |