/frameworks/base/media/tests/MediaRouter/src/com/android/mediaroutertest/ |
D | MediaRouter2ManagerTest.java | 152 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/ |
D | TaskStackChangedListenerTest.java | 157 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 …]
|
D | PersisterQueueTests.java | 328 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()
|
D | AssistDataRequesterTest.java | 197 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/ |
D | KernelCpuUidBpfMapReaderTest.java | 126 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()
|
D | KernelCpuProcStringReaderTest.java | 262 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/ |
D | ImagePoolImplTest.java | 57 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/ |
D | FadeTransitionTest.java | 153 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()
|
D | SlideTransitionTest.java | 115 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/ |
D | PhysicsAnimatorTestUtils.kt | 71 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/ |
D | GamePerformanceActivity.java | 66 latch.countDown(); in attachSurfaceView() 86 latch.countDown(); in attachOpenGLView() 105 latch.countDown(); in attachControlView()
|
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
D | AdbRestoreFinishedLatch.java | 74 mLatch.countDown(); in operationComplete() 83 mLatch.countDown(); in handleCancel()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/infra/ |
D | AndroidFutureTest.java | 57 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/ |
D | BluetoothEventManagerIntegTest.java | 99 (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/ |
D | AbstractCrossUserContentResolverTest.java | 89 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/ |
D | RecoverySnapshotListenersStorageTest.java | 63 latch.countDown(); in setSnapshotListener_invokesIntentImmediatelyIfPreviouslyNotified() 83 latch.countDown(); in setSnapshotListener_doesNotRepeatedlyInvokeListener()
|
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/ |
D | UserLifecycleTests.java | 312 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/ |
D | VoiceInteractionManagerServiceShellCommand.java | 92 latch.countDown(); in requestShow() 99 latch.countDown(); in requestShow()
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
D | CancellationGroup.java | 112 mLatch.countDown(); in onComplete() 331 mLatchList.forEach(CountDownLatch::countDown); in cancelAll()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/ |
D | WifiTrackerTest.java | 208 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/ |
D | CountDownResultReceiver.java | 34 mCountDownLatch.countDown(); in onReceiveResult()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | CastControllerImplTest.java | 116 threadsDone.countDown(); in testAddCallbackRemoveCallback_concurrently() 121 startThreadsLatch.countDown(); in testAddCallbackRemoveCallback_concurrently()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/ |
D | EuiccController.java | 773 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/ |
D | PhysicsAnimationLayoutTestCase.java | 119 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/ |
D | TestVrActivity.java | 40 mLatch.countDown(); in onStart()
|