Lines Matching defs:service
17 package com.android.email.service;
44 import com.android.emailcommon.service.EmailServiceProxy;
45 import com.android.emailcommon.service.EmailServiceStatus;
46 import com.android.emailcommon.service.IEmailServiceCallback;
152 * stalled, as determined by the timing of the most recent service callback
413 // If our service instance is gone, just leave
711 // TODO: We should have some more data-driven way of determining the service intent.
754 * Ask the service for the number of items in the download queue
758 AttachmentDownloadService service = sRunningService;
759 if (service != null) {
760 return service.getSize();
766 * Ask the service whether a particular attachment is queued for download
771 AttachmentDownloadService service = sRunningService;
772 if (service != null) {
773 return service.isQueued(attachmentId);
779 * Ask the service to remove an attachment from the download queue
784 AttachmentDownloadService service = sRunningService;
785 if (service != null) {
786 return service.dequeue(attachmentId);
792 AttachmentDownloadService service = sRunningService;
793 if (service != null) {
794 service.mDownloadSet.onWatchdogAlarm();
875 // These fields are only used within the service thread
908 Log.d(TAG, "*** All done; shutting down service");
941 // Start up our service thread
951 // Mark this instance of the service as stopped