Searched refs:ProductionComponentMonitor (Results 1 – 13 of 13) sorted by relevance
23 import dagger.producers.monitoring.ProductionComponentMonitor;45 public static ProductionComponentMonitor.Factory delegatingProductionComponentMonitorFactory( in delegatingProductionComponentMonitorFactory()46 Collection<? extends ProductionComponentMonitor.Factory> factories) { in delegatingProductionComponentMonitorFactory()48 return ProductionComponentMonitor.Factory.noOp(); in delegatingProductionComponentMonitorFactory()60 public static ProductionComponentMonitor createMonitorForComponent( in createMonitorForComponent()62 Provider<Set<ProductionComponentMonitor.Factory>> monitorFactorySetProvider) { in createMonitorForComponent()64 ProductionComponentMonitor.Factory factory = in createMonitorForComponent()69 return ProductionComponentMonitor.noOp(); in createMonitorForComponent()78 extends ProductionComponentMonitor {79 private final ProductionComponentMonitor delegate;[all …]
30 import dagger.producers.monitoring.ProductionComponentMonitor;41 @Mock private ProductionComponentMonitor.Factory mockProductionComponentMonitorFactory;42 @Mock private ProductionComponentMonitor mockProductionComponentMonitor;44 @Mock private ProductionComponentMonitor.Factory mockProductionComponentMonitorFactoryA;45 @Mock private ProductionComponentMonitor.Factory mockProductionComponentMonitorFactoryB;46 @Mock private ProductionComponentMonitor.Factory mockProductionComponentMonitorFactoryC;47 @Mock private ProductionComponentMonitor mockProductionComponentMonitorA;48 @Mock private ProductionComponentMonitor mockProductionComponentMonitorB;49 @Mock private ProductionComponentMonitor mockProductionComponentMonitorC;61 ProductionComponentMonitor.Factory factory = in zeroMonitorsReturnsNoOp()[all …]
49 public abstract class ProductionComponentMonitor { class53 private static final ProductionComponentMonitor NO_OP =54 new ProductionComponentMonitor() {62 public static ProductionComponentMonitor noOp() { in noOp()68 public abstract ProductionComponentMonitor create(Object component); in create()73 public ProductionComponentMonitor create(Object component) {74 return ProductionComponentMonitor.noOp();
32 public final class TimingProductionComponentMonitor extends ProductionComponentMonitor {48 public static final class Factory extends ProductionComponentMonitor.Factory {62 public ProductionComponentMonitor create(Object component) { in create()
22 import dagger.producers.monitoring.ProductionComponentMonitor;26 private final ProductionComponentMonitor.Factory monitorFactory;28 MonitoringModule(ProductionComponentMonitor.Factory monitorFactory) { in MonitoringModule()34 ProductionComponentMonitor.Factory monitorFactory() { in monitorFactory()
35 import dagger.producers.monitoring.ProductionComponentMonitor;51 @Mock private ProductionComponentMonitor.Factory componentMonitorFactory;160 private static final class FakeProductionComponentMonitor extends ProductionComponentMonitor {223 extends ProductionComponentMonitor {
34 import dagger.producers.monitoring.ProductionComponentMonitor;51 @Mock private ProductionComponentMonitor componentMonitor;53 private Provider<ProductionComponentMonitor> componentMonitorProvider;61 new Provider<ProductionComponentMonitor>() { in initMocks()63 public ProductionComponentMonitor get() { in initMocks()124 Provider<ProductionComponentMonitor> componentMonitorProvider, in DelegateProducer()
26 import dagger.producers.monitoring.ProductionComponentMonitor;43 private final Provider<ProductionComponentMonitor> monitorProvider;49 Provider<ProductionComponentMonitor> monitorProvider, in AbstractProducesMethodProducer()
33 import dagger.producers.monitoring.ProductionComponentMonitor;48 @Mock private ProductionComponentMonitor componentMonitor;51 private Provider<ProductionComponentMonitor> componentMonitorProvider;67 new Provider<ProductionComponentMonitor>() { in setUpMocks()69 public ProductionComponentMonitor get() { in setUpMocks()
44 private ProductionComponentMonitor.Factory monitorFactory;67 ProductionComponentMonitor monitor = monitorFactory.create(new Object()); in normalExecution_success()96 ProductionComponentMonitor monitor = monitorFactory.create(new Object()); in normalExecution_failure()
39 import dagger.producers.monitoring.ProductionComponentMonitor;91 .returns(ProductionComponentMonitor.class) in monitor()
48 import dagger.producers.monitoring.ProductionComponentMonitor;83 ClassName.get(ProductionComponentMonitor.Factory.class);
56 import dagger.producers.monitoring.ProductionComponentMonitor;278 return Key.builder(elements.getTypeElement(ProductionComponentMonitor.class).asType()).build(); in forProductionComponentMonitor()