Home
last modified time | relevance | path

Searched refs:mDownloadsInProgress (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Email/provider_src/com/android/email/service/
DAttachmentService.java145 final ConcurrentHashMap<Long, DownloadRequest> mDownloadsInProgress = field in AttachmentService
470 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 …]
/packages/apps/Email/tests/src/com/android/email/service/
DAttachmentServiceTests.java416 attachmentService.mDownloadsInProgress.put(dr.mAttachmentId, dr); in testAttachmentWatchdogAlarm()
441 attachmentService.mDownloadsInProgress.put(dr.mAttachmentId, dr); in testAttachmentWatchdogAlarmNeedsCancel()