Home
last modified time | relevance | path

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

1234567

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskStackChangedListenerTest.java128 latch.countDown(); in testTaskDescriptionChanged()
153 latch.countDown(); in testActivityRequestedOrientationChanged()
184 taskCreatedLaunchLatch.countDown(); in testTaskChangeCallBacks()
190 taskMovedToFrontLatch.countDown(); in testTaskChangeCallBacks()
196 taskRemovalStartedLatch.countDown(); in testTaskChangeCallBacks()
202 taskRemovedLatch.countDown(); in testTaskChangeCallBacks()
249 singleTaskDisplayDrawnLatch.countDown(); in testTaskOnSingleTaskDisplayDrawn()
258 activityViewReadyLatch.countDown(); in testTaskOnSingleTaskDisplayDrawn()
286 singleTaskDisplayDrawnLatch.countDown(); in testSingleTaskDisplayEmpty()
291 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.java194 mGate.countDown(); in testProcessPendingData()
207 mGate.countDown(); in testProcessPendingData()
285 mGate.countDown(); in testCanNotHandleReceivedData_expectNoCallbacks()
310 mGate.countDown(); in assertReceivedDataCount()
334 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/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/layoutlib/bridge/tests/src/android/util/imagepool/
DImagePoolImplTest.java56 bufferedImage -> countDownLatch.countDown()); in testImageDispose()
99 bufferedImage -> countDownLatch1.countDown()); in testImageDisposedAndRecycled()
117 bufferedImage -> countDownLatch2.countDown()); in testImageDisposedAndRecycled()
144 bufferedImage -> countDownLatch.countDown()); in testBufferedImageReleased()
206 Image img1 = pool.acquire(width, height, type, bufferedImage -> cd1.countDown()); in testImageMultipleCopies()
242 Image img1 = pool.acquire(width, height, type, bufferedImage -> cd1.countDown()); in testPoolDispose()
271 Image img1 = pool.acquire(width, height, type, bufferedImage -> cd.countDown()); in createImageAndReturnBufferedImage()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DAdbRestoreFinishedLatch.java74 mLatch.countDown(); in operationComplete()
83 mLatch.countDown(); in handleCancel()
/frameworks/base/tests/GamePerformance/src/android/gameperformance/
DGamePerformanceActivity.java51 latch.countDown(); in attachSurfaceView()
74 latch.countDown(); in attachOpenGLView()
/frameworks/base/core/tests/coretests/src/android/content/
DAbstractCrossUserContentResolverTest.java88 latch.countDown(); in unlockUser()
172 mLatch.countDown(); in onServiceConnected()
199 mLatch.countDown(); in onChange()
/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/apct-tests/perftests/multiuser/src/android/multiuser/
DUserLifecycleTests.java275 latch.countDown(); in ephemeralUserStopped()
325 latch.countDown(); in stopUser()
371 switchLatch.countDown(); in registerUserSwitchObserver()
378 bootCompleteLatch.countDown(); in registerUserSwitchObserver()
391 latch.countDown(); in registerBroadcastReceiver()
/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/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationContentInflaterTest.java184 countDownLatch.countDown(); in testInflationIsRetriedIfAsyncFails()
191 countDownLatch.countDown(); in testInflationIsRetriedIfAsyncFails()
266 countDownLatch.countDown(); in runThenWaitForInflation()
276 countDownLatch.countDown(); in runThenWaitForInflation()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DRootScanner.java179 mFirstScanCompleted.countDown(); in run()
197 mStopped.countDown(); in stop()
/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()
830 ready.countDown(); in stopTrackingShouldRemoveAllPendingWork()
832 latch.countDown(); in stopTrackingShouldRemoveAllPendingWork()
847 lock.countDown(); in stopTrackingShouldRemoveAllPendingWork()
866 ready.countDown(); in stopTrackingShouldPreventCallbacksFromOngoingWork()
872 latch.countDown(); in stopTrackingShouldPreventCallbacksFromOngoingWork()
[all …]
/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/
DPacketReaderTest.java107 mLatch.countDown(); in handlePacket()
113 mLatch.countDown(); in onStart()
119 mLatch.countDown(); in onStop()
/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.java772 latch.countDown(); in blockingGetEuiccProfileInfoList()
777 latch.countDown(); in blockingGetEuiccProfileInfoList()
1307 countDownLatch.countDown(); in dump()
1313 countDownLatch.countDown(); in dump()
1364 latch.countDown(); in blockingGetEidFromEuiccService()
1369 latch.countDown(); in blockingGetEidFromEuiccService()
1383 latch.countDown(); in blockingGetOtaStatusFromEuiccService()
1388 latch.countDown(); in blockingGetOtaStatusFromEuiccService()
1402 latch.countDown(); in blockingGetEuiccInfoFromEuiccService()
1407 latch.countDown(); in blockingGetEuiccInfoFromEuiccService()
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DPerformFullTransportBackupTask.java648 mLatch.countDown(); in run()
767 mLatch.countDown(); in operationComplete()
777 mLatch.countDown(); in handleCancel()
851 mPreflightLatch.countDown(); in run()
863 mBackupLatch.countDown(); in run()
933 mPreflightLatch.countDown(); in handleCancel()
934 mBackupLatch.countDown(); in handleCancel()
/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()
DPhysicsAnimationLayoutTest.java124 .start(animLatch::countDown); in testUpdateValueNotChained()
150 xLatch.countDown(); in testSetEndActions()
159 yLatch.countDown(); in testSetEndActions()
194 xLatch.countDown(); in testRemoveEndListeners()
/frameworks/base/tests/ActivityManagerPerfTests/utils/src/com/android/frameworks/perftests/am/util/
DCountDownResultReceiver.java34 mCountDownLatch.countDown(); in onReceiveResult()
/frameworks/base/core/tests/coretests/src/android/os/
DBinderProxyCountingTest.java131 bindLatch.countDown(); in bindService()
178 latch.countDown(); in createBinderLimitLatch()
358 binderDeathLatch.countDown(); in testKillBadBehavingApp()

1234567