Searched refs:targetUrl (Results 1 - 3 of 3) sorted by relevance
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
H A D | BandwidthTest.java | 115 String targetUrl = BandwidthTestUtil.buildDownloadUrl( 119 assertTrue(BandwidthTestUtil.DownloadFromUrl(targetUrl, tmpSaveFile)); 166 String targetUrl = BandwidthTestUtil.buildDownloadUrl( 169 assertTrue(BandwidthTestUtil.DownloadFromUrl(targetUrl, tmpSaveFile)); 228 String targetUrl = BandwidthTestUtil.buildDownloadUrl( 230 Log.v(LOG_TAG, "Download url: " + targetUrl); 232 assertTrue(mConnectionUtil.startDownloadAndWait(targetUrl, 500000));
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
H A D | BandwidthTestUtil.java | 90 * @param targetUrl the url to download 94 public static boolean DownloadFromUrl(String targetUrl, File file) { argument 96 URL url = new URL(targetUrl);
|
H A D | ConnectionUtil.java | 357 * @param targetUrl the target to download.x 361 public boolean startDownloadAndWait(String targetUrl, long timeout) { argument 362 if (targetUrl.length() == 0 || targetUrl == null) { 366 Request request = new Request(Uri.parse(targetUrl)); 368 Log.v(LOG_TAG, "Sending download request of " + targetUrl + " to DownloadManager"); 372 Log.v(LOG_TAG, "startDownloadAndWait timed out, failed to fetch " + targetUrl + 376 Log.v(LOG_TAG, "Waiting for the download to finish " + targetUrl);
|
Completed in 982 milliseconds