Home
last modified time | relevance | path

Searched refs:invocationCount (Results 1 – 5 of 5) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DSingletonRunnerTest.java38 final AtomicInteger invocationCount = new AtomicInteger(0); in testShouldRunTask() local
44 mRunnerExecutor.submit(invocationCount::incrementAndGet))); in testShouldRunTask()
46 assertThat(invocationCount.get()).isEqualTo(1); in testShouldRunTask()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utils/di/
DFakeComponents.kt130 var invocationCount = 0 variable
151 return if (invocationCount >= this.aggregations.size) { in invoke()
155 … "invocationCount = $invocationCount. Please update aggregation responses before invoking.")) in invoke()
159 val result = UseCaseResults.Success(aggregations[invocationCount]) in invoke()
160 invocationCount += 1 in invoke()
170 this.invocationCount = 0 in reset()
/packages/services/Car/libs/car-test-lib/src/android/car/test/mocks/
DAbstractExtendedMockitoTestCase.java329 protected final <T extends Throwable> void forceFailure(int invocationCount, in forceFailure() argument
331 if (sInvocationsCounter != invocationCount) { in forceFailure()
332 Log.d(TAG, "forceFailure(" + invocationCount + "): no-op on invocation #" in forceFailure()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/datasources/api/
DLoadMostRecentAggregationsUseCaseTest.kt286 assertThat(loadDataAggregationsUseCase.invocationCount).isEqualTo(0) in loadMostRecentAggregations_whenLoadLastDateWithPriorityDataFails_returnsFailure()
324 assertThat(loadDataAggregationsUseCase.invocationCount).isEqualTo(0) in <lambda>()
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...