Home
last modified time | relevance | path

Searched refs:getPoolSize (Results 1 – 14 of 14) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DThreadPoolExecutorTest.java137 assertEquals(0, p.getPoolSize()); in testPrestartCoreThread()
139 assertEquals(1, p.getPoolSize()); in testPrestartCoreThread()
141 assertEquals(2, p.getPoolSize()); in testPrestartCoreThread()
143 assertEquals(2, p.getPoolSize()); in testPrestartCoreThread()
146 assertEquals(3, p.getPoolSize()); in testPrestartCoreThread()
148 assertEquals(4, p.getPoolSize()); in testPrestartCoreThread()
150 assertEquals(4, p.getPoolSize()); in testPrestartCoreThread()
163 assertEquals(0, p.getPoolSize()); in testPrestartAllCoreThreads()
165 assertEquals(2, p.getPoolSize()); in testPrestartAllCoreThreads()
167 assertEquals(2, p.getPoolSize()); in testPrestartAllCoreThreads()
[all …]
DThreadPoolExecutorSubclassTest.java284 assertEquals(0, p.getPoolSize()); in testPrestartCoreThread()
286 assertEquals(1, p.getPoolSize()); in testPrestartCoreThread()
288 assertEquals(2, p.getPoolSize()); in testPrestartCoreThread()
290 assertEquals(2, p.getPoolSize()); in testPrestartCoreThread()
293 assertEquals(3, p.getPoolSize()); in testPrestartCoreThread()
295 assertEquals(4, p.getPoolSize()); in testPrestartCoreThread()
297 assertEquals(4, p.getPoolSize()); in testPrestartCoreThread()
310 assertEquals(0, p.getPoolSize()); in testPrestartAllCoreThreads()
312 assertEquals(2, p.getPoolSize()); in testPrestartAllCoreThreads()
314 assertEquals(2, p.getPoolSize()); in testPrestartAllCoreThreads()
[all …]
DForkJoinPoolTest.java228 assertEquals(1, p.getPoolSize()); in testGetPoolSize()
234 assertEquals(1, p.getPoolSize()); in testGetPoolSize()
238 assertEquals(0, p.getPoolSize()); in testGetPoolSize()
DScheduledExecutorSubclassTest.java486 assertEquals(0, p.getPoolSize()); in testGetPoolSize()
490 assertEquals(1, p.getPoolSize()); in testGetPoolSize()
494 assertEquals(1, p.getPoolSize()); in testGetPoolSize()
DScheduledExecutorTest.java430 assertEquals(0, p.getPoolSize()); in testGetPoolSize()
434 assertEquals(1, p.getPoolSize()); in testGetPoolSize()
438 assertEquals(1, p.getPoolSize()); in testGetPoolSize()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DThreadPoolExecutorTest.java159 assertEquals(0, p.getPoolSize()); in testPrestartCoreThread()
161 assertEquals(1, p.getPoolSize()); in testPrestartCoreThread()
163 assertEquals(2, p.getPoolSize()); in testPrestartCoreThread()
165 assertEquals(2, p.getPoolSize()); in testPrestartCoreThread()
168 assertEquals(3, p.getPoolSize()); in testPrestartCoreThread()
170 assertEquals(4, p.getPoolSize()); in testPrestartCoreThread()
172 assertEquals(4, p.getPoolSize()); in testPrestartCoreThread()
185 assertEquals(0, p.getPoolSize()); in testPrestartAllCoreThreads()
187 assertEquals(2, p.getPoolSize()); in testPrestartAllCoreThreads()
189 assertEquals(2, p.getPoolSize()); in testPrestartAllCoreThreads()
[all …]
DThreadPoolExecutorSubclassTest.java306 assertEquals(0, p.getPoolSize()); in testPrestartCoreThread()
308 assertEquals(1, p.getPoolSize()); in testPrestartCoreThread()
310 assertEquals(2, p.getPoolSize()); in testPrestartCoreThread()
312 assertEquals(2, p.getPoolSize()); in testPrestartCoreThread()
315 assertEquals(3, p.getPoolSize()); in testPrestartCoreThread()
317 assertEquals(4, p.getPoolSize()); in testPrestartCoreThread()
319 assertEquals(4, p.getPoolSize()); in testPrestartCoreThread()
332 assertEquals(0, p.getPoolSize()); in testPrestartAllCoreThreads()
334 assertEquals(2, p.getPoolSize()); in testPrestartAllCoreThreads()
336 assertEquals(2, p.getPoolSize()); in testPrestartAllCoreThreads()
[all …]
DForkJoinPoolTest.java246 assertEquals(1, p.getPoolSize()); in testGetPoolSize()
252 assertEquals(1, p.getPoolSize()); in testGetPoolSize()
256 assertEquals(0, p.getPoolSize()); in testGetPoolSize()
DScheduledExecutorSubclassTest.java510 assertEquals(0, p.getPoolSize()); in testGetPoolSize()
514 assertEquals(1, p.getPoolSize()); in testGetPoolSize()
518 assertEquals(1, p.getPoolSize()); in testGetPoolSize()
DScheduledExecutorTest.java454 assertEquals(0, p.getPoolSize()); in testGetPoolSize()
458 assertEquals(1, p.getPoolSize()); in testGetPoolSize()
462 assertEquals(1, p.getPoolSize()); in testGetPoolSize()
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DThreadPoolExecutor.java285 public int getPoolSize() { in getPoolSize() method in ThreadPoolExecutor
/libcore/ojluni/src/main/java/java/util/concurrent/
DThreadPoolExecutor.java1821 public int getPoolSize() { in getPoolSize() method in ThreadPoolExecutor
DForkJoinPool.java2948 public int getPoolSize() {
/libcore/api/
Dcurrent.txt15983 method public int getPoolSize();
16387 method public int getPoolSize();