Searched refs:mDownloads (Results 1 – 2 of 2) sorted by relevance
76 private Map<Long, DownloadInfo> mDownloads = Maps.newHashMap(); field in DownloadService296 synchronized (mDownloads) { in run()301 Set<Long> idsNoLongerInDatabase = new HashSet<Long>(mDownloads.keySet()); in run()319 DownloadInfo info = mDownloads.get(id); in run()351 for (DownloadInfo info : mDownloads.values()) { in run()359 mNotifier.updateNotification(mDownloads.values()); in run()368 for (DownloadInfo info : mDownloads.values()) { in run()437 mDownloads.put(info.mId, info); in insertDownloadLocked()478 DownloadInfo info = mDownloads.get(id); in deleteDownloadLocked()490 mDownloads.remove(info.mId); in deleteDownloadLocked()[all …]
69 private final List<Download> mDownloads; field in VideoEditorProject158 mDownloads = downloads; in VideoEditorProject()160 mDownloads = new ArrayList<Download>(); in VideoEditorProject()1134 mDownloads.add(new Download(mediaUri, mimeType, filename, System.currentTimeMillis())); in addDownload()1144 final int count = mDownloads.size(); in removeDownload()1146 final Download download = mDownloads.get(i); in removeDownload()1154 mDownloads.remove(i); in removeDownload()1165 return mDownloads; in getDownloads()1266 for (Download download : mDownloads) { in saveToXml()