Home
last modified time | relevance | path

Searched refs:nTasks (Results 1 – 5 of 5) 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()
175 if (nTasks <= 0) { in add()
188 int nTasks = mPollingTasks.size(); in remove() local
189 if (nTasks <= 0) { in remove()
195 for (int i = 0; i < nTasks; i++) { in remove()
224 int nTasks = mPollingTasks.size(); in retry() local
225 if (nTasks <= 0) { in retry()
230 for (int i = 0; i < nTasks; i++) { in retry()
/external/guava/guava-tests/test/com/google/common/collect/
DConcurrentHashMultisetBasherTest.java68 int nTasks = nThreads * tasksPerThread; in testAddAndRemove() local
72 List<Future<int[]>> futures = Lists.newArrayListWithExpectedSize(nTasks); in testAddAndRemove()
73 for (int i = 0; i < nTasks; i++) { in testAddAndRemove()
DMapMakerTest.java126 int nTasks = 1000; in testRemovalNotification_clear_basher() local
128 Set<String> expectedKeys = Sets.newHashSetWithExpectedSize(nTasks + nSeededEntries); in testRemovalNotification_clear_basher()
139 final CountDownLatch tasksFinished = new CountDownLatch(nTasks); in testRemovalNotification_clear_basher()
140 for (int i = 0; i < nTasks; i++) { in testRemovalNotification_clear_basher()
/external/guava/guava-tests/test/com/google/common/cache/
DCacheBuilderTest.java463 int nTasks = 1000; in testRemovalNotification_clear_basher() local
465 Set<String> expectedKeys = Sets.newHashSetWithExpectedSize(nTasks + nSeededEntries); in testRemovalNotification_clear_basher()
477 final CountDownLatch tasksFinished = new CountDownLatch(nTasks); in testRemovalNotification_clear_basher()
478 for (int i = 0; i < nTasks; i++) { in testRemovalNotification_clear_basher()
527 int nTasks = 1000; in testRemovalNotification_get_basher() local
566 for (int i = 0; i < nTasks; i++) { in testRemovalNotification_get_basher()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DAtomicLongMapTest.java559 int nTasks = 3000; in testModify_basher() local
569 for (int i = 0; i < nTasks; i++) { in testModify_basher()