Home
last modified time | relevance | path

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

1234567

/frameworks/base/media/tests/MediaRouter/src/com/android/mediaroutertest/
DMediaRouter2ManagerTest.java152 removedLatch.countDown(); in testOnRoutesRemovedAndAdded()
165 addedLatch.countDown(); in testOnRoutesRemovedAndAdded()
196 addedLatch.countDown(); in testGetRoutes_removedRoute_returnsCorrectRoutes()
201 removedLatch.countDown(); in testGetRoutes_removedRoute_returnsCorrectRoutes()
268 latch.countDown(); in testRouterOnSessionCreated()
295 latch.countDown(); in testGetRoutingSessions()
328 onSessionCreatedLatch.countDown(); in testTransfer_unknownRoute_fail()
332 onTransferFailedLatch.countDown(); in testTransfer_unknownRoute_fail()
362 transferLatch.countDown(); in testRouterRelease_managerGetRoutingSessions()
367 releaseLatch.countDown(); in testRouterRelease_managerGetRoutingSessions()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskStackChangedListenerTest.java157 latch.countDown(); in testTaskDescriptionChanged()
182 latch.countDown(); in testActivityRequestedOrientationChanged()
212 taskCreatedLaunchLatch.countDown(); in testTaskChangeCallBacks()
218 taskMovedToFrontLatch.countDown(); in testTaskChangeCallBacks()
224 taskRemovalStartedLatch.countDown(); in testTaskChangeCallBacks()
230 taskRemovedLatch.countDown(); in testTaskChangeCallBacks()
277 singleTaskDisplayDrawnLatch.countDown(); in testTaskOnSingleTaskDisplayDrawn()
286 activityViewReadyLatch.countDown(); in testTaskOnSingleTaskDisplayDrawn()
328 singleTaskDisplayDrawnLatch.countDown(); in testSingleTaskDisplayEmpty()
333 singleTaskDisplayEmptyLatch.countDown(); in testSingleTaskDisplayEmpty()
[all …]
DPersisterQueueTests.java328 void setExpectedProcessedItemNumber(int countDown) { in setExpectedProcessedItemNumber() argument
329 mLatch = new CountDownLatch(countDown); in setExpectedProcessedItemNumber()
362 mLatch.countDown(); in process()
405 mCallbackLatch.countDown(); in onPreProcessItem()
408 void setExpectedOnPreProcessItemCallbackTimes(int countDown) { in setExpectedOnPreProcessItemCallbackTimes() argument
409 mCallbackLatch = new CountDownLatch(countDown); in setExpectedOnPreProcessItemCallbackTimes()
DAssistDataRequesterTest.java197 mGate.countDown(); in testProcessPendingData()
210 mGate.countDown(); in testProcessPendingData()
288 mGate.countDown(); in testCanNotHandleReceivedData_expectNoCallbacks()
313 mGate.countDown(); in assertReceivedDataCount()
337 h.post(() -> latch.countDown()); in waitForIdle()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelCpuUidBpfMapReaderTest.java126 ready.countDown(); in testConcurrent()
133 done.countDown(); in testConcurrent()
137 ready.countDown(); in testConcurrent()
146 done.countDown(); in testConcurrent()
152 start.countDown(); in testConcurrent()
156 modify.countDown(); in testConcurrent()
DKernelCpuProcStringReaderTest.java262 ready.countDown(); in testConcurrent()
273 done.countDown(); in testConcurrent()
277 ready.countDown(); in testConcurrent()
290 done.countDown(); in testConcurrent()
296 start.countDown(); in testConcurrent()
305 modify.countDown(); in testConcurrent()
/frameworks/layoutlib/bridge/tests/src/android/util/imagepool/
DImagePoolImplTest.java57 bufferedImage -> countDownLatch.countDown()); in testImageDispose()
100 bufferedImage -> countDownLatch1.countDown()); in testImageDisposedAndRecycled()
118 bufferedImage -> countDownLatch2.countDown()); in testImageDisposedAndRecycled()
145 bufferedImage -> countDownLatch.countDown()); in testBufferedImageReleased()
207 Image img1 = pool.acquire(width, height, type, bufferedImage -> cd1.countDown()); in testImageMultipleCopies()
244 Image img1 = pool.acquire(width, height, type, bufferedImage -> cd1.countDown()); in testPoolDispose()
273 Image img1 = pool.acquire(width, height, type, bufferedImage -> cd.countDown()); in createImageAndReturnBufferedImage()
/frameworks/base/core/tests/coretests/src/android/transition/
DFadeTransitionTest.java153 disappearCalled.countDown(); in testSnapshotView()
196 latch.countDown(); in waitForAnimation()
214 startLatch.countDown(); in onTransitionStart()
219 endLatch.countDown(); in onTransitionEnd()
225 cancelLatch.countDown(); in onTransitionCancel()
230 pauseLatch.countDown(); in onTransitionPause()
235 resumeLatch.countDown(); in onTransitionResume()
DSlideTransitionTest.java115 startLatch.countDown(); in onTransitionStart()
120 endLatch.countDown(); in onTransitionEnd()
126 cancelLatch.countDown(); in onTransitionCancel()
131 pauseLatch.countDown(); in onTransitionPause()
136 resumeLatch.countDown(); in onTransitionResume()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/animation/
DPhysicsAnimatorTestUtils.kt71 latch.countDown() in <lambda>()
130 latch.countDown() in <lambda>()
181 latch.countDown() in <lambda>()
438 unblockLatch.countDown() in <lambda>()
447 unblockLatch.countDown() in <lambda>()
467 unblockLatch.countDown() in <lambda>()
/frameworks/base/tests/GamePerformance/src/android/gameperformance/
DGamePerformanceActivity.java66 latch.countDown(); in attachSurfaceView()
86 latch.countDown(); in attachOpenGLView()
105 latch.countDown(); in attachControlView()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DAdbRestoreFinishedLatch.java74 mLatch.countDown(); in operationComplete()
83 mLatch.countDown(); in handleCancel()
/frameworks/base/core/tests/coretests/src/com/android/internal/infra/
DAndroidFutureTest.java57 latch.countDown(); in testWhenComplete_AlreadyComplete()
69 latch.countDown(); in testWhenComplete_NotYetComplete()
96 latch.countDown(); in testCompleteExceptionally_Listener()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/bluetooth/
DBluetoothEventManagerIntegTest.java99 (context, intent, device) -> broadcastLatch.countDown()); in registerAdapterReceiver_ifIntentFromAnotherUser_broadcastIsReceived()
121 (context, intent, device) -> broadcastLatch.countDown()); in registerProfileReceiver_ifIntentFromAnotherUser_broadcastIsReceived()
/frameworks/base/core/tests/coretests/src/android/content/
DAbstractCrossUserContentResolverTest.java89 latch.countDown(); in unlockUser()
173 mLatch.countDown(); in onServiceConnected()
200 mLatch.countDown(); in onChange()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DRecoverySnapshotListenersStorageTest.java63 latch.countDown(); in setSnapshotListener_invokesIntentImmediatelyIfPreviouslyNotified()
83 latch.countDown(); in setSnapshotListener_doesNotRepeatedlyInvokeListener()
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DUserLifecycleTests.java312 latch.countDown(); in ephemeralUserStopped()
601 latch.countDown(); in stopUser()
650 latch.countDown(); in installPreexistingApp()
687 switchLatch.countDown(); in registerUserSwitchObserver()
694 bootCompleteLatch.countDown(); in registerUserSwitchObserver()
707 latch.countDown(); in registerBroadcastReceiver()
724 mFinishedLatch.countDown(); in onFinished()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerServiceShellCommand.java92 latch.countDown(); in requestShow()
99 latch.countDown(); in requestShow()
/frameworks/base/core/java/com/android/internal/inputmethod/
DCancellationGroup.java112 mLatch.countDown(); in onComplete()
331 mLatchList.forEach(CountDownLatch::countDown); in cancelAll()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DWifiTrackerTest.java208 mRequestScoresLatch.countDown(); in setUp()
222 mAccessPointsChangedLatch.countDown(); in setUp()
373 latch.countDown(); in startTracking()
436 tracker.mWorkHandler.post(() -> workerLatch.countDown()); in waitForHandlersToProcessCurrentlyEnqueuedMessages()
476 latch.countDown(); in startAndStopTrackingShouldRegisterAndUnregisterScoreCache()
829 ready.countDown(); in stopTrackingShouldRemoveAllPendingWork()
831 latch.countDown(); in stopTrackingShouldRemoveAllPendingWork()
846 lock.countDown(); in stopTrackingShouldRemoveAllPendingWork()
865 ready.countDown(); in stopTrackingShouldPreventCallbacksFromOngoingWork()
871 latch.countDown(); in stopTrackingShouldPreventCallbacksFromOngoingWork()
[all …]
/frameworks/base/tests/ActivityManagerPerfTests/utils/src/com/android/frameworks/perftests/am/util/
DCountDownResultReceiver.java34 mCountDownLatch.countDown(); in onReceiveResult()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DCastControllerImplTest.java116 threadsDone.countDown(); in testAddCallbackRemoveCallback_concurrently()
121 startThreadsLatch.countDown(); in testAddCallbackRemoveCallback_concurrently()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccController.java773 latch.countDown(); in blockingGetEuiccProfileInfoList()
778 latch.countDown(); in blockingGetEuiccProfileInfoList()
1308 countDownLatch.countDown(); in dump()
1314 countDownLatch.countDown(); in dump()
1365 latch.countDown(); in blockingGetEidFromEuiccService()
1370 latch.countDown(); in blockingGetEidFromEuiccService()
1384 latch.countDown(); in blockingGetOtaStatusFromEuiccService()
1389 latch.countDown(); in blockingGetOtaStatusFromEuiccService()
1403 latch.countDown(); in blockingGetEuiccInfoFromEuiccService()
1408 latch.countDown(); in blockingGetEuiccInfoFromEuiccService()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/animation/
DPhysicsAnimationLayoutTestCase.java119 mLayout.setTestEndActionForProperty(animLatch::countDown, property); in waitForPropertyAnimations()
128 mMainThreadHandler.post(layoutLatch::countDown); in waitForLayoutMessageQueue()
315 latch.countDown(); in runOnMainThreadAndBlock()
/frameworks/base/core/tests/coretests/src/android/os/
DTestVrActivity.java40 mLatch.countDown(); in onStart()

1234567