/external/chromium_org/chrome/browser/ui/cocoa/download/ |
download_item_button.h | 20 @property(assign, nonatomic) base::FilePath download; variable
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/downloads/download_manager/ |
icons.js | 6 var download = document.getElementById('download'); 7 download.onclick = function() { 9 download.disabled = true;
|
/external/chromium_org/native_client_sdk/src/build_tools/sdk_tools/command/ |
sources.py | 5 import download namespace 10 download.UrlOpen(url)
|
update.py | 15 import download namespace 137 url_stream = download.UrlOpen(url) 139 progress = download.MakeProgressFunction(content_length) 140 sha1, size = download.DownloadAndComputeHash(url_stream, out_stream,
|
/external/chromium_org/tools/valgrind/ |
waterfall.sh | 18 download() { function 19 # Download a file. 20 # $1 = URL to download 28 echo "Failed to download '$1'... aborting" 36 echo "Failed to download '$1'... aborting" 40 echo "Need either curl or wget to download stuff... aborting" 56 download $1 "$LOGS_DIR/builders" 67 download $SLAVE_URL?numbuilds=${NUMBUILDS} "$LOGS_DIR/slave_${S}" 95 download $SLAVE_URL/builds/$BUILD "$TMPFILE" 109 download "$SLAVE_URL/builds/$REPORT/text" "$TMPFILE [all...] |
/external/chromium_org/chrome/browser/download/ |
download_item_model.h | 28 // such, the caller is expected to ensure that the |download| passed into the 33 // Constructs a DownloadItemModel. The caller must ensure that |download| 35 explicit DownloadItemModel(content::DownloadItem* download); 38 // Returns a long descriptive string for a download that's in the INTERRUPTED 42 // Returns a short one-line status string for the download. 45 // Returns the localized status text for an in-progress download. This 49 // Returns a string suitable for use as a tooltip. For a regular download, the 50 // tooltip is the filename. For an interrupted download, the string states the 60 // Get the warning text to display for a dangerous download. The |base_width| 66 // Get the caption text for a button for confirming a dangerous download 145 content::DownloadItem* download() { return download_; } function in class:DownloadItemModel [all...] |
download_danger_prompt_browsertest.cc | 7 #include "chrome/browser/download/download_danger_prompt.h" 66 content::MockDownloadItem& download() { return download_; } function in class:DownloadDangerPromptTest 115 // If the download is no longer dangerous (because it was accepted), the 118 EXPECT_CALL(download(), IsDangerous()).WillOnce(Return(false)); 119 download().NotifyObserversDownloadUpdated(); 122 // If the download is in a terminal state then the dialog should DISMISS 125 EXPECT_CALL(download(), IsDangerous()).WillOnce(Return(true)); 126 EXPECT_CALL(download(), IsDone()).WillOnce(Return(true)); 127 download().NotifyObserversDownloadUpdated(); 130 // If the download is dangerous and is not in a terminal state, don't dismis [all...] |
/development/samples/XmlAdapters/src/com/example/android/xmladapters/ |
UrlImageBinder.java | 41 imageDownloader.download(url, (ImageView) view);
|
ImageDownloader.java | 48 * This helper class download images from the Internet and binds those with the provided ImageView. 90 * Download the specified image from the Internet and binds it to the provided ImageView. The 94 * @param url The URL of the image to download. 97 public void download(String url, ImageView imageView) { method in class:ImageDownloader 98 download(url, imageView, null); method 102 * Same as {@link #download(String, ImageView)}, with the possibility to provide an additional 105 * @param url The URL of the image to download. 109 public void download(String url, ImageView imageView, String cookie) { method in class:ImageDownloader 122 * Same as download but the image is always downloaded and the cache is not used. 130 * Same as download but the image is always downloaded and the cache is not used [all...] |
/external/qemu/android/ |
android.h | 39 int download; member in struct:__anon32738
|
/external/libnfc-nxp/Linux_x86/ |
phDal4Nfc_link.h | 57 phDal4Nfc_link_download_CB_t download; member in struct:__anon28211
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
DownloadUtils.java | 38 return download(jc, url, fos); 66 public static boolean download(JobContext jc, URL url, OutputStream output) { method in class:DownloadUtils 73 Log.w(TAG, "fail to download", t);
|
DownloadCache.java | 114 public Entry download(JobContext jc, URL url) { method in class:DownloadCache 137 // Finally, we need to download the file .... 140 if (task == null) { // if not, start the download task now 224 public static final String DATABASE_NAME = "download.db"; 322 // download from url to tempFile 328 Log.e(TAG, String.format("fail to download %s", mUrl), e);
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
PublicApiFunctionalTest.java | 106 Download download = enqueueRequest(getRequest()); local 108 download.getLongField(DownloadManager.COLUMN_STATUS)); 110 download.getStringField(DownloadManager.COLUMN_URI)); 111 assertEquals(download.mId, download.getLongField(DownloadManager.COLUMN_ID)); 113 download.getLongField(DownloadManager.COLUMN_LAST_MODIFIED_TIMESTAMP)); 116 download.runUntilStatus(DownloadManager.STATUS_SUCCESSFUL); 121 Uri localUri = Uri.parse(download.getStringField(DownloadManager.COLUMN_LOCAL_URI)); 124 assertEquals("text/plain", download.getStringField(DownloadManager.COLUMN_MEDIA_TYPE)) 145 final Download download = enqueueRequest(getRequest() local 163 Download download = enqueueRequest(getRequest() local 185 Download download = enqueueRequest(getRequest()); local 205 Download download = enqueueRequest(getRequest().setDestinationUri(getExternalUri())); local 349 Download download = enqueueRequest(getRequest().setDestinationUri(destination)); local 369 Download download = enqueueRequest(getRequest().addRequestHeader("Header1", "value1") local 379 Download download = enqueueRequest(getRequest().addRequestHeader("header", "value")); local 395 Download download = enqueueRequest(getRequest()); local 422 final Download download = enqueueRequest(getRequest()); local 436 final Download download = enqueueRequest(getRequest()); local 463 final Download download = enqueueRequest(getRequest()); local 485 Download download = enqueueRequest(getRequest()); local 507 Download download = enqueueRequest(getRequest()); local 526 Download download = enqueueRequest(getRequest()); local 538 Download download = enqueueRequest(getRequest()); local 559 Download download = enqueueRequest(getRequest()); local 574 Download download = enqueueRequest(getRequest()); local 593 Download download = enqueueRequest(getRequest()); local 607 final Download download = enqueueRequest(getRequest()); local 615 final Download download = enqueueRequest( local 627 final Download download = enqueueRequest(getRequest()); local 638 final Download download = enqueueRequest(getRequest().setNotificationVisibility( local 653 Download download = enqueueRequest(getRequest()); local 667 Download download = enqueueRequest(getRequest()); local 686 Download download = enqueueRequest(getRequest().setDestinationUri(destination)); local 691 Download download = enqueueRequest(getRequest()); local 705 Download download = enqueueRequest(getRequest()); local 721 Download download = enqueueRequest(getRequest()); local 739 final Download download = enqueueRequest(getRequest()); local [all...] |
ThreadingTest.java | 35 * Download manager tests that require multithreading. 51 * a download. 55 Download download = enqueueRequest(getRequest()); local 56 while (download.getStatus() != DownloadManager.STATUS_SUCCESSFUL) { 63 final List<Pair<Download, String>> downloads = Lists.newArrayList(); 68 final String body = "DOWNLOAD " + i + " CONTENTS"; 73 final Download d = enqueueRequest(getRequest()); 82 for (Pair<Download,String> d : downloads) { 90 for (Pair<Download, String> d : downloads) [all...] |
StorageTest.java | 207 // At this point, hide all other disk space to make the download fail; 232 final Download download = enqueueRequest(req); local 233 download.runUntilStatus(expectedStatus); 236 MoreAsserts.assertEquals(DOWNLOAD_BODY, download.getRawContents()); 240 assertEquals(expectedReason, download.getLongField(COLUMN_REASON));
|
/development/samples/RSSReader/src/com/example/android/rssreader/ |
RssReader.java | 50 * The RssReader example demonstrates forking off a thread to download 65 * <li>Download = fork off a worker thread 136 Button download = (Button)findViewById(R.id.download); local 137 download.setOnClickListener(new OnClickListener() { 258 * Given an rss url string, starts the rss-download-thread going.
|
/external/chromium_org/chrome/browser/ui/views/download/ |
download_shelf_view.cc | 5 #include "chrome/browser/ui/views/download/download_shelf_view.h" 12 #include "chrome/browser/download/download_item_model.h" 13 #include "chrome/browser/download/download_stats.h" 18 #include "chrome/browser/ui/views/download/download_item_view.h" 37 // Max number of download views we'll contain. Any time a view is added and 38 // we already have this many download views, one is removed. 41 // Padding from left edge and first download view. 50 // Padding between the download views. 62 // New download item animation speed in milliseconds. 70 // download is most likely going to trigger a new window to appear over th 405 DownloadItem* download = download_views_[i]->download(); local [all...] |
download_item_view.h | 5 // A ChromeView that implements one download on the Download shelf. 7 // indicating the download's file name, a text label indicating the 8 // download's status (such as the number of bytes downloaded so far) 9 // and a button for canceling an in progress download, or opening 10 // the completed download. 28 #include "chrome/browser/download/download_item_model.h" 58 DownloadItemView(content::DownloadItem* download, DownloadShelfView* parent); 70 content::DownloadItem* download() { return model_.download(); } function in class:DownloadItemView [all...] |
/external/chromium_org/content/browser/download/ |
download_item_impl_unittest.cc | 11 #include "content/browser/download/download_create_info.h" 12 #include "content/browser/download/download_file_factory.h" 13 #include "content/browser/download/download_item_impl.h" 14 #include "content/browser/download/download_item_impl_delegate.h" 15 #include "content/browser/download/download_request_handle.h" 16 #include "content/browser/download/mock_download_file.h" 128 virtual void OnDownloadRemoved(DownloadItem* download) OVERRIDE { 130 << " download = " << download->DebugString(false); 134 virtual void OnDownloadUpdated(DownloadItem* download) OVERRIDE 229 DownloadItemImpl* download = local [all...] |
download_manager_impl.cc | 5 #include "content/browser/download/download_manager_impl.h" 22 #include "content/browser/download/download_create_info.h" 23 #include "content/browser/download/download_file_factory.h" 24 #include "content/browser/download/download_item_factory.h" 25 #include "content/browser/download/download_item_impl.h" 26 #include "content/browser/download/download_stats.h" 255 DownloadItemImpl* download = local 257 downloads_[id] = download; 258 return download; 295 // callback when the download is ready for completion 342 DownloadItemImpl* download = it->second; local 387 DownloadItemImpl* download = NULL; local 573 DownloadItemImpl* download = it->second; local [all...] |
/external/chromium_org/native_client_sdk/src/build_tools/sdk_tools/ |
sdk_update_main.py | 10 import download namespace 145 url_stream = download.UrlOpen(url) 146 download.DownloadAndComputeHash(url_stream, manifest_stream)
|
/external/jsoncpp/ |
makerelease.py | 30 SCONS_LOCAL_URL = 'http://sourceforge.net/projects/scons/files/scons-local/1.2.0/scons-local-1.2.0.tar.gz/download' 132 def download( url, target_path ): function 133 """Download file represented by url to target_path. 334 # Decompress source tarball, download and install scons-local 342 download( SCONS_LOCAL_URL, scons_local_path ) 370 print 'No upload user specified. Web site and download tarbal were not uploaded.'
|
/external/chromium_org/chrome/browser/safe_browsing/ |
incident_reporting_service_unittest.cc | 126 // Post a task that reports a download. 237 uploaded_report_->download().token()); 301 download, 306 FROM_HERE, base::Bind(callback, base::Passed(&download))); 382 scoped_ptr<safe_browsing::ClientIncidentReport_DownloadDetails> download; local 389 download.reset(new safe_browsing::ClientIncidentReport_DownloadDetails); 390 download->set_token(kFakeDownloadToken); 396 download.Pass(), 449 // Verify that the most recent download was looked for. 453 // environment data, and download details [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/ |
pimp.py | 129 def download(self, url, filename, output=None): member in class:PimpDownloader 139 def download(self, url, filename, output=None): member in class:PimpCurlDownloader 150 def download(self, url, filename, output=None): member in class:PimpUrllibDownloader 154 download = urllib2.urlopen(url) 155 if 'content-length' in download.headers: 156 length = long(download.headers['content-length']) 160 data = download.read(4096) #read 4K at a time 176 data = download.read(4096) 323 rv += "Warning: Download directory \"%s\" does not exist\n" % self.downloadDir 325 rv += "Warning: Download directory \"%s\" is not writable or not readable\n" % self.downloadDi [all...] |