Home
last modified time | relevance | path

Searched refs:failureListener (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/common/concurrent/
DUiListener.java94 @NonNull FailureListener failureListener) { in listen() argument
96 new CallbackWrapper<>(Assert.isNotNull(successListener), Assert.isNotNull(failureListener)); in listen()
105 private FailureListener failureListener; field in UiListener.CallbackWrapper
108 SuccessListener<OutputT> successListener, FailureListener failureListener) { in CallbackWrapper() argument
110 this.failureListener = failureListener; in CallbackWrapper()
125 if (failureListener == null) { in onFailure()
128 failureListener.onFailure(throwable); in onFailure()
148 callbackWrapper.failureListener = null; in onDetach()
DSupportUiListener.java96 @NonNull FailureListener failureListener) { in listen() argument
98 new CallbackWrapper<>(Assert.isNotNull(successListener), Assert.isNotNull(failureListener)); in listen()
107 private FailureListener failureListener; field in SupportUiListener.CallbackWrapper
110 SuccessListener<OutputT> successListener, FailureListener failureListener) { in CallbackWrapper() argument
112 this.failureListener = failureListener; in CallbackWrapper()
127 if (failureListener == null) { in onFailure()
130 failureListener.onFailure(throwable); in onFailure()
150 callbackWrapper.failureListener = null; in onDetach()
DDefaultDialerExecutorFactory.java84 private FailureListener failureListener = field in DefaultDialerExecutorFactory.BaseTaskBuilder
109 public Builder<InputT, OutputT> onFailure(@NonNull FailureListener failureListener) { in onFailure() argument
110 this.failureListener = Assert.isNotNull(failureListener); in onFailure()
142 super.failureListener, in build()
165 super.failureListener, in build()
205 private final FailureListener failureListener; field in DefaultDialerExecutorFactory.NonUiDialerExecutor
215 FailureListener failureListener, in NonUiDialerExecutor() argument
220 this.failureListener = failureListener; in NonUiDialerExecutor()
256 ThreadUtil.postOnUiThread(() -> failureListener.onFailure(throwable)); in run()
DDialerUiTaskFragment.java47 private FailureListener failureListener; field in DialerUiTaskFragment
82 FailureListener failureListener, in create() argument
97 fragment.failureListener = failureListener; in create()
114 failureListener = null; in onDetach()
165 if (failureListener == null) { in runTask()
173 if (failureListener == null) { in runTask()
178 failureListener.onFailure(throwable); in runTask()
DDialerExecutor.java160 Builder<InputT, OutputT> onFailure(@NonNull FailureListener failureListener); in onFailure() argument
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/
DTranscriptionRatingHelper.java53 FailureListener failureListener) { in sendRating() argument
58 .onFailure(e -> failureListener.onRatingFailure(e)) in sendRating()
/packages/apps/Dialer/java/com/android/dialer/precall/impl/
DPreCallCoordinatorImpl.java174 Consumer<Throwable> failureListener) { in listen() argument
180 failureListener::accept); in listen()
/packages/apps/Dialer/java/com/android/dialer/precall/
DPreCallCoordinator.java74 Consumer<Throwable> failureListener); in listen() argument
/packages/apps/Dialer/java/com/android/dialer/calldetails/
DCallDetailsActivityCommon.java365 FailureListener failureListener) { in createAssistedDialerNumberParserTask() argument
373 .onFailure(failureListener) in createAssistedDialerNumberParserTask()