Searched refs:NUM_THREADS (Results 1 – 2 of 2) sorted by relevance
84 final int NUM_THREADS = 20; in testGetSystemService_multiThreaded() local87 final Thread[] threads = new Thread[NUM_THREADS]; in testGetSystemService_multiThreaded()88 for (int i = 0; i < NUM_THREADS; i++) { in testGetSystemService_multiThreaded()91 for (int i = 0; i < NUM_THREADS; i++) { in testGetSystemService_multiThreaded()100 for (int i = 0; i < NUM_THREADS; i++) { in testGetSystemService_multiThreaded()105 assertTrue("totalCount must be bigger than " + NUM_THREADS in testGetSystemService_multiThreaded()106 + " but was " + totalCount.get(), totalCount.get() > NUM_THREADS); in testGetSystemService_multiThreaded()
803 final int NUM_THREADS = 16; in testWakelockLoad() local804 CountDownLatch latch = new CountDownLatch(NUM_THREADS); in testWakelockLoad()805 for (int i = 0; i < NUM_THREADS; i++) { in testWakelockLoad()