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.java68 private final CountDownLatch mConnectedLatch = new CountDownLatch(1); field in CtsContentCaptureService
180 if (mConnectedLatch.getCount() == 0) { in onConnected()
181 addException("already connected: %s", mConnectedLatch); in onConnected()
183 mConnectedLatch.countDown(); in onConnected()
191 addException("already disconnected: %s", mConnectedLatch); in onDisconnected()
218 await(mConnectedLatch, "not connected"); in waitUntilConnected()
361 pw.print("mConnectedLatch: "); pw.println(mConnectedLatch); in dump()