Home
last modified time | relevance | path

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

/packages/apps/Email/tests/src/com/android/email/service/
DAttachmentServiceTests.java268 AttachmentService.DownloadRequest returnRequest = dq.getNextRequest(); in testDownloadQueueSizeReporting() local
269 assertNotNull(returnRequest); in testDownloadQueueSizeReporting()
283 returnRequest = dq.getNextRequest(); in testDownloadQueueSizeReporting()
284 assertNotNull(returnRequest); in testDownloadQueueSizeReporting()
288 returnRequest = dq.getNextRequest(); in testDownloadQueueSizeReporting()
289 assertNotNull(returnRequest); in testDownloadQueueSizeReporting()
293 returnRequest = dq.getNextRequest(); in testDownloadQueueSizeReporting()
294 assertNotNull(returnRequest); in testDownloadQueueSizeReporting()
342 final AttachmentService.DownloadRequest returnRequest = dq.getNextRequest(); in testDownloadQueueTestPriority() local
343 assertNotNull(returnRequest); in testDownloadQueueTestPriority()
[all …]
/packages/apps/Email/provider_src/com/android/email/service/
DAttachmentService.java353 final DownloadRequest returnRequest; in getNextRequest() local
355 returnRequest = mRequestQueue.poll(); in getNextRequest()
356 if (returnRequest != null) { in getNextRequest()
357 final long requestId = returnRequest.mAttachmentId; in getNextRequest()
361 if (returnRequest != null) { in getNextRequest()
362 debugTrace("Retrieved DownloadRequest #%d", returnRequest.mAttachmentId); in getNextRequest()
364 return returnRequest; in getNextRequest()