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 LinkedList<>();
113 private static class DownloadTask { class in DownloadService
123 private DownloadTask(int id, Network network, String userAgent, String url, in DownloadTask() method in DownloadService.DownloadTask
201 final DownloadTask task = new DownloadTask(mNextDownloadId.getAndIncrement(), in enqueueDownloadTask()
280 final DownloadTask task; in run()
294 private void processDownload(@NonNull final DownloadTask task) { in processDownload()
373 long contentLength, @NonNull DownloadTask task, in downloadToFile()
446 long lastProgressUpdateTimeMs, @NonNull DownloadTask task, in maybeNotifyProgress()
470 private Notification makeProgressNotification(@NonNull DownloadTask task, in makeProgressNotification()
483 private Notification makeDoneNotification(@NonNull DownloadTask task) { in makeDoneNotification()
/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