Home
last modified time | relevance | path

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

/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/
DThreadPool.java28 public static final int NUMBER_OF_THREADS = 4; field in ThreadPool
38 new ThreadPoolExecutor(/*corePoolSize=*/ NUMBER_OF_THREADS,
39 /*maximumPoolSize=*/ NUMBER_OF_THREADS,
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/policy/
DProvisionStateControllerThreadSafetyTest.java55 private static final int NUMBER_OF_THREADS = 100; field in ProvisionStateControllerThreadSafetyTest
71 ExecutorService executorService = Executors.newFixedThreadPool(NUMBER_OF_THREADS); in setNextStateForEvent_shouldSetStateOnlyOnce_whenMultithreading()
75 CountDownLatch finishLatch = new CountDownLatch(NUMBER_OF_THREADS); in setNextStateForEvent_shouldSetStateOnlyOnce_whenMultithreading()
77 for (int i = 0; i < NUMBER_OF_THREADS; i++) { in setNextStateForEvent_shouldSetStateOnlyOnce_whenMultithreading()