/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 …]
|
D | TaskJpegEncode.java | 212 TaskInfo job = new TaskInfo(id, input, result, aDestination); in onJpegEncodeDone() local 214 listener.onResultCompressed(job, new CompressedPayload(data)); in onJpegEncodeDone() 228 final TaskInfo job = new TaskInfo(id, input, result, destination); in onUriResolved() local 230 listener.onResultUri(job, imageUri); in onUriResolved()
|
D | TaskImageContainer.java | 292 TaskInfo job = new TaskInfo(id, input, result, aDestination); in onStart() local 294 listener.onStart(job); in onStart()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/job/ |
D | DishService.java | 16 package com.google.android.car.kitchensink.job; 18 import android.app.job.JobParameters; 19 import android.app.job.JobService; 42 JobParameters job = (JobParameters) msg.obj; 45 Log.d(TAG, "Job done! " + job.getJobId()); 46 mTaskMap.remove(job.getJobId()); 47 jobFinished(job, false); 50 DishWasherTask task = new DishWasherTask(this, job, msg.arg1); 52 mTaskMap.put(job.getJobId(), job); 55 JobParameters job1 = mTaskMap.get(job.getJobId()); [all …]
|
D | JobSchedulerFragment.java | 16 package com.google.android.car.kitchensink.job; 18 import android.app.job.JobInfo; 19 import android.app.job.JobScheduler; 107 for (JobInfo job : jobs) { in refreshCurrentJobs() 109 sb.append(job.getId()); in refreshCurrentJobs() 111 sb.append(job.getExtras().getInt(DishService.EXTRA_DISH_COUNT, 0)); in refreshCurrentJobs()
|
/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/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | CapsModeUtilsTests.java | 56 final RunInLocale<SpacingAndPunctuations> job = new RunInLocale<SpacingAndPunctuations>() { in testGetCapsMode() local 58 protected SpacingAndPunctuations job(final Resources res) { in testGetCapsMode() 63 SpacingAndPunctuations sp = job.runInLocale(res, Locale.ENGLISH); in testGetCapsMode() 94 sp = job.runInLocale(res, Locale.FRENCH); in testGetCapsMode() 101 sp = job.runInLocale(res, Locale.GERMAN); in testGetCapsMode() 107 sp = job.runInLocale(res, Locale.ENGLISH); in testGetCapsMode() 115 sp = job.runInLocale(res, LocaleUtils.constructLocaleFromString("hy_AM")); in testGetCapsMode() 129 sp = job.runInLocale(res, Locale.ENGLISH); in testGetCapsMode() 140 sp = job.runInLocale(res, LocaleUtils.constructLocaleFromString("el")); in testGetCapsMode()
|
D | DictionaryInfoUtilsTests.java | 31 final RunInLocale<SpacingAndPunctuations> job = new RunInLocale<SpacingAndPunctuations>() { in testLooksValidForDictionaryInsertion() local 33 protected SpacingAndPunctuations job(final Resources res) { in testLooksValidForDictionaryInsertion() 38 final SpacingAndPunctuations sp = job.runInLocale(res, Locale.ENGLISH); in testLooksValidForDictionaryInsertion()
|
D | SubtypeLocaleUtilsTests.java | 229 protected Void job(final Resources res) { in testPredefinedSubtypesInEnglishSystemLocale() 270 protected Void job(final Resources res) { in testAdditionalSubtypesInEnglishSystemLocale() 329 protected Void job(final Resources res) { in testPredefinedSubtypesInFrenchSystemLocale() 370 protected Void job(final Resources res) { in testAdditionalSubtypesInFrenchSystemLocale() 411 protected Void job (final Resources res) { in testHinglishSubtypesInHindiSystemLocale() 438 protected Void job (final Resources res) { in testSerbianLatinSubtypesInSerbianSystemLocale()
|
/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()
|
D | DownloadJobService.java | 23 import android.app.job.JobParameters; 24 import android.app.job.JobService;
|
/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()
|
D | ActionTestsBase.java | 54 protected String job(final Resources res) { in newLabelKey()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | RunInLocale.java | 27 protected abstract T job(final Resources res); in job() method in RunInLocale 40 return job(res); in runInLocale() 46 return job(res); in runInLocale()
|
D | SubtypeLocaleUtils.java | 228 protected String job(final Resources res) { in getSubtypeLocaleDisplayNameInternal() 291 protected String job(final Resources res) { in getSubtypeDisplayNameInternal()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
D | VCardService.java | 355 final ProcessorBase job = mRunningJobMap.get(jobId); in handleFinishExportNotification() local 357 if (job == null) { in handleFinishExportNotification() 359 } else if (!(job instanceof ExportProcessor)) { in handleFinishExportNotification() 363 final String path = ((ExportProcessor)job).getRequest().destUri.getEncodedPath(); in handleFinishExportNotification()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
D | SentenceLevelAdapter.java | 81 final RunInLocale<SpacingAndPunctuations> job = in WordIterator() local 84 protected SpacingAndPunctuations job(final Resources r) { in WordIterator() 88 mSpacingAndPunctuations = job.runInLocale(res, locale); in WordIterator()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | Util.java | 377 public BackgroundJob(MonitoredActivity activity, Runnable job, in BackgroundJob() argument 381 mJob = job; in BackgroundJob() 415 String title, String message, Runnable job, Handler handler) { in startBackgroundJob() argument 420 new Thread(new BackgroundJob(activity, job, dialog, handler)).start(); in startBackgroundJob()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/ |
D | ExpectedKeyboardBuilder.java | 87 private void replaceKeyOf(final ExpectedKeyVisual visual, final ReplaceJob job) { in replaceKeyOf() argument 98 final ExpectedKey[] replacingKeys = job.replacingKeys(currentKey); in replaceKeyOf() 103 if (job.stopAtFirstOccurrence()) { in replaceKeyOf()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | Settings.java | 178 final RunInLocale<SettingsValues> job = new RunInLocale<SettingsValues>() { in loadSettings() local 180 protected SettingsValues job(final Resources res) { in loadSettings() 184 mSettingsValues = job.runInLocale(mRes, locale); in loadSettings()
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | AbstractDownloadProviderFunctionalTest.java | 24 import android.app.job.JobParameters; 25 import android.app.job.JobScheduler;
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | RichInputConnectionAndTextRangeTests.java | 53 final RunInLocale<SpacingAndPunctuations> job = new RunInLocale<SpacingAndPunctuations>() { in setUp() local 55 protected SpacingAndPunctuations job(final Resources res) { in setUp() 60 mSpacingAndPunctuations = job.runInLocale(res, Locale.ENGLISH); in setUp()
|
D | RichInputMethodSubtypeTests.java | 228 protected Void job(final Resources res) { 266 protected Void job(final Resources res) {
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/settings/ |
D | SpacingAndPunctuationsTests.java | 96 final RunInLocale<SpacingAndPunctuations> job = new RunInLocale<SpacingAndPunctuations>() { in getSpacingAndPunctuations() local 98 protected SpacingAndPunctuations job(Resources res) { in getSpacingAndPunctuations() 102 return job.runInLocale(getContext().getResources(), locale); in getSpacingAndPunctuations()
|