Home
last modified time | relevance | path

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

/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DCtsAugmentedAutofillService.java78 private final CountDownLatch mConnectedLatch = new CountDownLatch(1); field in CtsAugmentedAutofillService
148 if (mConnectedLatch.getCount() == 0) { in onConnected()
149 addException("already connected: %s", mConnectedLatch); in onConnected()
151 mConnectedLatch.countDown(); in onConnected()
159 addException("already disconnected: %s", mConnectedLatch); in onDisconnected()
200 await(mConnectedLatch, "not connected"); in waitUntilConnected()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DCtsContentCaptureService.java81 private final CountDownLatch mConnectedLatch = new CountDownLatch(1); field in CtsContentCaptureService
223 if (mConnectedLatch.getCount() == 0) { in onConnected()
224 addException("already connected: %s", mConnectedLatch); in onConnected()
226 mConnectedLatch.countDown(); in onConnected()
234 addException("already disconnected: %s", mConnectedLatch); in onDisconnected()
260 await(mConnectedLatch, "not connected"); in waitUntilConnected()
456 pw.print("mConnectedLatch: "); pw.println(mConnectedLatch); in dump()