Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
H A DAccountManagerServiceTest.java3229 int readerCount = 2; in testConcurrencyReadWrite() local
3230 ExecutorService es = Executors.newFixedThreadPool(readerCount + 1); in testConcurrencyReadWrite()
3233 final CyclicBarrier cyclicBarrier = new CyclicBarrier(readerCount + 1); in testConcurrencyReadWrite()
3236 for (int t = 0; t < readerCount; t++) { in testConcurrencyReadWrite()
3290 + (readTotalTime.doubleValue() / readerCount / loopSize)); in testConcurrencyReadWrite()
3307 int readerCount = 2; in testConcurrencyRead() local
3308 ExecutorService es = Executors.newFixedThreadPool(readerCount + 1); in testConcurrencyRead()
3312 for (int t = 0; t < readerCount; t++) { in testConcurrencyRead()
3346 + (readTotalTime.doubleValue() / readerCount / loopSize)); in testConcurrencyRead()