/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
D | FileOperationService.java | 50 public class FileOperationService extends Service implements Job.Listener { 131 private Job mForegroundJob; 244 Job job = operation.createJob(this, this, jobId, features); in handleOperation() 315 private void deleteJob(Job job) { in deleteJob() 362 public void onStart(Job job) { in onStart() 394 public void onFinished(Job job) { in onFinished() 424 private void updateForegroundState(Job job) { in updateForegroundState() 425 Job candidate = getCandidateForegroundJob(); in updateForegroundState() 444 Notification notification = (candidate.getState() == Job.STATE_STARTED) in updateForegroundState() 452 private void cleanUpNotification(Job job) { in cleanUpNotification() [all …]
|
D | FileOperation.java | 98 abstract Job createJob(Context service, Job.Listener listener, String id, Features features); in createJob() 138 CopyJob createJob(Context service, Job.Listener listener, String id, Features features) { in createJob() 179 CopyJob createJob(Context service, Job.Listener listener, String id, Features features) { in createJob() 221 CopyJob createJob(Context service, Job.Listener listener, String id, Features features) { in createJob() 256 Job createJob(Context service, Job.Listener listener, String id, Features features) { in createJob()
|
D | Job.java | 72 abstract public class Job implements Runnable { class 127 Job(Context service, Listener listener, String id, in Job() method in Job 372 void onStart(Job job); in onStart() 373 void onFinished(Job job); in onFinished()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/ |
D | TestJobListener.java | 32 public class TestJobListener implements Job.Listener { 35 private final List<Job> progress = new ArrayList<>(); 36 @Nullable private Job started; 37 @Nullable private Job finished; 40 public void onStart(Job job) { in onStart() 45 public void onFinished(Job job) { in onFinished()
|
D | TestJob.java | 35 public class TestJob extends Job {
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | SnailItem.java | 23 import com.android.gallery3d.util.ThreadPool.Job; 39 public Job<Bitmap> requestImage(int type) { in requestImage() 41 return new Job<Bitmap>() { in requestImage() 50 public Job<BitmapRegionDecoder> requestLargeImage() { 52 return new Job<BitmapRegionDecoder>() {
|
D | ActionImage.java | 27 import com.android.gallery3d.util.ThreadPool.Job; 43 public Job<Bitmap> requestImage(int type) { in requestImage() 48 public Job<BitmapRegionDecoder> requestLargeImage() { in requestLargeImage() 52 private class BitmapJob implements Job<Bitmap> {
|
D | UriImage.java | 32 import com.android.gallery3d.util.ThreadPool.Job; 70 public Job<Bitmap> requestImage(int type) { in requestImage() 75 public Job<BitmapRegionDecoder> requestLargeImage() { in requestLargeImage() 171 private class RegionDecoderJob implements Job<BitmapRegionDecoder> { 183 private class BitmapJob implements Job<Bitmap> {
|
D | MediaItem.java | 24 import com.android.gallery3d.util.ThreadPool.Job; 53 public abstract Job<Bitmap> requestImage(int type); in requestImage() 54 public abstract Job<BitmapRegionDecoder> requestLargeImage(); in requestLargeImage()
|
D | LocalImage.java | 41 import com.android.gallery3d.util.ThreadPool.Job; 174 public Job<Bitmap> requestImage(int type) { in requestImage() 219 public Job<BitmapRegionDecoder> requestLargeImage() { in requestLargeImage() 224 implements Job<BitmapRegionDecoder> {
|
D | PanoramaMetadataJob.java | 24 import com.android.gallery3d.util.ThreadPool.Job; 27 public class PanoramaMetadataJob implements Job<PanoramaMetadata> {
|
D | LocalVideo.java | 30 import com.android.gallery3d.util.ThreadPool.Job; 154 public Job<Bitmap> requestImage(int type) { in requestImage() 178 public Job<BitmapRegionDecoder> requestLargeImage() { in requestLargeImage()
|
D | ImageCacheRequest.java | 25 import com.android.gallery3d.util.ThreadPool.Job; 28 abstract class ImageCacheRequest implements Job<Bitmap> {
|
D | DownloadCache.java | 33 import com.android.gallery3d.util.ThreadPool.Job; 260 private class DownloadTask implements Job<File>, FutureListener<File> {
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | JobLimiter.java | 20 import com.android.gallery3d.util.ThreadPool.Job; 41 private static class JobWrapper<T> implements Future<T>, Job<T> { 43 private Job<T> mJob; 48 public JobWrapper(Job<T> job, FutureListener<T> listener) { in JobWrapper() 105 Job<T> job = null; in run() 136 public synchronized <T> Future<T> submit(Job<T> job, FutureListener<T> listener) { in submit()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/ |
D | ThreadPool.java | 44 public interface Job<T> { interface in ThreadPool 97 public <T> Future<T> submit(Job<T> job, FutureListener<T> listener) { in submit() 103 public <T> Future<T> submit(Job<T> job) { in submit() 110 private Job<T> mJob; 119 public Worker(Job<T> job, FutureListener<T> listener) { in Worker()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | SlideshowDataAdapter.java | 29 import com.android.gallery3d.util.ThreadPool.Job; 94 private class ReloadTask implements Job<Void> { 175 return mThreadPool.submit(new Job<Slide>() { in nextSlide()
|
D | ManageCachePage.java | 49 import com.android.gallery3d.util.ThreadPool.Job; 247 private Job<Void> mUpdateStorageInfoJob = new Job<Void>() {
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/services/ |
D | FileOperationServiceTest.java | 302 Job job1 = mCopyJobs.get(0); in testNotificationUpdateAfterForegroundJobSwitch() 303 Job job2 = mCopyJobs.get(1); in testNotificationUpdateAfterForegroundJobSwitch() 425 public Job createJob(Context service, Job.Listener listener, String id, Features features) { in createJob()
|
D | AbstractJobTest.java | 46 public abstract class AbstractJobTest<T extends Job> extends AndroidTestCase { 117 final T createJob(FileOperation operation, Job.Listener listener) { in createJob()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/ |
D | TaskExecutor.java | 79 interface Job { interface in TaskExecutor 141 private Job job; 391 public void onStartJob(Job job, List<Bundle> pendingTasks) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | DetailsAddressResolver.java | 30 import com.android.gallery3d.util.ThreadPool.Job; 39 private class AddressLookupJob implements Job<Address> {
|
D | AlbumLabelMaker.java | 117 public ThreadPool.Job<Bitmap> requestLabel( in requestLabel() 132 private class AlbumLabelJob implements ThreadPool.Job<Bitmap> {
|
D | ActionModeHandler.java | 46 import com.android.gallery3d.util.ThreadPool.Job; 406 mMenuTask = mActivity.getThreadPool().submit(new Job<Void>() { in updateSupportedOperation()
|
D | MenuExecutor.java | 43 import com.android.gallery3d.util.ThreadPool.Job; 413 private class MediaOperation implements Job<Void> {
|