HomeSort by relevance Sort by last modified time
    Searched refs:Downloads (Results 1 - 25 of 40) sorted by null

1 2

  /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...]
  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
DownloadProvider.java 17 package com.android.providers.downloads;
20 import static android.provider.Downloads.Impl.COLUMN_DESTINATION;
21 import static android.provider.Downloads.Impl.COLUMN_MEDIA_SCANNED;
22 import static android.provider.Downloads.Impl.COLUMN_MIME_TYPE;
23 import static android.provider.Downloads.Impl.DESTINATION_NON_DOWNLOADMANAGER_DOWNLOAD;
24 import static android.provider.Downloads.Impl._DATA;
52 import android.provider.Downloads;
83 private static final String DB_NAME = "downloads.db";
87 private static final String DB_TABLE = "downloads";
96 /** URI matcher constant for the URI of all downloads belonging to the calling UID *
    [all...]
DownloadInfo.java 17 package com.android.providers.downloads;
19 import static android.provider.Downloads.Impl.VISIBILITY_VISIBLE;
20 import static android.provider.Downloads.Impl.VISIBILITY_VISIBLE_NOTIFY_COMPLETED;
22 import static com.android.providers.downloads.Constants.TAG;
33 import android.provider.Downloads;
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)
    [all...]
DownloadIdleService.java 17 package com.android.providers.downloads;
19 import static com.android.providers.downloads.Constants.TAG;
20 import static com.android.providers.downloads.StorageUtils.listFilesRecursive;
33 import android.provider.Downloads;
39 import com.android.providers.downloads.StorageUtils.ConcreteFile;
101 Downloads.Impl._ID,
102 Downloads.Impl.COLUMN_STATUS,
103 Downloads.Impl.COLUMN_LAST_MODIFICATION,
104 Downloads.Impl.COLUMN_IS_VISIBLE_IN_DOWNLOADS_UI };
110 * Remove stale downloads that third-party apps probably forgot about. W
    [all...]
DownloadReceiver.java 17 package com.android.providers.downloads;
22 import static com.android.providers.downloads.Constants.TAG;
23 import static com.android.providers.downloads.Helpers.getAsyncHandler;
24 import static com.android.providers.downloads.Helpers.getDownloadNotifier;
25 import static com.android.providers.downloads.Helpers.getInt;
26 import static com.android.providers.downloads.Helpers.getString;
27 import static com.android.providers.downloads.Helpers.getSystemFacade;
39 import android.provider.Downloads;
51 * indicating the IDs (as array of long) of the downloads that were
55 "com.android.providers.downloads.extra.CANCELED_DOWNLOAD_IDS"
    [all...]
StopRequestException.java 16 package com.android.providers.downloads;
18 import static android.provider.Downloads.Impl.STATUS_UNHANDLED_HTTP_CODE;
19 import static android.provider.Downloads.Impl.STATUS_UNHANDLED_REDIRECT;
DownloadThread.java 17 package com.android.providers.downloads;
19 import static android.provider.Downloads.Impl.COLUMN_CONTROL;
20 import static android.provider.Downloads.Impl.COLUMN_DELETED;
21 import static android.provider.Downloads.Impl.COLUMN_STATUS;
22 import static android.provider.Downloads.Impl.CONTROL_PAUSED;
23 import static android.provider.Downloads.Impl.STATUS_BAD_REQUEST;
24 import static android.provider.Downloads.Impl.STATUS_CANCELED;
25 import static android.provider.Downloads.Impl.STATUS_CANNOT_RESUME;
26 import static android.provider.Downloads.Impl.STATUS_FILE_ERROR;
27 import static android.provider.Downloads.Impl.STATUS_HTTP_DATA_ERROR
    [all...]
DownloadNotifier.java 17 package com.android.providers.downloads;
22 import static android.provider.Downloads.Impl.STATUS_QUEUED_FOR_WIFI;
23 import static android.provider.Downloads.Impl.STATUS_RUNNING;
25 import static com.android.providers.downloads.Constants.TAG;
39 import android.provider.Downloads;
56 * Collapses similar downloads into a single notification, and builds
82 * Current speed of active downloads, mapped from download ID to speed in
141 Downloads.Impl._ID,
142 Downloads.Impl.COLUMN_STATUS,
143 Downloads.Impl.COLUMN_VISIBILITY
    [all...]
DownloadScanner.java 17 package com.android.providers.downloads;
20 import static com.android.providers.downloads.Constants.LOGV;
21 import static com.android.providers.downloads.Constants.TAG;
31 import android.provider.Downloads;
42 * Manages asynchronous scanning of completed downloads.
162 values.put(Downloads.Impl.COLUMN_MEDIA_SCANNED, 1);
164 values.put(Downloads.Impl.COLUMN_MEDIAPROVIDER_URI, uri.toString());
169 Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, req.id);
Helpers.java 17 package com.android.providers.downloads;
23 import static android.provider.Downloads.Impl.FLAG_REQUIRES_CHARGING;
24 import static android.provider.Downloads.Impl.FLAG_REQUIRES_DEVICE_IDLE;
26 import static com.android.providers.downloads.Constants.TAG;
43 import android.provider.Downloads;
208 if (destination == Downloads.Impl.DESTINATION_FILE_URI) {
237 if (destination == Downloads.Impl.DESTINATION_FILE_URI) {
341 // The VFAT file system is assumed as target for downloads.
496 * prevents us from opening files that aren't actually downloads.
550 case Downloads.Impl.DESTINATION_CACHE_PARTITION
    [all...]
OpenHelper.java 17 package com.android.providers.downloads;
22 import static android.provider.Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI;
24 import static com.android.providers.downloads.Constants.TAG;
36 import android.provider.Downloads.Impl.RequestHeaders;
DownloadJobService.java 17 package com.android.providers.downloads;
19 import static android.provider.Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI;
21 import static com.android.providers.downloads.Constants.TAG;
33 * The majority of downloads should have ETag values to enable resuming, so if a
StorageUtils.java 17 package com.android.providers.downloads;
20 import static android.provider.Downloads.Impl.STATUS_INSUFFICIENT_SPACE_ERROR;
22 import static com.android.providers.downloads.Constants.TAG;
32 import android.provider.Downloads;
86 * <li>If backed by the cache partition, then try deleting older downloads
147 // Only consider finished downloads
152 Slog.d(TAG, "Found " + files.size() + " downloads on cache");
  /frameworks/base/core/java/android/app/
DownloadManager.java 38 import android.provider.Downloads;
51 * The download manager is a system service that handles long-running HTTP downloads. Clients may
53 * conduct the download in the background, taking care of HTTP interactions and retrying downloads
56 * Apps that request downloads through this API should register a broadcast receiver for
58 * download in a notification or from the downloads UI.
70 public final static String COLUMN_ID = Downloads.Impl._ID;
76 public final static String COLUMN_TITLE = Downloads.Impl.COLUMN_TITLE;
82 public final static String COLUMN_DESCRIPTION = Downloads.Impl.COLUMN_DESCRIPTION;
87 public final static String COLUMN_URI = Downloads.Impl.COLUMN_URI;
128 public final static String COLUMN_STATUS = Downloads.Impl.COLUMN_STATUS
    [all...]
  /packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DownloadProviderFunctionalTest.java 17 package com.android.providers.downloads;
30 import android.provider.Downloads;
42 * This test exercises the entire download manager working together -- it requests downloads through
45 * device to serve downloads.
60 assertEquals(Downloads.Impl.STATUS_PENDING, getDownloadStatus(downloadUri));
62 runUntilStatus(downloadUri, Downloads.Impl.STATUS_SUCCESS);
75 updateDownload(downloadUri, Downloads.Impl.COLUMN_DESTINATION,
76 Integer.toString(Downloads.Impl.DESTINATION_CACHE_PARTITION));
77 runUntilStatus(downloadUri, Downloads.Impl.STATUS_SUCCESS);
92 runUntilStatus(downloadUri, Downloads.Impl.STATUS_SUCCESS)
    [all...]
HelpersTest.java 17 package com.android.providers.downloads;
20 import android.provider.Downloads;
46 "video/mp4", Downloads.Impl.DESTINATION_CACHE_PARTITION);
53 null, null, null, null, Downloads.Impl.DESTINATION_CACHE_PARTITION);
57 null, null, null, null, Downloads.Impl.DESTINATION_CACHE_PARTITION);
67 "video/mp4", Downloads.Impl.DESTINATION_CACHE_PARTITION);
77 "dispo", "locat", "video/mp4", Downloads.Impl.DESTINATION_FILE_URI);
85 null, "video/mp4", Downloads.Impl.DESTINATION_CACHE_PARTITION);
AbstractDownloadProviderFunctionalTest.java 17 package com.android.providers.downloads;
32 import android.provider.Downloads;
56 private static final String PROVIDER_AUTHORITY = "downloads";
164 info.authority = "downloads";
195 Cursor cursor = mResolver.query(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI,
207 cursor = mResolver.query(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, null,
222 * Remove any downloaded files and delete any lingering downloads.
228 String[] columns = new String[] {Downloads.Impl._DATA};
229 Cursor cursor = mResolver.query(Downloads.Impl.CONTENT_URI, columns, null, null, null);
240 mResolver.delete(Downloads.Impl.CONTENT_URI, null, null)
    [all...]
StorageTest.java 17 package com.android.providers.downloads;
23 import static android.provider.Downloads.Impl.DESTINATION_CACHE_PARTITION;
24 import static android.provider.Downloads.Impl.DESTINATION_SYSTEMCACHE_PARTITION;
30 import android.provider.Downloads.Impl;
38 import com.android.providers.downloads.StorageUtils.ObserverLatch;
  /frameworks/opt/telephony/src/java/com/google/android/mms/util/
DrmConvertSession.java 23 import android.provider.Downloads;
118 * @return Downloads.Impl.STATUS_SUCCESS if execution is ok.
119 * Downloads.Impl.STATUS_FILE_ERROR in case converted file can not
120 * be accessed. Downloads.Impl.STATUS_NOT_ACCEPTABLE if a problem
122 * Downloads.Impl.STATUS_UNKNOWN_ERROR if a general error occurred.
126 int result = Downloads.Impl.STATUS_UNKNOWN_ERROR;
133 result = Downloads.Impl.STATUS_NOT_ACCEPTABLE;
140 result = Downloads.Impl.STATUS_SUCCESS;
142 result = Downloads.Impl.STATUS_FILE_ERROR;
145 result = Downloads.Impl.STATUS_FILE_ERROR
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/mmslib/util/
DrmConvertSession.java 24 import com.android.messaging.mmslib.Downloads;
120 * @return Downloads.Impl.STATUS_SUCCESS if execution is ok.
121 * Downloads.Impl.STATUS_FILE_ERROR in case converted file can not
122 * be accessed. Downloads.Impl.STATUS_NOT_ACCEPTABLE if a problem
124 * Downloads.Impl.STATUS_UNKNOWN_ERROR if a general error occurred.
128 int result = Downloads.Impl.STATUS_UNKNOWN_ERROR;
135 result = Downloads.Impl.STATUS_NOT_ACCEPTABLE;
142 result = Downloads.Impl.STATUS_SUCCESS;
144 result = Downloads.Impl.STATUS_FILE_ERROR;
147 result = Downloads.Impl.STATUS_FILE_ERROR
    [all...]
  /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");
  /frameworks/base/core/java/android/provider/
Downloads.java 29 public final class Downloads {
30 private Downloads() {}
37 * The constants URI ... STATUS are the names of columns in the downloads table.
44 public static final String AUTHORITY = "downloads";
58 * The permission to access the all the downloads in the manager.
89 * The content:// URI to access downloads owned by the caller's UID.
92 Uri.parse("content://downloads/my_downloads");
95 * The content URI for accessing all downloads across all UIDs (requires the
99 Uri.parse("content://downloads/all_downloads");
105 * The content URI for accessing publicly accessible downloads (i.e., it requires n
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/mmslib/
Downloads.java 29 public final class Downloads {
30 private Downloads() {}
37 * The constants URI ... STATUS are the names of columns in the downloads table.
56 * The permission to access the all the downloads in the manager.
87 * The content:// URI to access downloads owned by the caller's UID.
90 Uri.parse("content://downloads/my_downloads");
93 * The content URI for accessing all downloads across all UIDs (requires the
97 Uri.parse("content://downloads/all_downloads");
103 * The content URI for accessing publicly accessible downloads (i.e., it requires no
107 Uri.parse("content://downloads/" + PUBLICLY_ACCESSIBLE_DOWNLOADS_URI_SEGMENT)
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/builderTemplate/publishingFiles/dropSiteRootFiles/
index.php 3 <title>Eclipse Project Downloads</title></head>
10 $warning = '<br><font color="#FF0000" size="+2">Internal OTI Mirror. Live external site is <a href="http://download.eclipse.org/eclipse/downloads" target="_top">here</a>. </font>';
16 <font class=indextop> &lt;your project&gt;<br>downloads</font> <br> <font class=indexsub>
17 latest downloads from the &lt;your project</font>&gt;<br> <?php echo $warning; ?>
20 Downloads</font></b></td></tr> <!-- The Eclipse Projects --> <tr> <td> <p>On this
25 All downloads are provided under the terms and conditions of the <a href="http://www.eclipse.org/legal/notice.html">Eclipse.org
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
MediaFrameworkTest.java 28 import android.provider.Downloads;

Completed in 3492 milliseconds

1 2