Home
last modified time | relevance | path

Searched refs:CancellableProducer (Results 1 – 7 of 7) sorted by relevance

/external/dagger2/java/dagger/producers/internal/
DProducers.java169 if (producer instanceof CancellableProducer) {
170 return ((CancellableProducer<T>) producer).newDependencyView();
187 if (producer instanceof CancellableProducer) {
188 return ((CancellableProducer<T>) producer).newEntryPointView(cancellationListener);
202 if (producer instanceof CancellableProducer) {
203 ((CancellableProducer<?>) producer).cancel(mayInterruptIfRunning);
221 private abstract static class CompletedProducer<T> implements CancellableProducer<T> {
DDelegateProducer.java30 public final class DelegateProducer<T> implements CancellableProducer<T> {
31 private CancellableProducer<T> delegate;
57 asDelegateProducer.delegate = (CancellableProducer<T>) delegate; in setDelegate()
65 CancellableProducer<T> getDelegate() { in getDelegate()
DCancellableProducer.java22 public interface CancellableProducer<T> extends Producer<T> { interface
DDependencyMethodProducer.java38 public abstract class DependencyMethodProducer<T> implements CancellableProducer<T> {
DAbstractProducer.java27 public abstract class AbstractProducer<T> implements CancellableProducer<T> {
/external/dagger2/javatests/dagger/functional/producers/
DProducerFactoryTest.java30 import dagger.producers.internal.CancellableProducer;
92 CancellableProducer<Integer> intProducer = producerOfFuture(intFuture); in singleArgMethod()
108 CancellableProducer<SettableFuture<String>> strFutureProducer = in successMonitor()
137 CancellableProducer<SettableFuture<String>> strFutureProducer = in failureMonitor()
195 private static <T> CancellableProducer<T> producerOfFuture(final ListenableFuture<T> future) { in producerOfFuture()
/external/dagger2/java/dagger/producers/
DProducers.java22 import dagger.producers.internal.CancellableProducer;
39 private static final class ImmediateProducer<T> implements CancellableProducer<T> {