Home
last modified time | relevance | path

Searched refs:ProductionComponentMonitor (Results 1 – 13 of 13) sorted by relevance

/external/dagger2/java/dagger/producers/monitoring/internal/
DMonitors.java23 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 …]
/external/dagger2/javatests/dagger/producers/monitoring/internal/
DMonitorsTest.java30 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 …]
/external/dagger2/java/dagger/producers/monitoring/
DProductionComponentMonitor.java49 public abstract class ProductionComponentMonitor { class
53 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();
DTimingProductionComponentMonitor.java32 public final class TimingProductionComponentMonitor extends ProductionComponentMonitor {
48 public static final class Factory extends ProductionComponentMonitor.Factory {
62 public ProductionComponentMonitor create(Object component) { in create()
/external/dagger2/javatests/dagger/functional/producers/monitoring/
DMonitoringModule.java22 import dagger.producers.monitoring.ProductionComponentMonitor;
26 private final ProductionComponentMonitor.Factory monitorFactory;
28 MonitoringModule(ProductionComponentMonitor.Factory monitorFactory) { in MonitoringModule()
34 ProductionComponentMonitor.Factory monitorFactory() { in monitorFactory()
DMonitoringTest.java35 import dagger.producers.monitoring.ProductionComponentMonitor;
51 @Mock private ProductionComponentMonitor.Factory componentMonitorFactory;
160 private static final class FakeProductionComponentMonitor extends ProductionComponentMonitor {
223 extends ProductionComponentMonitor {
/external/dagger2/javatests/dagger/producers/internal/
DAbstractProducesMethodProducerTest.java34 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()
/external/dagger2/java/dagger/producers/internal/
DAbstractProducesMethodProducer.java26 import dagger.producers.monitoring.ProductionComponentMonitor;
43 private final Provider<ProductionComponentMonitor> monitorProvider;
49 Provider<ProductionComponentMonitor> monitorProvider, in AbstractProducesMethodProducer()
/external/dagger2/javatests/dagger/functional/producers/
DProducerFactoryTest.java33 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()
/external/dagger2/javatests/dagger/producers/monitoring/
DTimingProductionComponentMonitorTest.java44 private ProductionComponentMonitor.Factory monitorFactory;
67 ProductionComponentMonitor monitor = monitorFactory.create(new Object()); in normalExecution_success()
96 ProductionComponentMonitor monitor = monitorFactory.create(new Object()); in normalExecution_failure()
/external/dagger2/java/dagger/internal/codegen/validation/
DMonitoringModuleGenerator.java39 import dagger.producers.monitoring.ProductionComponentMonitor;
91 .returns(ProductionComponentMonitor.class) in monitor()
/external/dagger2/java/dagger/internal/codegen/javapoet/
DTypeNames.java48 import dagger.producers.monitoring.ProductionComponentMonitor;
83 ClassName.get(ProductionComponentMonitor.Factory.class);
/external/dagger2/java/dagger/internal/codegen/binding/
DKeyFactory.java56 import dagger.producers.monitoring.ProductionComponentMonitor;
278 return Key.builder(elements.getTypeElement(ProductionComponentMonitor.class).asType()).build(); in forProductionComponentMonitor()