/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
D | FileOperationService.java | 244 Job job = operation.createJob(this, this, jobId, features); in handleOperation() local 246 if (job == null) { in handleOperation() 250 assert (job != null); in handleOperation() 252 Log.d(TAG, "Scheduling job " + job.id + "."); in handleOperation() 254 Future<?> future = getExecutorService(operation.getOpType()).submit(job); in handleOperation() 255 mJobs.put(jobId, new JobRecord(job, future)); in handleOperation() 286 record.job.cancel(); in handleCancel() 287 updateForegroundState(record.job); in handleCancel() 315 private void deleteJob(Job job) { in deleteJob() argument 317 Log.d(TAG, "deleteJob: " + job.id); in deleteJob() [all …]
|
/packages/services/Car/tests/GarageModeTestApp/src/com/google/android/car/garagemode/testapp/ |
D | JobSchedulerWrapper.java | 18 import android.app.job.JobInfo; 19 import android.app.job.JobScheduler; 191 for (JobInfo job : mJobScheduler.getAllPendingJobs()) { in checkIdForExistence() 192 if (job.getId() == jobId) { in checkIdForExistence() 201 for (JobInfo job : list) { in printJobsOnce() 202 LOG.d("Job(" + job.getId() + ") will run " + job.getService()); in printJobsOnce() 207 for (JobInfo job : mNewJobs) { in reportNewJobs() 209 mWatchdog.logEvent("New job with id(" + job.getId() + ") has been scheduled"); in reportNewJobs() 215 for (JobInfo job : mCompletedJobs) { in reportCompletedJobs() 217 mWatchdog.logEvent("Job with id(" + job.getId() + ") has been completed."); in reportCompletedJobs() [all …]
|
D | DishService.java | 18 import android.app.job.JobParameters; 19 import android.app.job.JobService; 41 JobParameters job = (JobParameters) msg.obj; 44 LOG.d("Job " + job.getJobId() + " done!"); 45 mTaskMap.remove(job.getJobId()); 46 jobFinished(job, false); 49 DishWasherTask task = new DishWasherTask(this, job, msg.arg1); 51 mTaskMap.put(job.getJobId(), job); 54 JobParameters job1 = mTaskMap.get(job.getJobId()); 58 mTaskMap.remove(job.getJobId());
|
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ |
D | ImageProcessorProxyListener.java | 150 public void onStart(TaskImageContainer.TaskInfo job) { in onStart() argument 153 listeners = filteredListeners(job.contentId); in onStart() 157 l.onStart(job); in onStart() 161 public void onResultCompressed(TaskImageContainer.TaskInfo job, in onResultCompressed() argument 165 listeners = filteredListeners(job.contentId); in onResultCompressed() 169 l.onResultCompressed(job, payload); in onResultCompressed() 173 public void onResultUncompressed(TaskImageContainer.TaskInfo job, in onResultUncompressed() argument 177 listeners = filteredListeners(job.contentId); in onResultUncompressed() 181 l.onResultUncompressed(job, payload); in onResultUncompressed() 185 public void onResultUri(TaskImageContainer.TaskInfo job, Uri uri) { in onResultUri() argument [all …]
|
/packages/services/BuiltInPrintService/src/com/android/bips/ |
D | JobQueue.java | 34 void print(LocalPrintJob job) { in print() argument 35 mJobs.add(job); in print() 41 for (LocalPrintJob job : mJobs) { in cancel() 42 if (printerId.equals(job.getPrintJob().getInfo().getPrinterId())) { in cancel() 43 cancel(job.getPrintJobId()); in cancel() 62 for (LocalPrintJob job : mJobs) { in cancel() 63 if (job.getPrintJobId().equals(id)) { in cancel() 64 mJobs.remove(job); in cancel() 65 job.getPrintJob().cancel(); in cancel() 82 mCurrent.start(job -> { in startNextJob()
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | JobLimiter.java | 48 public JobWrapper(Job<T> job, FutureListener<T> listener) { in JobWrapper() argument 49 mJob = job; in JobWrapper() 105 Job<T> job = null; in run() local 108 job = mJob; in run() 112 result = job.run(jc); in run() 114 Log.w(TAG, "error executing job: " + job, t); in run() 136 public synchronized <T> Future<T> submit(Job<T> job, FutureListener<T> listener) { in submit() argument 137 JobWrapper<T> future = new JobWrapper<T>(Utils.checkNotNull(job), listener); in submit()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/services/ |
D | FileOperationServiceTest.java | 367 for (TestJob job : mCopyJobs) { in assertAllCopyJobsStarted() 368 job.assertStarted(); in assertAllCopyJobsStarted() 373 for (TestJob job : mDeleteJobs) { in assertAllDeleteJobsStarted() 374 job.assertStarted(); in assertAllDeleteJobsStarted() 379 for (TestJob job : mCopyJobs) { in assertNoCopyJobsStarted() 380 job.assertNotStarted(); in assertNoCopyJobsStarted() 385 for (TestJob job : mDeleteJobs) { in assertNoDeleteJobsStarted() 386 job.assertNotStarted(); in assertNoDeleteJobsStarted() 426 TestJob job = new TestJob( in createJob() local 430 mCopyJobs.add(job); in createJob() [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | CapsModeUtilsTests.java | 66 final RunInLocale<SpacingAndPunctuations> job = new RunInLocale<SpacingAndPunctuations>() { in testGetCapsMode() local 68 protected SpacingAndPunctuations job(final Resources res) { in testGetCapsMode() 73 SpacingAndPunctuations sp = job.runInLocale(res, Locale.ENGLISH); in testGetCapsMode() 104 sp = job.runInLocale(res, Locale.FRENCH); in testGetCapsMode() 111 sp = job.runInLocale(res, Locale.GERMAN); in testGetCapsMode() 117 sp = job.runInLocale(res, Locale.ENGLISH); in testGetCapsMode() 125 sp = job.runInLocale(res, LocaleUtils.constructLocaleFromString("hy_AM")); in testGetCapsMode() 139 sp = job.runInLocale(res, Locale.ENGLISH); in testGetCapsMode() 150 sp = job.runInLocale(res, LocaleUtils.constructLocaleFromString("el")); in testGetCapsMode()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | IdleService.java | 19 import android.app.job.JobInfo; 20 import android.app.job.JobParameters; 21 import android.app.job.JobScheduler; 22 import android.app.job.JobService; 60 final JobInfo job = new JobInfo.Builder(IDLE_JOB_ID, in scheduleIdlePass() local 66 scheduler.schedule(job); in scheduleIdlePass()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/ |
D | DeviceProvisionedJobService.java | 20 import android.app.job.JobInfo; 21 import android.app.job.JobInfo.TriggerContentUri; 22 import android.app.job.JobParameters; 23 import android.app.job.JobScheduler; 24 import android.app.job.JobService; 25 import android.app.job.JobWorkItem;
|
D | StatusCheckJobService.java | 17 import android.app.job.JobInfo; 18 import android.app.job.JobParameters; 19 import android.app.job.JobScheduler; 20 import android.app.job.JobService;
|
/packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/ |
D | TaskExecutor.java | 141 private Job job; field in TaskExecutor 178 if (job.isFinished()) { in run() 274 job = null; 391 public void onStartJob(Job job, List<Bundle> pendingTasks) { 393 this.job = job; 454 job.finishAsync(); 460 return job != null;
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/ |
D | ThreadPool.java | 97 public <T> Future<T> submit(Job<T> job, FutureListener<T> listener) { in submit() argument 98 Worker<T> w = new Worker<T>(job, listener); in submit() 103 public <T> Future<T> submit(Job<T> job) { in submit() argument 104 return submit(job, null); in submit() 119 public Worker(Job<T> job, FutureListener<T> listener) { in Worker() argument 120 mJob = job; in Worker()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadIdleService.java | 23 import android.app.job.JobInfo; 24 import android.app.job.JobParameters; 25 import android.app.job.JobScheduler; 26 import android.app.job.JobService; 89 final JobInfo job = new JobInfo.Builder(IDLE_JOB_ID, in scheduleIdlePass() local 95 scheduler.schedule(job); in scheduleIdlePass()
|
/packages/apps/StorageManager/src/com/android/storagemanager/automatic/ |
D | AutomaticStorageBroadcastReceiver.java | 19 import android.app.job.JobInfo; 20 import android.app.job.JobScheduler; 45 JobInfo job = new JobInfo.Builder(AUTOMATIC_STORAGE_JOB_ID, component) in onReceive() local 50 jobScheduler.schedule(job); in onReceive()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/action/ |
D | KlpActionLabelTests.java | 78 final RunInLocale<Void> job = new RunInLocale<Void>() { in doTestActionKeysInLocaleWithStringResources() local 80 public Void job(final Resources res) { in doTestActionKeysInLocaleWithStringResources() 86 job.runInLocale(getContext().getResources(), systemLocale); in doTestActionKeysInLocaleWithStringResources() 136 final RunInLocale<Void> job = new RunInLocale<Void>() { in doTestActionKeysInLocaleWithKeyboardTextsSet() local 138 public Void job(final Resources res) { in doTestActionKeysInLocaleWithKeyboardTextsSet() 144 job.runInLocale(getContext().getResources(), systemLocale); in doTestActionKeysInLocaleWithKeyboardTextsSet()
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
D | VoicemailNotificationJobService.java | 19 import android.app.job.JobInfo; 20 import android.app.job.JobParameters; 21 import android.app.job.JobScheduler; 22 import android.app.job.JobService;
|
/packages/apps/TV/src/com/android/tv/recommendation/ |
D | ChannelPreviewUpdater.java | 19 import android.app.job.JobInfo; 20 import android.app.job.JobParameters; 21 import android.app.job.JobScheduler; 22 import android.app.job.JobService; 116 JobInfo job = in startRoutineService() local 123 if (jobScheduler.schedule(job) < 0) { in startRoutineService()
|
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/dynamicui/ |
D | WallpaperManagerCompatVL.java | 24 import android.app.job.JobInfo; 25 import android.app.job.JobParameters; 26 import android.app.job.JobScheduler; 27 import android.app.job.JobService; 126 JobInfo job = new JobInfo.Builder(WALLPAPER_COMPAT_JOB_ID, in reloadColors() local 129 ((JobScheduler) mContext.getSystemService(Context.JOB_SCHEDULER_SERVICE)).schedule(job); in reloadColors()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/ |
D | AnomalyCleanupJobService.java | 19 import android.app.job.JobInfo; 20 import android.app.job.JobParameters; 21 import android.app.job.JobScheduler; 22 import android.app.job.JobService;
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/ |
D | AnomalyCleanupJobService.java | 19 import android.app.job.JobInfo; 20 import android.app.job.JobParameters; 21 import android.app.job.JobScheduler; 22 import android.app.job.JobService;
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/ |
D | TestJobListener.java | 40 public void onStart(Job job) { in onStart() argument 41 started = job; in onStart() 45 public void onFinished(Job job) { in onFinished() argument 46 this.finished = job; in onFinished()
|
/packages/apps/Dialer/java/com/android/dialer/shortcuts/ |
D | PeriodicJobService.java | 20 import android.app.job.JobInfo; 21 import android.app.job.JobParameters; 22 import android.app.job.JobScheduler; 23 import android.app.job.JobService;
|
/packages/modules/NetworkStack/src/com/android/server/connectivity/ipmemorystore/ |
D | RegularMaintenanceJobService.java | 19 import android.app.job.JobInfo; 20 import android.app.job.JobParameters; 21 import android.app.job.JobScheduler; 22 import android.app.job.JobService;
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/ |
D | BaseTunerTvInputService.java | 19 import android.app.job.JobInfo; 20 import android.app.job.JobScheduler; 68 JobInfo job = in onCreate() local 75 jobScheduler.schedule(job); in onCreate()
|