Home
last modified time | relevance | path

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

/external/dagger2/javatests/dagger/producers/monitoring/internal/
DMonitorsTest.java91 when(mockProductionComponentMonitor.producerMonitorFor(nullable(ProducerToken.class))) in singleMonitor_nullProducerMonitor()
97 assertThat(monitor.producerMonitorFor(ProducerToken.create(Object.class))) in singleMonitor_nullProducerMonitor()
107 .producerMonitorFor(nullable(ProducerToken.class)); in singleMonitor_throwingProductionComponentMonitor()
112 assertThat(monitor.producerMonitorFor(ProducerToken.create(Object.class))) in singleMonitor_throwingProductionComponentMonitor()
124 monitor.producerMonitorFor(ProducerToken.create(Object.class)); in singleMonitor_normalProducerMonitorSuccess()
147 monitor.producerMonitorFor(ProducerToken.create(Object.class)); in singleMonitor_normalProducerMonitorFailure()
176 monitor.producerMonitorFor(ProducerToken.create(Object.class)); in singleMonitor_throwingProducerMonitorSuccess()
203 monitor.producerMonitorFor(ProducerToken.create(Object.class)); in singleMonitor_throwingProducerMonitorFailure()
258 when(mockProductionComponentMonitorA.producerMonitorFor(nullable(ProducerToken.class))) in multipleMonitors_someNullProductionComponentMonitors()
268 monitor.producerMonitorFor(ProducerToken.create(Object.class)); in multipleMonitors_someNullProductionComponentMonitors()
[all …]
/external/dagger2/javatests/dagger/producers/monitoring/
DTimingProductionComponentMonitorTest.java69 monitor.producerMonitorFor(ProducerToken.create(ProducerClassA.class)); in normalExecution_success()
76 monitor.producerMonitorFor(ProducerToken.create(ProducerClassB.class)); in normalExecution_success()
98 monitor.producerMonitorFor(ProducerToken.create(ProducerClassA.class)); in normalExecution_failure()
105 monitor.producerMonitorFor(ProducerToken.create(ProducerClassB.class)); in normalExecution_failure()
/external/dagger2/javatests/dagger/functional/producers/
DProducerFactoryTest.java57 when(componentMonitor.producerMonitorFor(any(ProducerToken.class))).thenReturn(monitor); in setUpMocks()
82 order.verify(componentMonitor).producerMonitorFor(token); in noArgMethod()
116 order.verify(componentMonitor).producerMonitorFor(token); in successMonitor()
145 order.verify(componentMonitor).producerMonitorFor(token); in failureMonitor()
175 order.verify(componentMonitor).producerMonitorFor(token); in failureMonitorDueToThrowingProducer()
/external/dagger2/java/dagger/producers/monitoring/
DProductionComponentMonitor.java51 public abstract ProducerMonitor producerMonitorFor(ProducerToken token); in producerMonitorFor() method in ProductionComponentMonitor
56 public ProducerMonitor producerMonitorFor(ProducerToken token) {
DTimingProductionComponentMonitor.java44 public ProducerMonitor producerMonitorFor(ProducerToken token) { in producerMonitorFor() method in TimingProductionComponentMonitor
/external/dagger2/java/dagger/producers/monitoring/internal/
DMonitors.java86 public ProducerMonitor producerMonitorFor(ProducerToken token) { in producerMonitorFor() method in Monitors.NonThrowingProductionComponentMonitor
88 ProducerMonitor monitor = delegate.producerMonitorFor(token); in producerMonitorFor()
197 public ProducerMonitor producerMonitorFor(ProducerToken token) { in producerMonitorFor() method in Monitors.DelegatingProductionComponentMonitor
201 ProducerMonitor monitor = delegate.producerMonitorFor(token); in producerMonitorFor()
/external/dagger2/java/dagger/producers/internal/
DAbstractProducesMethodProducer.java59 monitor = monitorProvider.get().producerMonitorFor(token); in compute()
/external/dagger2/javatests/dagger/functional/producers/monitoring/
DMonitoringTest.java164 public ProducerMonitor producerMonitorFor(ProducerToken token) { in producerMonitorFor() method in MonitoringTest.FakeProductionComponentMonitor
227 public ProducerMonitor producerMonitorFor(ProducerToken token) { in producerMonitorFor() method in MonitoringTest.ThreadRecordingProductionComponentMonitor
/external/dagger2/javatests/dagger/producers/internal/
DAbstractProducesMethodProducerTest.java59 when(componentMonitor.producerMonitorFor(nullable(ProducerToken.class))).thenReturn(monitor); in initMocks()