Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/
DTranscriptionService.java91 JobWorkItem workItem = makeWorkItem(voicemailUri, account); in scheduleNewVoicemailTranscriptionJob() local
92 return scheduler.enqueue(builder.build(), workItem) == JobScheduler.RESULT_SUCCESS; in scheduleNewVoicemailTranscriptionJob()
204 JobWorkItem workItem = jobParameters.dequeueWork(); in checkForWork() local
205 if (workItem != null) { in checkForWork()
210 this, new Callback(), workItem, getClientFactory(), configProvider) in checkForWork()
212 this, new Callback(), workItem, getClientFactory(), configProvider); in checkForWork()
220 static Uri getVoicemailUri(JobWorkItem workItem) { in getVoicemailUri() argument
221 return workItem.getIntent().getParcelableExtra(EXTRA_VOICEMAIL_URI); in getVoicemailUri()
224 static PhoneAccountHandle getPhoneAccountHandle(JobWorkItem workItem) { in getPhoneAccountHandle() argument
225 return workItem.getIntent().getParcelableExtra(EXTRA_ACCOUNT_HANDLE); in getPhoneAccountHandle()
DTranscriptionTask.java59 private final JobWorkItem workItem; field in TranscriptionTask
78 JobWorkItem workItem, in TranscriptionTask() argument
83 this.workItem = workItem; in TranscriptionTask()
85 this.voicemailUri = TranscriptionService.getVoicemailUri(workItem); in TranscriptionTask()
86 this.phoneAccountHandle = TranscriptionService.getPhoneAccountHandle(workItem); in TranscriptionTask()
116 callback.onWorkCompleted(workItem); in run()
DTranscriptionTaskSync.java36 JobWorkItem workItem, in TranscriptionTaskSync() argument
39 super(context, callback, workItem, clientFactory, configProvider); in TranscriptionTaskSync()
DTranscriptionTaskAsync.java51 JobWorkItem workItem, in TranscriptionTaskAsync() argument
54 super(context, callback, workItem, clientFactory, configProvider); in TranscriptionTaskAsync()
/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()