Home
last modified time | relevance | path

Searched refs:sLatch (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/net/api23Test/src/android/net/cts/api23test/
DConnectivityReceiver.java31 static CountDownLatch sLatch; field in ConnectivityReceiver
36 sLatch = new CountDownLatch(1); in prepare()
42 sLatch.await(30, TimeUnit.SECONDS); in waitForBroadcast()
47 sLatch = null; in waitForBroadcast()
64 if (sLatch != null) { in onReceive()
65 sLatch.countDown(); in onReceive()
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
DStatsdJobService.java41 private static CountDownLatch sLatch; field in StatsdJobService
51 if (sLatch != null) {
52 sLatch.countDown();
58 sLatch = new CountDownLatch(1); in resetCountDownLatch()
59 return sLatch; in resetCountDownLatch()
DStatsdSyncAdapter.java42 private static CountDownLatch sLatch; field in StatsdSyncAdapter
62 if (sLatch != null) { in onPerformSync()
63 sLatch.countDown(); in onPerformSync()
83 sLatch = new CountDownLatch(1); in resetCountDownLatch()
84 return sLatch; in resetCountDownLatch()
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
DSimpleJobService.java43 private static CountDownLatch sLatch; field in SimpleJobService
54 if (sLatch != null) {
55 sLatch.countDown();
67 sLatch = new CountDownLatch(1); in resetCountDownLatch()
68 return sLatch; in resetCountDownLatch()
/cts/tests/tests/telecom/CallScreeningServiceTestApp/src/android/telecom/cts/screeningtestapp/
DCtsPostCallActivity.java37 private static CountDownLatch sLatch = new CountDownLatch(1); field in CtsPostCallActivity
48 sLatch.countDown(); in onCreate()
61 sLatch = new CountDownLatch(1); in resetPostCallActivity()
68 return sLatch.await(TEST_TIMEOUT, TimeUnit.MILLISECONDS); in waitForActivity()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DMyDrawable.java33 private static final CountDownLatch sLatch = new CountDownLatch(1); field in MyDrawable
50 sLatch.countDown(); in draw()
55 if (!sLatch.await(Timeouts.FILL_TIMEOUT.ms(), TimeUnit.MILLISECONDS)) { in getAutofilledBounds()