HomeSort by relevance Sort by last modified time
    Searched refs:downloads (Results 26 - 50 of 75) sorted by null

12 3

  /packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
AttachmentUtilities.java 418 File downloads = Environment.getExternalStoragePublicDirectory( local
420 downloads.mkdirs();
421 File file = Utility.createUniqueFile(downloads, attachment.mFileName);
426 // after the user clicks on the item in the Downloads app. So, we run the
  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
RealSystemFacade.java 17 package com.android.providers.downloads;
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");
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...]
  /packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
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);
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;
FakeSystemFacade.java 1 package com.android.providers.downloads;
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";
194 Cursor cursor = mResolver.query(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI,
204 * Remove any downloaded files and delete any lingering downloads.
210 String[] columns = new String[] {Downloads.Impl._DATA};
211 Cursor cursor = mResolver.query(Downloads.Impl.CONTENT_URI, columns, null, null, null);
222 mResolver.delete(Downloads.Impl.CONTENT_URI, null, null);
AbstractPublicApiTest.java 17 package 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...]
PublicApiFunctionalTest.java 17 package com.android.providers.downloads;
48 import android.provider.Downloads;
255 mSystemFacade.incrementTimeMillis(1); // ensure downloads are correctly ordered by time
325 private void checkAndCloseCursor(Cursor cursor, Download... downloads) {
328 assertEquals(downloads.length, cursor.getCount());
330 for (Download download : downloads) {
548 intent.setData(Uri.parse(Downloads.Impl.CONTENT_URI + "/" + download.mId));
565 intent.setData(Uri.parse(Downloads.Impl.CONTENT_URI + "/" + download.mId));
    [all...]
  /external/chromium-trace/catapult/third_party/gsutil/gslib/
tracker_file.py 348 normal and sliced downloads. For normal downloads, the existing bytes in
351 is used to determine the download start point. For sliced downloads, the
375 # Don't create a tracker file for a small downloads; cross-process resumes
  /external/autotest/puppylab/
vm_manager.py 101 'https://www.vagrantup.com/downloads and installing '
  /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...]
  /build/tools/droiddoc/templates-sdk/
customizations.cs 87 elif:downloads ?><?cs include:"../../../../frameworks/base/docs/html/ndk/downloads/downloads_toc.cs" ?><?cs
167 <?cs elif:downloads ?>
168 <?cs include:"../../../../frameworks/base/docs/html/ndk/downloads/downloads_toc.cs" ?>
docpage.cs 14 if:downloads ?> downloads<?cs /if ?><?cs
118 &#124; <a href="<?cs var:toroot ?>downloads/samples/<?cs var:projectDir ?>.zip">Download</a>
sample.cs 15 &#124; <a href="<?cs var:toroot ?>downloads/samples/<?cs var:projectDir ?>.zip"
  /build/tools/droiddoc/templates-sdk-dev/
customizations.cs 87 elif:downloads ?><?cs include:"../../../../frameworks/base/docs/html/ndk/downloads/downloads_toc.cs" ?><?cs
167 <?cs elif:downloads ?>
168 <?cs include:"../../../../frameworks/base/docs/html/ndk/downloads/downloads_toc.cs" ?>
docpage.cs 14 if:downloads ?> downloads<?cs /if ?><?cs
118 &#124; <a href="<?cs var:toroot ?>downloads/samples/<?cs var:projectDir ?>.zip">Download</a>
sample.cs 15 &#124; <a href="<?cs var:toroot ?>downloads/samples/<?cs var:projectDir ?>.zip"
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src_rss/org/eclipse/releng/util/rss/
messages.properties 29 RSSFeedAddEntryTask.BuildURLError=Warning: no buildURL specified, eg., http://server/path/to/project/downloads/drops/branch/buildID/\!
  /external/libvorbis/
libvorbis.spec 10 Source: http://downloads.xiph.org/releases/vorbis/%{name}-%{version}.tar.gz
  /build/tools/droiddoc/templates-sdk/components/
masthead.cs 50 <a href="<?cs var:toroot ?>ndk/downloads/index.html" class="dac-header-tab"
51 >Downloads</a>
159 <li class="dac-nav-item downloads">
160 <a class="dac-nav-link" href="<?cs var:toroot ?>ndk/downloads/index.html"
161 >Downloads</a>
  /build/tools/droiddoc/templates-sdk-dev/components/
masthead.cs 50 <a href="<?cs var:toroot ?>ndk/downloads/index.html" class="dac-header-tab"
51 >Downloads</a>
159 <li class="dac-nav-item downloads">
160 <a class="dac-nav-link" href="<?cs var:toroot ?>ndk/downloads/index.html"
161 >Downloads</a>
  /build/tools/droiddoc/templates-ndk/
sample.cs 20 &#124; <a href="<?cs var:toroot ?>downloads/samples/<?cs var:projectDir ?>.zip"

Completed in 3905 milliseconds

12 3