Home
last modified time | relevance | path

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

/aosp14/frameworks/base/apct-tests/perftests/core/src/android/os/
H A DParcelObtainPerfTest.java46 private static void timeContention(int numThreads) throws Exception { in timeContention() argument
49 final ObtainThread[] threads = new ObtainThread[numThreads]; in timeContention()
50 for (int i = 0; i < numThreads; i++) { in timeContention()
51 final ObtainThread thread = new ObtainThread(ITERATIONS / numThreads); in timeContention()
55 for (int i = 0; i < numThreads; i++) { in timeContention()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DCastControllerImplTest.java89 int numThreads = 2 * callbackCount; in testAddCallbackRemoveCallback_concurrently() local
91 CountDownLatch threadsDone = new CountDownLatch(numThreads); in testAddCallbackRemoveCallback_concurrently()
98 for (int i = 0; i < numThreads; i++) { in testAddCallbackRemoveCallback_concurrently()
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DArchiveTest.java220 int numThreads = SIZE - 2; in testRemoveChannelNotifications_concurrently() local
223 CountDownLatch threadsDone = new CountDownLatch(numThreads); in testRemoveChannelNotifications_concurrently()
224 for (int i = 0; i < numThreads; i++) { in testRemoveChannelNotifications_concurrently()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
H A DLockSettingsStorageTests.java191 final int numThreads = 2; in testKeyValue_ReadRemoveConcurrency() local
193 final CyclicBarrier barrier = new CyclicBarrier(numThreads); in testKeyValue_ReadRemoveConcurrency()
196 for (int threadId = 0; threadId < numThreads; threadId++) { in testKeyValue_ReadRemoveConcurrency()
/aosp14/frameworks/base/core/java/com/android/internal/os/
H A DBinderInternal.java189 public static final native void setMaxThreads(int numThreads); in setMaxThreads() argument