Searched refs:NUM_THREADS (Results 1 – 2 of 2) sorted by relevance
87 final int NUM_THREADS = 20; in testGetSystemService_multiThreaded() local90 final Thread[] threads = new Thread[NUM_THREADS]; in testGetSystemService_multiThreaded()91 for (int i = 0; i < NUM_THREADS; i++) { in testGetSystemService_multiThreaded()94 for (int i = 0; i < NUM_THREADS; i++) { in testGetSystemService_multiThreaded()103 for (int i = 0; i < NUM_THREADS; i++) { in testGetSystemService_multiThreaded()108 assertTrue("totalCount must be bigger than " + NUM_THREADS in testGetSystemService_multiThreaded()109 + " but was " + totalCount.get(), totalCount.get() > NUM_THREADS); in testGetSystemService_multiThreaded()
715 final int NUM_THREADS = 16; in testWakelockLoad() local716 CountDownLatch latch = new CountDownLatch(NUM_THREADS); in testWakelockLoad()717 for (int i = 0; i < NUM_THREADS; i++) { in testWakelockLoad()