Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DKernelCpuUidBpfMapReaderTest.java118 ScheduledExecutorService threadPool = Executors.newScheduledThreadPool(11); in testConcurrent() local
125 threadPool.submit(() -> { in testConcurrent()
136 threadPool.submit(() -> { in testConcurrent()
154 threadPool.schedule(() -> { in testConcurrent()
160 threadPool.shutdownNow(); in testConcurrent()
H A DKernelCpuProcStringReaderTest.java252 ScheduledExecutorService threadPool = Executors.newScheduledThreadPool(11); in testConcurrent() local
261 threadPool.submit(() -> { in testConcurrent()
276 threadPool.submit(() -> { in testConcurrent()
298 threadPool.schedule(() -> { in testConcurrent()
310 threadPool.shutdownNow(); in testConcurrent()
/aosp14/frameworks/base/services/core/java/com/android/server/
H A DSystemServiceManager.java488 final ExecutorService threadPool = in onUser() local
526 threadPool.submit(getOnUserStartingRunnable(t, service, curUser)); in onUser()
544 threadPool.submit(getOnUserCompletedEventRunnable( in onUser()
561 threadPool.shutdown(); in onUser()
563 terminated = threadPool.awaitTermination( in onUser()