Home
last modified time | relevance | path

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

/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/
DCtsAugmentedAutofillService.java74 private final CountDownLatch mConnectedLatch = new CountDownLatch(1); field in CtsAugmentedAutofillService
144 if (mConnectedLatch.getCount() == 0) { in onConnected()
145 addException("already connected: %s", mConnectedLatch); in onConnected()
147 mConnectedLatch.countDown(); in onConnected()
155 addException("already disconnected: %s", mConnectedLatch); in onDisconnected()
177 await(mConnectedLatch, "not connected"); in waitUntilConnected()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DCtsContentCaptureService.java69 private final CountDownLatch mConnectedLatch = new CountDownLatch(1); field in CtsContentCaptureService
181 if (mConnectedLatch.getCount() == 0) { in onConnected()
182 addException("already connected: %s", mConnectedLatch); in onConnected()
184 mConnectedLatch.countDown(); in onConnected()
192 addException("already disconnected: %s", mConnectedLatch); in onDisconnected()
219 await(mConnectedLatch, "not connected"); in waitUntilConnected()
362 pw.print("mConnectedLatch: "); pw.println(mConnectedLatch); in dump()