Home
last modified time | relevance | path

Searched refs:workItem (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/
DTranscriptionTask.java58 private final JobWorkItem workItem; field in TranscriptionTask
71 JobWorkItem workItem, in TranscriptionTask() argument
75 this.workItem = workItem; in TranscriptionTask()
77 this.voicemailUri = getVoicemailUri(workItem); in TranscriptionTask()
92 callback.onWorkCompleted(workItem); in run()
203 private static Uri getVoicemailUri(JobWorkItem workItem) { in getVoicemailUri() argument
204 return workItem.getIntent().getParcelableExtra(TranscriptionService.EXTRA_VOICEMAIL_URI); in getVoicemailUri()
DTranscriptionService.java70 JobWorkItem workItem = makeWorkItem(voicemailUri); in transcribeVoicemail() local
71 return scheduler.enqueue(builder.build(), workItem) == JobScheduler.RESULT_SUCCESS; in transcribeVoicemail()
154 JobWorkItem workItem = jobParameters.dequeueWork(); in checkForWork() local
155 if (workItem != null) { in checkForWork()
157 .execute(new TranscriptionTask(this, new Callback(), workItem, getClientFactory())); in checkForWork()
/packages/apps/Gallery/src/com/android/camera/
DImageLoader.java120 WorkItem workItem = null; in run() local
126 workItem = mQueue.remove(0); in run()
137 final Bitmap b = workItem.mImage.miniThumbBitmap(); in run()
139 if (workItem.mOnLoadedRunnable != null) { in run()
140 workItem.mOnLoadedRunnable.run(b); in run()