Searched defs:targetUrl (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
H A DBandwidthTestUtil.java90 * @param targetUrl the url to download
94 public static boolean DownloadFromUrl(String targetUrl, File file) { argument
96 URL url = new URL(targetUrl);
H A DConnectionUtil.java350 * @param targetUrl the target to download.x
354 public boolean startDownloadAndWait(String targetUrl, long timeout) { argument
355 if (targetUrl.length() == 0 || targetUrl == null) {
359 Request request = new Request(Uri.parse(targetUrl));
361 Log.v(LOG_TAG, "Sending download request of " + targetUrl + " to DownloadManager");
365 Log.v(LOG_TAG, "startDownloadAndWait timed out, failed to fetch " + targetUrl +
369 Log.v(LOG_TAG, "Waiting for the download to finish " + targetUrl);

Completed in 830 milliseconds