Home
last modified time | relevance | path

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

/external/lottie/lottie/src/test/java/com/airbnb/lottie/
DLottieTaskTest.java19 public LottieListener<Throwable> failureListener; field in LottieTaskTest
34 .addFailureListener(failureListener); in testListener()
36 verifyZeroInteractions(failureListener); in testListener()
48 .addFailureListener(failureListener); in testException()
50 verify(failureListener, times(1)).onResult(exception); in testException()
66 .addFailureListener(failureListener) in testRemoveListener()
79 verifyZeroInteractions(failureListener); in testRemoveListener()
91 task.addFailureListener(failureListener); in testAddListenerAfter()
93 verifyZeroInteractions(failureListener); in testAddListenerAfter()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
DFailureListener.java16 FailureListener failureListener = new FailureListener(); in runTests() local
17 notifier.addListener(failureListener); in runTests()
19 return failureListener.failures; in runTests()
/external/lottie/lottie/src/main/java/com/airbnb/lottie/
DLottieAnimationView.java90 …LottieListener<Throwable> l = failureListener == null ? DEFAULT_FAILURE_LISTENER : failureListener;
94 @Nullable private LottieListener<Throwable> failureListener; field in LottieAnimationView
441 public void setFailureListener(@Nullable LottieListener<Throwable> failureListener) { in setFailureListener() argument
442 this.failureListener = failureListener; in setFailureListener()
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DNettyClientStream.java137 ChannelFutureListener failureListener = new ChannelFutureListener() { in writeHeaders() local
156 !method.getType().clientSendsOneMessage() || get).addListener(failureListener); in writeHeaders()
DNettyClientTransport.java139 ChannelFutureListener failureListener = new ChannelFutureListener() { in ping() local
150 .addListener(failureListener); in ping()