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/
DInstrumentedFieldClassificationService.java62 private final CountDownLatch mConnectedLatch = new CountDownLatch(1); field in InstrumentedFieldClassificationService
89 await(mConnectedLatch, "not connected"); in waitUntilConnected()
131 if (mConnectedLatch.getCount() == 0) { in onConnected()
132 Log.w(TAG, "already connected: " + mConnectedLatch); in onConnected()
134 mConnectedLatch.countDown(); in onConnected()
142 Log.w(TAG, "already disconnected: " + mConnectedLatch); in onDisconnected()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DCtsContentCaptureService.java89 private final CountDownLatch mConnectedLatch = new CountDownLatch(1); field in CtsContentCaptureService
254 if (mConnectedLatch.getCount() == 0) { in onConnected()
255 addException("already connected: %s", mConnectedLatch); in onConnected()
257 mConnectedLatch.countDown(); in onConnected()
266 addException("already disconnected: %s", mConnectedLatch); in onDisconnected()
292 await(mConnectedLatch, "not connected"); in waitUntilConnected()
501 pw.print("mConnectedLatch: "); pw.println(mConnectedLatch); in dump()