/packages/modules/ExtServices/java/tests/src/android/ext/services/displayhash/ |
D | DisplayHashingServiceImplTest.java | 141 private CountDownLatch mCountDownLatch = new CountDownLatch(1); field in DisplayHashingServiceImplTest.SyncDisplayHashResultCallback 144 mCountDownLatch = new CountDownLatch(1); in reset() 149 mCountDownLatch.await(DISPLAY_HASH_WAIT_TIME_S, TimeUnit.SECONDS); in getDisplayHash() 157 mCountDownLatch.await(DISPLAY_HASH_WAIT_TIME_S, TimeUnit.SECONDS); in getError() 166 mCountDownLatch.countDown(); in onDisplayHashResult() 172 mCountDownLatch.countDown(); in onDisplayHashError()
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ |
D | FileDeleteUiTest.java | 69 if (mCountDownLatch != null) { 70 mCountDownLatch.countDown(); 76 private CountDownLatch mCountDownLatch; field in FileDeleteUiTest 111 mCountDownLatch = new CountDownLatch(1); in setUp() 117 mCountDownLatch = null; in tearDown() 172 mCountDownLatch.await(WAIT_TIME_SECONDS, TimeUnit.SECONDS); in testDeleteAllDocument()
|
D | CancelFromNotificationUiTest.java | 67 mCountDownLatch.countDown(); 72 private CountDownLatch mCountDownLatch; field in CancelFromNotificationUiTest 110 mCountDownLatch = new CountDownLatch(1); in setUp() 115 mCountDownLatch.countDown(); in tearDown() 116 mCountDownLatch = null; in tearDown() 183 mCountDownLatch.await(WAIT_TIME_SECONDS, TimeUnit.SECONDS); in testCopyDocument_CancelFromNotification() 238 mCountDownLatch.await(WAIT_TIME_SECONDS, TimeUnit.SECONDS); in ignored_testMoveDocument_CancelFromNotification()
|
D | FileCopyUiTest.java | 84 if (mCountDownLatch != null) { 85 mCountDownLatch.countDown(); 91 private CountDownLatch mCountDownLatch; field in FileCopyUiTest 214 mCountDownLatch = null; in tearDown() 380 mCountDownLatch = new CountDownLatch(1); in copyFiles() 393 mCountDownLatch.await(WAIT_TIME_SECONDS, TimeUnit.SECONDS); in copyFiles() 507 mCountDownLatch = new CountDownLatch(1); in testRecursiveCopyDocuments_InternalStorageToDownloadsProvider() 531 mCountDownLatch.await(WAIT_TIME_SECONDS, TimeUnit.SECONDS); in testRecursiveCopyDocuments_InternalStorageToDownloadsProvider()
|
/packages/apps/Settings/src/com/android/settings/panel/ |
D | PanelSlicesLoaderCountdownLatch.java | 42 private final CountDownLatch mCountDownLatch; field in PanelSlicesLoaderCountdownLatch 47 mCountDownLatch = new CountDownLatch(countdownSize); in PanelSlicesLoaderCountdownLatch() 59 mCountDownLatch.countDown(); in markSliceLoaded() 77 if ((mCountDownLatch.getCount() == 0) && !slicesReadyToLoad) { in isPanelReadyToLoad()
|
/packages/apps/Settings/src/com/android/settings/dashboard/ |
D | UiBlockerController.java | 42 private CountDownLatch mCountDownLatch; field in UiBlockerController 52 mCountDownLatch = new CountDownLatch(keys.size()); in UiBlockerController() 71 mCountDownLatch.await(mTimeoutMillis, TimeUnit.MILLISECONDS); in start() 95 mCountDownLatch.countDown(); in countDown()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/ |
D | HibernatedAppsItemManagerTest.java | 64 private final CountDownLatch mCountDownLatch = new CountDownLatch(1); field in HibernatedAppsItemManagerTest 99 mCountDownLatch.await(CALLBACK_TIMEOUT_MS, TimeUnit.MILLISECONDS); in getSummary_getsRightCountForHibernatedPackage() 112 mCountDownLatch.await(CALLBACK_TIMEOUT_MS, TimeUnit.MILLISECONDS); in getSummary_getsRightCountForUnusedAutoRevokedPackage() 126 mCountDownLatch.await(CALLBACK_TIMEOUT_MS, TimeUnit.MILLISECONDS); in getSummary_getsRightCountForUsedAutoRevokedPackage() 173 mCountDownLatch.countDown(); in onHibernatedAppsCountLoaded()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | NetworkDiagnostics.java | 124 private final CountDownLatch mCountDownLatch; field in NetworkDiagnostics 145 if (mCountDownLatch != null) { in recordSuccess() 146 mCountDownLatch.countDown(); in recordSuccess() 154 if (mCountDownLatch != null) { in recordFailure() 155 mCountDownLatch.countDown(); in recordFailure() 236 mCountDownLatch = new CountDownLatch(totalMeasurementCount()); in NetworkDiagnostics() 326 mCountDownLatch.await(mDeadlineTime - now(), TimeUnit.MILLISECONDS); in waitForMeasurements() 387 final long unfinished = mCountDownLatch.getCount(); in dump() 475 mCountDownLatch.countDown(); in ensureMeasurementNecessary()
|
/packages/apps/Car/Calendar/tests/unit/src/com/android/car/calendar/common/ |
D | EventsLiveDataTest.java | 548 CountDownLatch mCountDownLatch; field in EventsLiveDataTest.TestHandler 569 mCountDownLatch = new CountDownLatch(expectedMessageCount); in setExpectedMessageCount() 573 awaitAndAssertDone(mCountDownLatch); in awaitExpectedMessages() 579 if (mCountDownLatch != null) { in sendMessageAtTime() 580 mCountDownLatch.countDown(); in sendMessageAtTime()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiShellCommand.java | 168 private final CountDownLatch mCountDownLatch; field in WifiShellCommand.WifiScorer 174 mCountDownLatch = countDownLatch; in WifiScorer() 180 mCountDownLatch.countDown(); in onStart() 190 mCountDownLatch.countDown(); in onSetScoreUpdateObserver()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | TelecomSystemTest.java | 188 private final CountDownLatch mCountDownLatch; field in TelecomSystemTest.IncomingCallAddedListener 191 mCountDownLatch = latch; in IncomingCallAddedListener() 196 mCountDownLatch.countDown(); in onCallAdded()
|