HomeSort by relevance Sort by last modified time
    Searched defs:downloads (Results 26 - 39 of 39) sorted by null

12

  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
StorageManager.java 17 package com.android.providers.downloads;
19 import static com.android.providers.downloads.Constants.LOGV;
20 import static com.android.providers.downloads.Constants.TAG;
30 import android.provider.Downloads;
47 * Manages the storage space consumed by Downloads Data dir. When space falls below
48 * a threshold limit (set in resource xml files), starts cleanup of the Downloads data dir
52 /** the max amount of space allowed to be taken up by the downloads data dir */
108 * The value is specified in terms of num of downloads since last time the cleanup was done.
157 case Downloads.Impl.DESTINATION_CACHE_PARTITION:
158 case Downloads.Impl.DESTINATION_CACHE_PARTITION_NOROAMING
    [all...]
DownloadService.java 17 package com.android.providers.downloads;
19 import static com.android.providers.downloads.Constants.TAG;
38 import android.provider.Downloads;
58 * Performs the background downloads requested by applications that use the Downloads provider.
71 * The Service's view of the list of downloads, mapping download IDs to the corresponding info
73 * downloads based on this data, so that it can deal with situation where the data in the
217 getContentResolver().registerContentObserver(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI,
303 Cursor cursor = getContentResolver().query(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI,
311 int idColumn = cursor.getColumnIndexOrThrow(Downloads.Impl._ID)
    [all...]
DownloadInfo.java 17 package com.android.providers.downloads;
31 import android.provider.Downloads;
32 import android.provider.Downloads.Impl;
66 info.mId = getLong(Downloads.Impl._ID);
67 info.mUri = getString(Downloads.Impl.COLUMN_URI);
68 info.mNoIntegrity = getInt(Downloads.Impl.COLUMN_NO_INTEGRITY) == 1;
69 info.mHint = getString(Downloads.Impl.COLUMN_FILE_NAME_HINT);
70 info.mFileName = getString(Downloads.Impl._DATA);
71 info.mMimeType = getString(Downloads.Impl.COLUMN_MIME_TYPE);
72 info.mDestination = getInt(Downloads.Impl.COLUMN_DESTINATION)
    [all...]
DownloadThread.java 17 package com.android.providers.downloads;
19 import static com.android.providers.downloads.Constants.TAG;
32 import android.provider.Downloads;
138 int finalStatus = Downloads.Impl.STATUS_UNKNOWN_ERROR;
185 finalStatus = Downloads.Impl.STATUS_SUCCESS;
200 finalStatus = Downloads.Impl.STATUS_UNKNOWN_ERROR;
269 int status = Downloads.Impl.STATUS_WAITING_FOR_NETWORK;
271 status = Downloads.Impl.STATUS_QUEUED_FOR_WIFI;
274 status = Downloads.Impl.STATUS_QUEUED_FOR_WIFI;
332 if (state.mFilename != null && Downloads.Impl.isStatusError(finalStatus))
    [all...]
DownloadProvider.java 17 package com.android.providers.downloads;
40 import android.provider.Downloads;
64 private static final String DB_NAME = "downloads.db";
68 private static final String DB_TABLE = "downloads";
77 /** URI matcher constant for the URI of all downloads belonging to the calling UID */
81 /** URI matcher constant for the URI of all downloads in the system */
93 sURIMatcher.addURI("downloads", "my_downloads", MY_DOWNLOADS);
94 sURIMatcher.addURI("downloads", "my_downloads/#", MY_DOWNLOADS_ID);
95 sURIMatcher.addURI("downloads", "all_downloads", ALL_DOWNLOADS);
96 sURIMatcher.addURI("downloads", "all_downloads/#", ALL_DOWNLOADS_ID)
    [all...]
  /packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
AbstractDownloadProviderFunctionalTest.java 17 package com.android.providers.downloads;
26 import android.provider.Downloads;
53 private static final String PROVIDER_AUTHORITY = "downloads";
179 Cursor cursor = mResolver.query(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI,
197 * Remove any downloaded files and delete any lingering downloads.
203 String[] columns = new String[] {Downloads.Impl._DATA};
204 Cursor cursor = mResolver.query(Downloads.Impl.CONTENT_URI, columns, null, null, null);
215 mResolver.delete(Downloads.Impl.CONTENT_URI, null, null);
PublicApiFunctionalTest.java 17 package com.android.providers.downloads;
25 import android.provider.Downloads;
209 mSystemFacade.incrementTimeMillis(1); // ensure downloads are correctly ordered by time
279 private void checkAndCloseCursor(Cursor cursor, Download... downloads) {
282 assertEquals(downloads.length, cursor.getCount());
284 for (Download download : downloads) {
437 intent.setData(Uri.parse(Downloads.Impl.CONTENT_URI + "/" + download.mId));
  /packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/
DateSortedExpandableListAdapter.java 17 package com.android.providers.downloads.ui;
DownloadList.java 17 package com.android.providers.downloads.ui;
35 import android.provider.Downloads;
64 * View showing a list of all downloads the Download Manager knows about.
521 viewUri = ContentUris.withAppendedId(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, id);
587 // the download manager should always find a free filename for cache downloads,
642 intent.setClassName("com.android.providers.downloads",
643 "com.android.providers.downloads.DownloadReceiver");
644 intent.setData(ContentUris.withAppendedId(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, id));
672 // let DownloadService do the job of cleaning up the downloads db, mediaprovider db,
683 * Called when there's a change to the downloads database
    [all...]
  /external/chromium/chrome/browser/download/
download_browsertest.cc 43 // of downloads being seen in a particular state + other events that
53 // cancels our in-progress downloads.)
124 std::vector<DownloadItem*> downloads; local
125 download_manager_->SearchDownloads(string16(), &downloads); local
127 std::vector<DownloadItem*>::iterator it = downloads.begin();
128 for (; it != downloads.end(); ++it) {
194 // The number of downloads to wait on completing.
197 // The number of downloads entered in final state in initial
201 // construction and return from wait. But some downloads may be in our
208 // all downloads completing
278 std::vector<DownloadItem*> downloads; local
279 download_manager_->SearchDownloads(string16(), &downloads); local
649 manager->SearchDownloads(string16(), downloads); local
1234 std::vector<DownloadItem*> downloads; local
1236 string16(), &downloads); local
1278 std::vector<DownloadItem*> downloads; local
1279 GetDownloads(browser(), &downloads); local
    [all...]
  /external/chromium/chrome/browser/ui/webui/chromeos/
imageburner_ui.cc 268 std::vector<DownloadItem*> downloads; local
270 resource_manager_->GetImageDir(), &downloads);
273 for (std::vector<DownloadItem*>::const_iterator it = downloads.begin();
274 it != downloads.end();
609 std::vector<DownloadItem*> downloads; local
610 download_manager_->GetTemporaryDownloads(GetImageDir(), &downloads); local
613 for (std::vector<DownloadItem*>::const_iterator it = downloads.begin();
614 it != downloads.end();
  /packages/apps/VideoEditor/src/com/android/videoeditor/service/
VideoEditorProject.java 147 * @param downloads The list of downloads
151 Uri exportedMovieUri, String theme, List<Download> downloads) {
157 if (downloads != null) {
158 mDownloads = downloads;
1180 final List<Download> downloads = new ArrayList<Download>(); local
    [all...]
  /packages/apps/Email/src/com/android/email/activity/
MessageViewFragmentBase.java 778 File downloads = Environment.getExternalStoragePublicDirectory( local
780 downloads.mkdirs();
781 File file = Utility.createUniqueFile(downloads, attachment.mFileName);
794 // user clicks on the item in the Downloads app. So, we run the attachment through
    [all...]
  /external/chromium/chrome/browser/automation/
testing_automation_provider.cc 2725 std::vector<DownloadItem*> downloads; local
2727 GetAllDownloads(FilePath(), &downloads); local
2750 std::vector<DownloadItem*> downloads; local
2752 GetCurrentDownloads(FilePath(), &downloads); local
2772 std::vector<DownloadItem*> downloads; local
2773 download_manager->GetAllDownloads(FilePath(), &downloads); local
    [all...]

Completed in 2469 milliseconds

12