Searched refs:stopLatch (Results 1 – 4 of 4) sorted by relevance
107 CountDownLatch stopLatch = new CountDownLatch(1); in createHintSessionWithExitedThreads() local108 int[] tids = createThreads(5, stopLatch); in createHintSessionWithExitedThreads()110 stopLatch.countDown(); in createHintSessionWithExitedThreads()114 private int[] createThreads(int tidCnt, CountDownLatch stopLatch) throws InterruptedException { in createThreads() argument123 stopLatch.await(); in createThreads()
1356 CountDownLatch stopLatch = initWaitingForChildProcessGone( in testKillingAppChildProcess() local1360 stopLatch.await(processGoneTimeout, TimeUnit.MILLISECONDS)); in testKillingAppChildProcess()1363 stopLatch = stopChildProcess(PACKAGE_NAME_APP1, waitForSec); in testKillingAppChildProcess()1366 stopLatch.await(waitForSec, TimeUnit.MILLISECONDS)); in testKillingAppChildProcess()1496 CountDownLatch stopLatch = initWaitingForChildProcessGone( in testTrimAppChildProcess() local1500 stopLatch.await(processGoneTimeout, TimeUnit.MILLISECONDS)); in testTrimAppChildProcess()1520 stopLatch = initWaitingForChildProcessGone( in testTrimAppChildProcess()1524 stopLatch.await(processGoneTimeout, TimeUnit.MILLISECONDS)); in testTrimAppChildProcess()1589 final CountDownLatch stopLatch = new CountDownLatch(1); in stopChildProcess() local1597 stopLatch.countDown(); in stopChildProcess()[all …]
964 final CountDownLatch stopLatch = new CountDownLatch(1); in testTransferToTwice() local989 stopLatch.countDown(); in testTransferToTwice()1018 assertThat(stopLatch.await(WAIT_MS, TimeUnit.MILLISECONDS)).isFalse(); in testTransferToTwice()
400 final CountDownLatch stopLatch = new CountDownLatch(1); in testTransferToTwice() local425 stopLatch.countDown(); in testTransferToTwice()458 assertThat(stopLatch.await(WAIT_MS, TimeUnit.MILLISECONDS)).isFalse(); in testTransferToTwice()