Searched refs:mDownloadsInProgress (Results 1 – 2 of 2) sorted by relevance
145 final ConcurrentHashMap<Long, DownloadRequest> mDownloadsInProgress = field in AttachmentService470 service.mDownloadsInProgress.values(); in watchdogAlarm()489 if (!service.mDownloadsInProgress.isEmpty()) { in issueNextWatchdogAlarm()530 final DownloadRequest req = mDownloadsInProgress.get(attachmentId); in loadAttachmentStatus()709 if (mDownloadQueue.isEmpty() && (mDownloadsInProgress.size() < 1)) { in run()764 if (mDownloadsInProgress.containsKey(att.mId)) { in onChange()859 while (mDownloadsInProgress.size() < MAX_SIMULTANEOUS_DOWNLOADS) { in processQueue()903 MAX_SIMULTANEOUS_DOWNLOADS - mDownloadsInProgress.size(); in processQueue()983 boolean alreadyInProgress = mDownloadsInProgress.get(req.mAttachmentId) != null; in tryStartDownload()1012 mDownloadsInProgress.put(req.mAttachmentId, req); in startDownload()[all …]
416 attachmentService.mDownloadsInProgress.put(dr.mAttachmentId, dr); in testAttachmentWatchdogAlarm()441 attachmentService.mDownloadsInProgress.put(dr.mAttachmentId, dr); in testAttachmentWatchdogAlarmNeedsCancel()