Home
last modified time | relevance | path

Searched refs:Worker (Results 1 – 25 of 36) sorted by relevance

12

/packages/apps/Dialer/java/com/android/dialer/common/concurrent/
DDefaultDialerExecutorFactory.java31 import com.android.dialer.common.concurrent.DialerExecutor.Worker;
63 @NonNull Worker<InputT, OutputT> worker) { in createUiTaskBuilder()
75 @NonNull Worker<InputT, OutputT> worker) { in createNonUiTaskBuilder()
82 private final Worker<InputT, OutputT> worker;
92 Worker<InputT, OutputT> worker, in BaseTaskBuilder()
125 Worker<InputT, OutputT> worker, in UiTaskBuilder()
153 Worker<InputT, OutputT> worker, in NonUiTaskBuilder()
203 private final Worker<InputT, OutputT> worker;
213 Worker<InputT, OutputT> worker, in NonUiDialerExecutor()
DDialerExecutorFactory.java21 import com.android.dialer.common.concurrent.DialerExecutor.Worker;
48 @NonNull Worker<InputT, OutputT> worker); in createUiTaskBuilder()
62 @NonNull Worker<InputT, OutputT> worker); in createNonUiTaskBuilder()
DDialerUiTaskFragment.java30 import com.android.dialer.common.concurrent.DialerExecutor.Worker;
45 private Worker<InputT, OutputT> worker;
80 Worker<InputT, OutputT> worker, in create()
/packages/apps/Settings/src/com/android/settings/dashboard/
DSummaryLoader.java58 private final Worker mWorker;
72 mWorker = new Worker(mWorkerThread.getLooper()); in SummaryLoader()
142 mWorker.removeMessages(Worker.MSG_SET_LISTENING); in setListening()
145 mWorker.obtainMessage(Worker.MSG_SET_LISTENING, 0 /* listening */).sendToTarget(); in setListening()
150 if (!mWorker.hasMessages(Worker.MSG_GET_CATEGORY_TILES_AND_SET_LISTENING)) { in setListening()
151 mWorker.sendEmptyMessage(Worker.MSG_GET_CATEGORY_TILES_AND_SET_LISTENING); in setListening()
155 mWorker.obtainMessage(Worker.MSG_SET_LISTENING, 1 /* listening */).sendToTarget(); in setListening()
278 private class Worker extends Handler { class in SummaryLoader
283 public Worker(Looper looper) { in Worker() method in SummaryLoader.Worker
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/dashboard/
DSummaryLoader.java58 private final Worker mWorker;
72 mWorker = new Worker(mWorkerThread.getLooper()); in SummaryLoader()
142 mWorker.removeMessages(Worker.MSG_SET_LISTENING); in setListening()
145 mWorker.obtainMessage(Worker.MSG_SET_LISTENING, 0 /* listening */).sendToTarget(); in setListening()
150 if (!mWorker.hasMessages(Worker.MSG_GET_CATEGORY_TILES_AND_SET_LISTENING)) { in setListening()
151 mWorker.sendEmptyMessage(Worker.MSG_GET_CATEGORY_TILES_AND_SET_LISTENING); in setListening()
155 mWorker.obtainMessage(Worker.MSG_SET_LISTENING, 1 /* listening */).sendToTarget(); in setListening()
278 private class Worker extends Handler { class in SummaryLoader
283 public Worker(Looper looper) { in Worker() method in SummaryLoader.Worker
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/
DSimulatorUtils.java27 import com.android.dialer.common.concurrent.DialerExecutor.Worker;
146 implements Worker<PopulateDatabaseWorkerInput, Void> {
155 private static class PopulateDatabaseWorker implements Worker<PopulateDatabaseWorkerInput, Void> {
166 private static class CleanDatabaseWorker implements Worker<Context, Void> {
178 private static class ClearPreferredSimWorker implements Worker<Context, Void> {
187 private static class ShareLogWorker implements Worker<Void, String> {
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/
DThreadPool.java98 Worker<T> w = new Worker<T>(job, listener); in submit()
107 private class Worker<T> implements Runnable, Future<T>, JobContext { class in ThreadPool
119 public Worker(Job<T> job, FutureListener<T> listener) { in Worker() method in ThreadPool.Worker
/packages/apps/Dialer/java/com/android/dialer/preferredsim/
DPreferredAccountRecorder.java26 import com.android.dialer.common.concurrent.DialerExecutor.Worker;
84 private static class UserSelectionReporter implements Worker<Context, Void> {
123 implements Worker<WritePreferredAccountWorkerInput, Void> {
/packages/apps/Dialer/java/com/android/incallui/
DContactsAsyncHelper.java99 .createNonUiTaskBuilder(new Worker()) in startObtainPhotoAsync()
129 private static class Worker implements DialerExecutor.Worker<WorkerArgs, Void> { class in ContactsAsyncHelper
/packages/apps/Dialer/java/com/android/dialer/calldetails/
DReportDialogFragment.java33 import com.android.dialer.common.concurrent.DialerExecutor.Worker;
102 Worker<String, CachedContactInfo> worker = in lookupContactInfo()
125 Worker<Context, Pair<Context, Boolean>> worker = this::reportCallerId; in startReportCallerIdWorker()
DCallDetailsActivityCommon.java45 import com.android.dialer.common.concurrent.DialerExecutor.Worker;
241 private static final class DeleteCallsWorker implements Worker<CallDetailsEntries, Void> {
379 static final class AssistedDialingNumberParseWorker implements Worker<String, Integer> {
/packages/apps/Dialer/java/com/android/voicemail/impl/settings/
DVisualVoicemailSettingsUtil.java27 import com.android.dialer.common.concurrent.DialerExecutor.Worker;
186 private static class VoicemailDeleteWorker implements Worker<Void, Void> {
210 implements Worker<Void, Void> {
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/error/
DVoicemailStatusWorker.java23 import com.android.dialer.common.concurrent.DialerExecutor.Worker;
33 public class VoicemailStatusWorker implements Worker<Context, List<VoicemailStatus>> {
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DSingleThreadNamedTaskExecutor.java38 mWorker = threadFactory.newThread(new Worker()); in SingleThreadNamedTaskExecutor()
63 private class Worker implements Runnable { class in SingleThreadNamedTaskExecutor
/packages/apps/Dialer/java/com/android/dialer/callcomposer/
DCopyAndResizeImageWorker.java30 import com.android.dialer.common.concurrent.DialerExecutor.Worker;
38 class CopyAndResizeImageWorker implements Worker<Uri, Pair<File, String>> {
/packages/apps/Dialer/java/com/android/dialer/shortcuts/
DShortcutRefresher.java26 import com.android.dialer.common.concurrent.DialerExecutor.Worker;
70 private static final class RefreshWorker implements Worker<List<ContactEntry>, Void> {
/packages/apps/Dialer/java/com/android/dialer/blocking/
DBlockedNumbersAutoMigrator.java28 import com.android.dialer.common.concurrent.DialerExecutor.Worker;
95 private static class ShouldAttemptAutoMigrate implements Worker<Void, Boolean> {
/packages/apps/Dialer/java/com/android/voicemail/impl/
DPackageReplacedReceiver.java31 import com.android.dialer.common.concurrent.DialerExecutor.Worker;
84 private static class ExistingVoicemailCheck implements Worker<Void, Void> {
/packages/apps/Dialer/java/com/android/dialer/calllog/ui/menu/
DDeleteCallLogItemModule.java28 import com.android.dialer.common.concurrent.DialerExecutor.Worker;
78 private static class CallLogItemDeletionWorker implements Worker<CoalescedIds, Void> {
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DClearCallLogDialog.java34 import com.android.dialer.common.concurrent.DialerExecutor.Worker;
93 private static class ClearCallLogWorker implements Worker<Void, Void> {
DCallLogNotificationsService.java32 import com.android.dialer.common.concurrent.DialerExecutor.Worker;
197 private static class CancelAllMissedCallsWorker implements Worker<Context, Void> {
DVisualVoicemailUpdateTask.java33 import com.android.dialer.common.concurrent.DialerExecutor.Worker;
46 class VisualVoicemailUpdateTask implements Worker<VisualVoicemailUpdateTask.Input, Void> {
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/
DImagePersistWorker.java29 import com.android.dialer.common.concurrent.DialerExecutor.Worker;
39 public class ImagePersistWorker implements Worker<Void, Result> {
/packages/apps/Dialer/java/com/android/incallui/multisim/
DSwapSimWorker.java32 import com.android.dialer.common.concurrent.DialerExecutor.Worker;
47 public class SwapSimWorker implements Worker<Void, Void>, DialerCallListener, CallList.Listener {
/packages/apps/Dialer/java/com/android/dialer/location/
DCountryDetector.java38 import com.android.dialer.common.concurrent.DialerExecutor.Worker;
247 private static class GeocodeCountryWorker implements Worker<Location, String> {

12