Home
last modified time | relevance | path

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

/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/common/
DOutcomeReceiverConverterTest.java43 CountDownLatch errorLatch = new CountDownLatch(1); in testOutcomeReceiverConverter() local
56 errorLatch.countDown(); in testOutcomeReceiverConverter()
66 expect.withMessage("error callback").that(errorLatch.getCount()).isEqualTo(0); in testOutcomeReceiverConverter()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarCabinManagerTest.java117 CountDownLatch errorLatch = new CountDownLatch(1); in testError() local
131 errorLatch.countDown(); in testError()
136 assertTrue(errorLatch.await(DEFAULT_WAIT_TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testError()
DCarHvacManagerTest.java160 CountDownLatch errorLatch = new CountDownLatch(1); in testError() local
174 errorLatch.countDown(); in testError()
179 assertTrue(errorLatch.await(DEFAULT_WAIT_TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testError()