Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/
DConnectivityServiceTest.java1994 final CountDownLatch losingLatch = new CountDownLatch(NUM_REQUESTS); in testRequestBenchmark() local
2001 @Override public void onLosing(Network n, int t) { losingLatch.countDown(); } in testRequestBenchmark()
2033 if (!losingLatch.await(SWITCH_TIME_LIMIT_MS, TimeUnit.MILLISECONDS)) { in testRequestBenchmark()
2035 NUM_REQUESTS - losingLatch.getCount(), NUM_REQUESTS, SWITCH_TIME_LIMIT_MS)); in testRequestBenchmark()