/system/core/libsync/tests/ |
sync_test.cpp | 197 int getActiveCount() const { 315 ASSERT_EQ(a.getActiveCount(), 1); 316 ASSERT_EQ(b.getActiveCount(), 1); 317 ASSERT_EQ(c.getActiveCount(), 1); 318 ASSERT_EQ(d.getActiveCount(), 1); 323 ASSERT_EQ(d.getActiveCount(), 1); 327 ASSERT_EQ(d.getActiveCount(), 1); 331 ASSERT_EQ(d.getActiveCount(), 0); 421 ASSERT_EQ(mergedFence.getActiveCount(), 3); 426 ASSERT_EQ(mergedFence.getActiveCount(), 2) [all...] |
/external/jetty/src/java/org/eclipse/jetty/util/thread/ |
ExecutorThreadPool.java | 142 return tpe.getPoolSize() - tpe.getActiveCount(); 164 // getActiveCount() locks the thread pool, so execute it last 166 tpe.getQueue().size() >= tpe.getPoolSize() - tpe.getActiveCount();
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
ScheduledExecutorSubclassTest.java | 392 * getActiveCount increases but doesn't overestimate, when a 400 assertEquals(0, p.getActiveCount()); 404 assertEquals(1, p.getActiveCount()); 408 assertEquals(1, p.getActiveCount()); 735 assertEquals(poolSize, p.getActiveCount()); [all...] |
ScheduledExecutorTest.java | 336 * getActiveCount increases but doesn't overestimate, when a 344 assertEquals(0, p.getActiveCount()); 348 assertEquals(1, p.getActiveCount()); 352 assertEquals(1, p.getActiveCount()); 684 assertEquals(poolSize, p.getActiveCount()); [all...] |
ThreadPoolExecutorSubclassTest.java | 252 * getActiveCount increases but doesn't overestimate, when a 263 assertEquals(0, p.getActiveCount()); 267 assertEquals(1, p.getActiveCount()); 271 assertEquals(1, p.getActiveCount()); 747 assertEquals(1L, p.getActiveCount()); 783 assertEquals(poolSize, p.getActiveCount()); [all...] |
ThreadPoolExecutorTest.java | 105 * getActiveCount increases but doesn't overestimate, when a 116 assertEquals(0, p.getActiveCount()); 120 assertEquals(1, p.getActiveCount()); 124 assertEquals(1, p.getActiveCount()); 632 assertEquals(1L, p.getActiveCount()); 668 assertEquals(poolSize, p.getActiveCount()); [all...] |
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
BlobCache.java | 603 int getActiveCount() {
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
BackgroundScanScheduler.java | 297 public int getActiveCount() { [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
ThreadPoolExecutor.java | [all...] |
/prebuilts/tools/common/m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/ |
backport-util-concurrent-3.1.jar | |
/prebuilts/sdk/10/ |
android.jar | |
/prebuilts/sdk/11/ |
android.jar | |
/prebuilts/sdk/13/ |
android.jar | |
/prebuilts/sdk/16/ |
android.jar | |
/prebuilts/sdk/20/ |
android.jar | |
/prebuilts/sdk/22/ |
android.jar | |
/prebuilts/sdk/23/ |
android.jar | |
/prebuilts/sdk/24/ |
android.jar | |
/prebuilts/sdk/5/ |
android.jar | |
/prebuilts/sdk/7/ |
android.jar | |
/prebuilts/sdk/8/ |
android.jar | |
/prebuilts/sdk/9/ |
android.jar | |
/prebuilts/sdk/system_23/ |
android.jar | |