Home
last modified time | relevance | path

Searched refs:InputT (Results 1 – 4 of 4) sorted by relevance

/aosp12/packages/apps/Dialer/java/com/android/dialer/common/concurrent/
H A DDefaultDialerExecutorFactory.java60 public <InputT, OutputT> DialerExecutor.Builder<InputT, OutputT> createUiTaskBuilder( in createUiTaskBuilder()
74 public <InputT, OutputT> DialerExecutor.Builder<InputT, OutputT> createNonUiTaskBuilder( in createNonUiTaskBuilder() argument
92 Worker<InputT, OutputT> worker, in BaseTaskBuilder() argument
116 public static class UiTaskBuilder<InputT, OutputT> extends BaseTaskBuilder<InputT, OutputT> {
125 Worker<InputT, OutputT> worker, in UiTaskBuilder() argument
135 public DialerExecutor<InputT> build() { in build()
150 public static class NonUiTaskBuilder<InputT, OutputT> extends BaseTaskBuilder<InputT, OutputT> {
153 Worker<InputT, OutputT> worker, in NonUiTaskBuilder() argument
171 private static class UiDialerExecutor<InputT, OutputT> implements DialerExecutor<InputT> {
201 private static class NonUiDialerExecutor<InputT, OutputT> implements DialerExecutor<InputT> {
[all …]
H A DDialerExecutor.java118 public interface DialerExecutor<InputT> {
121 interface Worker<InputT, OutputT> {
124 OutputT doInBackground(@Nullable InputT input) throws Throwable; in doInBackground()
140 interface Builder<InputT, OutputT> {
150 Builder<InputT, OutputT> onSuccess(@NonNull SuccessListener<OutputT> successListener); in onSuccess()
160 Builder<InputT, OutputT> onFailure(@NonNull FailureListener failureListener); in onFailure()
167 DialerExecutor<InputT> build(); in build()
172 void executeSerial(@Nullable InputT input); in executeSerial()
182 void executeSerialWithWait(@Nullable InputT input, long waitMillis); in executeSerialWithWait()
189 void executeParallel(@Nullable InputT input); in executeParallel()
[all …]
H A DDialerUiTaskFragment.java43 public final class DialerUiTaskFragment<InputT, OutputT> extends Fragment {
45 private Worker<InputT, OutputT> worker;
77 static <InputT, OutputT> DialerUiTaskFragment<InputT, OutputT> create( in create()
80 Worker<InputT, OutputT> worker, in create() argument
87 DialerUiTaskFragment<InputT, OutputT> fragment = in create()
88 (DialerUiTaskFragment<InputT, OutputT>) fragmentManager.findFragmentByTag(taskId); in create()
121 void executeSerial(InputT input) { in executeSerial()
125 void executeSerialWithWait(InputT input, long waitMillis) { in executeSerialWithWait()
134 void executeParallel(InputT input) { in executeParallel()
138 void executeOnCustomExecutor(ExecutorService executor, InputT input) { in executeOnCustomExecutor()
[all …]
H A DDialerExecutorFactory.java45 <InputT, OutputT> DialerExecutor.Builder<InputT, OutputT> createUiTaskBuilder( in createUiTaskBuilder()
48 @NonNull Worker<InputT, OutputT> worker); in createUiTaskBuilder() argument
61 <InputT, OutputT> DialerExecutor.Builder<InputT, OutputT> createNonUiTaskBuilder( in createNonUiTaskBuilder() argument
62 @NonNull Worker<InputT, OutputT> worker); in createNonUiTaskBuilder()