Home
last modified time | relevance | path

Searched refs:executionCount (Results 1 – 4 of 4) sorted by relevance

/external/dagger2/javatests/dagger/functional/producers/subcomponent/
DSubcomponentsWithBoundExecutor.java45 private final AtomicInteger executionCount; field in SubcomponentsWithBoundExecutor.CountingExecutor
47 CountingExecutor(AtomicInteger executionCount) { in CountingExecutor() argument
48 this.executionCount = executionCount; in CountingExecutor()
53 executionCount.incrementAndGet(); in execute()
61 private final AtomicInteger executionCount; field in SubcomponentsWithBoundExecutor.ExecutorModule
63 ExecutorModule(AtomicInteger constructionCount, AtomicInteger executionCount) { in ExecutorModule() argument
65 this.executionCount = executionCount; in ExecutorModule()
72 return new CountingExecutor(executionCount); in executor()
DSubcomponentWithBoundExecutorTest.java38 private final AtomicInteger executionCount = new AtomicInteger(); field in SubcomponentWithBoundExecutorTest
44 .executorModule(new ExecutorModule(executorConstructionCount, executionCount)) in setUp()
48 .executorModule(new ExecutorModule(executorConstructionCount, executionCount)) in setUp()
57 assertThat(executionCount.get()).isEqualTo(1); in topLevelComponent_child()
65 assertThat(executionCount.get()).isEqualTo(1); in topLevelComponent_injectsChildBuilder()
74 assertThat(executionCount.get()).isEqualTo(2); in topLevelComponent_grandchild()
83 assertThat(executionCount.get()).isEqualTo(2); in topLevelComponent_grandchildWithoutBuilder()
91 assertThat(executionCount.get()).isEqualTo(2); in topLevelProductionComponent_child()
100 assertThat(executionCount.get()).isEqualTo(3); in topLevelProductionComponent_grandchild()
109 assertThat(executionCount.get()).isEqualTo(3); in topLevelProductionComponent_grandchildWithoutBuilder()
/external/apache-http/src/org/apache/http/impl/client/
DDefaultHttpRequestRetryHandler.java85 int executionCount, in retryRequest() argument
93 if (executionCount > this.retryCount) { in retryRequest()
/external/apache-http/src/org/apache/http/client/
DHttpRequestRetryHandler.java69 boolean retryRequest(IOException exception, int executionCount, HttpContext context); in retryRequest() argument