Home
last modified time | relevance | path

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

/libcore/jsr166-tests/src/test/java/jsr166/
DScheduledExecutorTest.java344 assertEquals(0, p.getActiveCount()); in testGetActiveCount()
348 assertEquals(1, p.getActiveCount()); in testGetActiveCount()
352 assertEquals(1, p.getActiveCount()); in testGetActiveCount()
684 assertEquals(poolSize, p.getActiveCount()); in testShutdownNow()
DScheduledExecutorSubclassTest.java400 assertEquals(0, p.getActiveCount()); in testGetActiveCount()
404 assertEquals(1, p.getActiveCount()); in testGetActiveCount()
408 assertEquals(1, p.getActiveCount()); in testGetActiveCount()
735 assertEquals(poolSize, p.getActiveCount()); in testShutdownNow()
DThreadPoolExecutorSubclassTest.java263 assertEquals(0, p.getActiveCount()); in testGetActiveCount()
267 assertEquals(1, p.getActiveCount()); in testGetActiveCount()
271 assertEquals(1, p.getActiveCount()); in testGetActiveCount()
747 assertEquals(1L, p.getActiveCount()); in testPurge()
783 assertEquals(poolSize, p.getActiveCount()); in testShutdownNow()
DThreadPoolExecutorTest.java116 assertEquals(0, p.getActiveCount()); in testGetActiveCount()
120 assertEquals(1, p.getActiveCount()); in testGetActiveCount()
124 assertEquals(1, p.getActiveCount()); in testGetActiveCount()
632 assertEquals(1L, p.getActiveCount()); in testPurge()
668 assertEquals(poolSize, p.getActiveCount()); in testShutdownNow()
/libcore/ojluni/src/main/java/java/util/concurrent/
DThreadPoolExecutor.java1841 public int getActiveCount() { in getActiveCount() method in ThreadPoolExecutor