Home
last modified time | relevance | path

Searched refs:NUM_THREADS (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/content/src/android/content/cts/
DContextMoreTest.java84 final int NUM_THREADS = 20; in testGetSystemService_multiThreaded() local
87 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()
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DAtomTests.java803 final int NUM_THREADS = 16; in testWakelockLoad() local
804 CountDownLatch latch = new CountDownLatch(NUM_THREADS); in testWakelockLoad()
805 for (int i = 0; i < NUM_THREADS; i++) { in testWakelockLoad()