Searched refs:workItem (Results 1 – 3 of 3) sorted by relevance
58 private final JobWorkItem workItem; field in TranscriptionTask71 JobWorkItem workItem, in TranscriptionTask() argument75 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() argument204 return workItem.getIntent().getParcelableExtra(TranscriptionService.EXTRA_VOICEMAIL_URI); in getVoicemailUri()
70 JobWorkItem workItem = makeWorkItem(voicemailUri); in transcribeVoicemail() local71 return scheduler.enqueue(builder.build(), workItem) == JobScheduler.RESULT_SUCCESS; in transcribeVoicemail()154 JobWorkItem workItem = jobParameters.dequeueWork(); in checkForWork() local155 if (workItem != null) { in checkForWork()157 .execute(new TranscriptionTask(this, new Callback(), workItem, getClientFactory())); in checkForWork()
120 WorkItem workItem = null; in run() local126 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()