Home
last modified time | relevance | path

Searched refs:successListener (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/common/concurrent/
DUiListener.java93 @NonNull SuccessListener<OutputT> successListener, in listen() argument
96 new CallbackWrapper<>(Assert.isNotNull(successListener), Assert.isNotNull(failureListener)); in listen()
104 private SuccessListener<OutputT> successListener; field in UiListener.CallbackWrapper
108 SuccessListener<OutputT> successListener, FailureListener failureListener) { in CallbackWrapper() argument
109 this.successListener = successListener; in CallbackWrapper()
115 if (successListener == null) { in onSuccess()
118 successListener.onSuccess(output); in onSuccess()
147 callbackWrapper.successListener = null; in onDetach()
DSupportUiListener.java95 @NonNull SuccessListener<OutputT> successListener, in listen() argument
98 new CallbackWrapper<>(Assert.isNotNull(successListener), Assert.isNotNull(failureListener)); in listen()
106 private SuccessListener<OutputT> successListener; field in SupportUiListener.CallbackWrapper
110 SuccessListener<OutputT> successListener, FailureListener failureListener) { in CallbackWrapper() argument
111 this.successListener = successListener; in CallbackWrapper()
117 if (successListener == null) { in onSuccess()
120 successListener.onSuccess(output); in onSuccess()
149 callbackWrapper.successListener = null; in onDetach()
DDefaultDialerExecutorFactory.java83 private SuccessListener<OutputT> successListener = output -> {}; field in DefaultDialerExecutorFactory.BaseTaskBuilder
102 public Builder<InputT, OutputT> onSuccess(@NonNull SuccessListener<OutputT> successListener) { in onSuccess() argument
103 this.successListener = Assert.isNotNull(successListener); in onSuccess()
141 super.successListener, in build()
164 super.successListener, in build()
204 private final SuccessListener<OutputT> successListener; field in DefaultDialerExecutorFactory.NonUiDialerExecutor
214 SuccessListener<OutputT> successListener, in NonUiDialerExecutor() argument
219 this.successListener = successListener; in NonUiDialerExecutor()
259 ThreadUtil.postOnUiThread(() -> successListener.onSuccess(output)); in run()
DDialerUiTaskFragment.java46 private SuccessListener<OutputT> successListener; field in DialerUiTaskFragment
81 SuccessListener<OutputT> successListener, in create() argument
96 fragment.successListener = successListener; in create()
113 successListener = null; in onDetach()
146 if (successListener == null) { in runTask()
154 if (successListener == null) { in runTask()
159 successListener.onSuccess(output); in runTask()
DDialerExecutor.java150 Builder<InputT, OutputT> onSuccess(@NonNull SuccessListener<OutputT> successListener); in onSuccess() argument
/packages/apps/Dialer/java/com/android/dialer/calldetails/
DReportDialogFragment.java104 SuccessListener<CachedContactInfo> successListener = this::setCachedContactInfo; in lookupContactInfo() local
108 .onSuccess(successListener) in lookupContactInfo()
126 SuccessListener<Pair<Context, Boolean>> successListener = this::onReportCallerId; in startReportCallerIdWorker() local
130 .onSuccess(successListener) in startReportCallerIdWorker()
DCallDetailsActivityCommon.java364 SuccessListener<Integer> successListener, in createAssistedDialerNumberParserTask() argument
372 .onSuccess(successListener) in createAssistedDialerNumberParserTask()
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/
DTranscriptionRatingHelper.java52 SuccessListener successListener, in sendRating() argument
57 .onSuccess(output -> successListener.onRatingSuccess(voicemailUri)) in sendRating()
/packages/apps/Dialer/java/com/android/dialer/precall/impl/
DPreCallCoordinatorImpl.java173 Consumer<OutputT> successListener, in listen() argument
179 output -> successListener.accept((OutputT) output), in listen()
/packages/apps/Dialer/java/com/android/dialer/precall/
DPreCallCoordinator.java73 Consumer<OutputT> successListener, in listen() argument