/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
D | MyDrawable.java | 33 private static CountDownLatch sLatch; field in MyDrawable 50 sLatch.countDown(); in draw() 55 if (sLatch == null) { in getAutofilledBounds() 59 if (!sLatch.await(Timeouts.FILL_TIMEOUT.ms(), TimeUnit.MILLISECONDS)) { in getAutofilledBounds() 69 if (sLatch == null) { in assertDrawableNotDrawn() 73 if (sLatch.await(Timeouts.DRAWABLE_TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in assertDrawableNotDrawn() 79 sLatch = new CountDownLatch(1); in initStatus() 85 sLatch = null; in clearStatus()
|
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/ |
D | StatsdJobService.java | 47 private static CountDownLatch sLatch; field in StatsdJobService 60 if (sLatch != null) { 61 sLatch.countDown(); 69 if (sLatch == null || sLatch.getCount() == 0) { in resetCountDownLatch() 70 sLatch = new CountDownLatch(1); in resetCountDownLatch() 73 return sLatch; in resetCountDownLatch()
|
D | StatsdSyncAdapter.java | 42 private static CountDownLatch sLatch; field in StatsdSyncAdapter 61 if (sLatch != null) { in onPerformSync() 62 sLatch.countDown(); in onPerformSync() 83 if (sLatch == null || sLatch.getCount() == 0) { in resetCountDownLatch() 84 sLatch = new CountDownLatch(1); in resetCountDownLatch() 87 return sLatch; in resetCountDownLatch()
|
/cts/tests/appsearch/testutils/src/android/app/appsearch/testutil/functions/ |
D | ActivityCreationSynchronizer.java | 29 private static volatile CountDownLatch sLatch = new CountDownLatch(1); field in ActivityCreationSynchronizer 38 sLatch.countDown(); in onCreate() 47 sLatch = new CountDownLatch(1); in reset() 61 return sLatch.await(timeout, unit); in waitForActivityCreated()
|
/cts/tests/tests/telecom/CallScreeningServiceTestApp/src/android/telecom/cts/screeningtestapp/ |
D | CtsPostCallActivity.java | 37 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/tests/telephony/current/src/android/telephony/cts/ |
D | InCallServiceStateValidator.java | 37 private static CountDownLatch sLatch = new CountDownLatch(1); field in InCallServiceStateValidator 57 sLatch.await(3000, TimeUnit.MILLISECONDS); in getService() 61 sLatch = new CountDownLatch(1); in getService() 126 sLatch.countDown(); in onBind()
|
/cts/common/device-side/bedstead/activitycontext/src/main/java/com/android/activitycontext/ |
D | ActivityContext.java | 90 private static CountDownLatch sLatch; field in ActivityContext 259 sLatch = new CountDownLatch(1); in getWithContextInternal() 269 if (!sLatch.await(5, TimeUnit.MINUTES)) { in getWithContextInternal() 315 sLatch.countDown(); in onResume()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ActivityRequireContentUriPermissionFromCallerTest.java | 122 private static CountDownLatch sLatch; field in ActivityRequireContentUriPermissionFromCallerTest 466 sLatch.await(10, TimeUnit.SECONDS)); in assertActivityWasInvoked() 470 sLatch = new CountDownLatch(1); in resetTestResults() 505 sLatch.countDown(); in onReceive()
|
/cts/tests/tests/app/src/android/app/cts/ |
D | ComponentCallerTest.java | 1698 TestResults.sLatch.await(10, TimeUnit.SECONDS)); in assertActivityWasInvoked() 1713 static CountDownLatch sLatch; field in TestResults 1730 sLatch = new CountDownLatch(1); in reset() 1757 TestResults.sLatch.countDown(); in onReceive() 1779 TestResults.sLatch.countDown(); in performTest() 1819 TestResults.sLatch.countDown(); in onStart() 1830 TestResults.sLatch.countDown(); in onNewIntent() 1844 TestResults.sLatch.countDown(); in onNewIntent() 1874 TestResults.sLatch.countDown(); in onActivityResult() 1889 TestResults.sLatch.countDown(); in onActivityResult()
|