Home
last modified time | relevance | path

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

/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
DPollingsQueue.java122 int nTasks = mPollingTasks.size(); in add() local
123 logger.print("Before add(), the existing tasks number: " + nTasks); in add()
176 if (nTasks <= 0) { in add()
189 int nTasks = mPollingTasks.size(); in remove() local
190 if (nTasks <= 0) { in remove()
196 for (int i = 0; i < nTasks; i++) { in remove()
225 int nTasks = mPollingTasks.size(); in retry() local
226 if (nTasks <= 0) { in retry()
231 for (int i = 0; i < nTasks; i++) { in retry()
/external/guava/android/guava-tests/test/com/google/common/collect/
DConcurrentHashMultisetBasherTest.java66 int nTasks = nThreads * tasksPerThread; in testAddAndRemove() local
70 List<Future<int[]>> futures = Lists.newArrayListWithExpectedSize(nTasks); in testAddAndRemove()
71 for (int i = 0; i < nTasks; i++) { in testAddAndRemove()
/external/guava/guava-tests/test/com/google/common/collect/
DConcurrentHashMultisetBasherTest.java66 int nTasks = nThreads * tasksPerThread; in testAddAndRemove() local
70 List<Future<int[]>> futures = Lists.newArrayListWithExpectedSize(nTasks); in testAddAndRemove()
71 for (int i = 0; i < nTasks; i++) { in testAddAndRemove()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DAtomicLongMapBasherTest.java40 int nTasks = 3000; in testModify_basher() local
50 for (int i = 0; i < nTasks; i++) { in testModify_basher()
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DAtomicLongMapBasherTest.java40 int nTasks = 3000; in testModify_basher() local
50 for (int i = 0; i < nTasks; i++) { in testModify_basher()
/external/guava/android/guava-tests/test/com/google/common/cache/
DCacheBuilderTest.java489 int nTasks = 1000; in testRemovalNotification_clear_basher() local
491 Set<String> expectedKeys = Sets.newHashSetWithExpectedSize(nTasks + nSeededEntries); in testRemovalNotification_clear_basher()
503 final CountDownLatch tasksFinished = new CountDownLatch(nTasks); in testRemovalNotification_clear_basher()
504 for (int i = 0; i < nTasks; i++) { in testRemovalNotification_clear_basher()
559 int nTasks = 1000; in testRemovalNotification_get_basher() local
600 for (int i = 0; i < nTasks; i++) { in testRemovalNotification_get_basher()
/external/kotlinx.coroutines/kotlinx-coroutines-test/jvm/test/migration/
DRunBlockingTestOnTestScopeTest.kt281 val nTasks = 10 in <lambda>() constant
284 repeat(nTasks) { in <lambda>()
303 assertEquals(nTasks, taskEnded) in <lambda>()
/external/guava/guava-tests/test/com/google/common/cache/
DCacheBuilderTest.java565 int nTasks = 1000; in testRemovalNotification_clear_basher() local
567 Set<String> expectedKeys = Sets.newHashSetWithExpectedSize(nTasks + nSeededEntries); in testRemovalNotification_clear_basher()
579 final CountDownLatch tasksFinished = new CountDownLatch(nTasks); in testRemovalNotification_clear_basher()
580 for (int i = 0; i < nTasks; i++) { in testRemovalNotification_clear_basher()
635 int nTasks = 1000; in testRemovalNotification_get_basher() local
676 for (int i = 0; i < nTasks; i++) { in testRemovalNotification_get_basher()
/external/kotlinx.coroutines/kotlinx-coroutines-test/common/test/
DTestScopeTest.kt302 val nTasks = 10 in <lambda>() constant
309 assertEquals(nTasks, taskEnded) in <lambda>()
313 repeat(nTasks) { in <lambda>()