Home
last modified time | relevance | path

Searched refs:DownloadTask (Results 1 – 3 of 3) sorted by relevance

/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
DDownloadService.java90 private final Queue<DownloadTask> mQueue = new ArrayDeque<>(1);
100 private static class DownloadTask { class in DownloadService
110 private DownloadTask(int id, Network network, String userAgent, String url, in DownloadTask() method in DownloadService.DownloadTask
219 final DownloadTask task = new DownloadTask(mNextDownloadId.getAndIncrement(), in onStartCommand()
263 final DownloadTask task; in run()
277 private void processDownload(@NonNull final DownloadTask task) { in processDownload()
337 long contentLength, @NonNull DownloadTask task, in downloadToFile()
392 long lastProgressUpdateTimeMs, @NonNull DownloadTask task, in maybeNotifyProgress()
411 private Notification makeProgressNotification(@NonNull DownloadTask task, in makeProgressNotification()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DDownloadCache.java71 private final HashMap<String, DownloadTask> mTaskMap =
72 new HashMap<String, DownloadTask>();
139 DownloadTask task = mTaskMap.get(stringUrl); in download()
141 task = new DownloadTask(stringUrl); in download()
260 private class DownloadTask implements Job<File>, FutureListener<File> { class in DownloadCache
265 public DownloadTask(String url) { in DownloadTask() method in DownloadCache.DownloadTask
338 private DownloadTask mTask;
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DWifiDownloadReceiver.java22 DownloadTask mDownloadTask;
62 mDownloadTask = new DownloadTask(); in onReceive()
99 class DownloadTask extends AsyncTask<String, Integer, String> { class in WifiDownloadReceiver