Home
last modified time | relevance | path

Searched refs:countDown (Results 1 – 25 of 123) sorted by relevance

12345

/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ipmemorystore/
DIpMemoryStoreServiceTest.java383 latch.countDown();
399 latch.countDown();
470 latch.countDown();
491 latch.countDown();
502 latch.countDown();
520 latch.countDown();
529 latch.countDown();
537 latch.countDown();
548 latch.countDown();
566 latch.countDown();
[all …]
/packages/apps/Car/Calendar/tests/unit/src/com/android/car/calendar/common/
DEventsLiveDataTest.java143 mEventsLiveData.observeForever((value) -> latch.countDown()); in addObserver_queryMade()
156 mEventsLiveData.observeForever((value) -> latch.countDown()); in addObserver_contentObserved()
169 Observer<ImmutableList<Event>> observer = (value) -> latch.countDown(); in removeObserver_contentNotObserved()
193 runOnMain(() -> mEventsLiveData.observeForever((value) -> latch.countDown())); in addObserver_oneEventResult()
229 initializeCountdownLatch.countDown(); in changeCursorData_onChangedCalled()
230 changeCountdownLatch.countDown(); in changeCursorData_onChangedCalled()
271 runOnMain(() -> mEventsLiveData.observeForever((value) -> latch.countDown())); in noCalendars_valueNull()
286 mEventsLiveData.observeForever((value) -> latch.countDown()); in noCalendars_contentObserved()
302 runOnMain(() -> mEventsLiveData.observeForever((value) -> latch.countDown())); in multiDayEvent_createsMultipleEvents()
320 runOnMain(() -> mEventsLiveData.observeForever((value) -> latch.countDown())); in multiDayEvent_keepsOriginalTimes()
[all …]
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarBugreportManagerTest.java187 mProgressLatch.countDown(); in onProgress()
196 mEndedLatch.countDown(); in onError()
197 mProgressLatch.countDown(); in onError()
202 mEndedLatch.countDown(); in onFinished()
203 mProgressLatch.countDown(); in onFinished()
DCarActivityViewDisplayIdTestBase.java99 mActivityViewReadyLatch.countDown(); in onActivityViewReady()
104 mActivityViewDestroyedLatch.countDown(); in onActivityViewDestroyed()
206 mResumed.countDown(); in onPostResume()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DAbstractActionHandlerTest.java271 mEnv.model.addUpdateListener(event -> latch.countDown()); in testLoadChildrenDocuments()
299 mEnv.model.addUpdateListener(event -> latch.countDown()); in testCrossProfileDocuments_success()
323 mEnv.model.addUpdateListener(event -> latch.countDown()); in testLoadCrossProfileDoc_failsWithQuietModeException()
344 mEnv.model.addUpdateListener(event -> latch.countDown()); in testLoadCrossProfileDoc_failsWithNoPermissionException()
368 mEnv.model.addUpdateListener(event -> latch.countDown()); in testLoadCrossProfileDoc_bothError_showNoPermissionException()
399 EventListener<Model.Update> updateEventListener1 = update -> latch1.countDown(); in testCrossProfileDocuments_reloadSuccessAfterCrossProfileError()
410 mEnv.model.addUpdateListener(update -> latch2.countDown()); in testCrossProfileDocuments_reloadSuccessAfterCrossProfileError()
432 mEnv.model.addUpdateListener(event -> latch.countDown()); in testLoadChildrenDocuments_failsWithNonRecentsAndEmptyStack()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/queries/
DSearchHistoryManagerTest.java78 mLatch.countDown(); in testAddHistory()
101 mLatch.countDown(); in testDeleteHistory()
108 mLatch.countDown(); in testDeleteHistory()
140 mLatch.countDown(); in testGetHistoryList()
/packages/apps/Settings/tests/unit/src/com/android/settings/dashboard/
DUiBlockerControllerTest.java55 mSyncableController.start(() -> latch.countDown()); in start_isSyncedReturnFalseUntilAllWorkDone()
61 mSyncableController.countDown(KEY_1); in start_isSyncedReturnFalseUntilAllWorkDone()
65 mSyncableController.countDown(KEY_2); in start_isSyncedReturnFalseUntilAllWorkDone()
/packages/modules/ExtServices/tests/src/android/ext/services/watchdog/
DExplicitHealthCheckServiceImplTest.java114 latch.countDown(); in testHealthCheckSupportedPackage()
137 latch1.countDown(); in testHealthCheckRequests()
150 latch2.countDown(); in testHealthCheckRequests()
163 latch3.countDown(); in testHealthCheckRequests()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/e2eui/
DProvisioningResultListener.java55 mLatch.countDown(); in onReceive()
59 mLatch.countDown(); in onReceive()
88 mLatch.countDown(); in setPreprovisioningActivityResult()
/packages/apps/Contacts/tests/src/com/android/contacts/database/
DNoNullCursorAsyncQueryHandlerTest.java75 latch.countDown(); in testCursorIsNotNull()
102 latch.countDown(); in testCursorContainsCorrectCookies()
129 latch.countDown(); in testCursorContainsCorrectColumns()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSocketTestBase.java178 mLatch.countDown(); in handlePacket()
193 void countDown() { in countDown() method in IkeSocketTestBase.TestCountDownLatch
194 mLatch.countDown(); in countDown()
/packages/services/Car/tests/carservice_test/src/com/android/car/watchdog/
DCarWatchdogServiceTest.java264 mLatchProcessTermination.countDown(); in onPrepareProcessTermination()
298 mLatchHealthCheckDone.countDown(); in onCheckHealthStatus()
308 mLatchHealthCheckDone.countDown(); in onCheckHealthStatus()
317 mLatchHealthCheckDone.countDown(); in onCheckHealthStatus()
/packages/apps/Dialer/java/com/android/incallui/multisim/
DSwapSimWorker.java122 latchForTest.countDown(); in doInBackground()
145 disconnectLatch.countDown(); in onDialerCallDisconnect()
151 dialingLatch.countDown(); in onCallListChange()
/packages/modules/NetworkStack/tests/unit/src/android/net/util/
DPacketReaderTest.java104 mLatch.countDown(); in handlePacket()
110 mLatch.countDown(); in onStart()
116 mLatch.countDown(); in onStop()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/
DTestContentResolver.java64 mReadySignal.countDown(); in waitForChanges()
82 mNotificationSignal.countDown(); in notifyChange()
/packages/apps/Settings/src/com/android/settings/dashboard/
DUiBlockerController.java93 public boolean countDown(String key) { in countDown() method in UiBlockerController
95 mCountDownLatch.countDown(); in countDown()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/dashboard/
DUiBlockerController.java93 public boolean countDown(String key) { in countDown() method in UiBlockerController
95 mCountDownLatch.countDown(); in countDown()
/packages/apps/Car/libs/car-ui-lib/tests/unit/src/com/android/car/ui/
DFocusParkingViewTest.java56 latch.countDown(); in testFocusParkingViewCanTakeFocus()
72 latch.countDown(); in testFocusParkingViewFocusedWhenWindowLostFocus()
DFocusAreaTest.java68 latch.countDown(); in testLoseFocus()
87 latch.countDown(); in testGetFocus()
/packages/services/Telephony/tests/src/com/android/
DTelephonyTestBase.java63 h.post(lock::countDown); in waitForHandlerAction()
75 h.postDelayed(lock::countDown, delayMs); in waitForHandlerActionDelayed()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DTelecomTestCase.java57 h.post(lock::countDown); in waitForHandlerAction()
69 h.postDelayed(lock::countDown, delayMs); in waitForHandlerActionDelayed()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DCarUserNoticeServiceTest.java236 latch.countDown(); in mockBindService()
245 latch.countDown(); in mockUnbindService()
257 latch.countDown(); in mockKeySettings()
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DE2ePerformanceTest.java116 OnSensorChangedListener listener = e -> eventsCounters.get(e.sensorType).countDown(); in benchmarkEventBandwidthThroughCarService()
244 counter.countDown(); in invokeSetAndGetForHvacFloat()
280 OnSensorChangedListener listener = event -> latch.countDown(); in verifyEventsFromSingleProperty()
/packages/apps/Dialer/java/com/android/incallui/ringtone/
DInCallTonePlayer.java128 numPlayingTones.countDown(); in playOnBackgroundThread()
138 numPlayingTones.countDown(); in stop()
/packages/apps/TV/tests/robotests/src/com/android/tv/data/
DProgramDataManagerTest.java289 programUpdatedLatch.countDown(); in onProgramUpdated()
294 channelUpdatedLatch.countDown(); in onChannelUpdated()
313 currentProgramUpdatedLatch.countDown(); in onCurrentProgramUpdated()

12345