Home
last modified time | relevance | path

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

12345678910>>...18

/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/HealthConnectTestHelper/src/android/healthconnect/cts/testhelper/
DHealthConnectServiceLogsTests.java175 latch.countDown(); in testHealthConnectReadRecords()
180 latch.countDown(); in testHealthConnectReadRecords()
202 latch.countDown(); in testHealthConnectReadRecordsError()
207 latch.countDown(); in testHealthConnectReadRecordsError()
231 latch.countDown(); in testHealthConnectGetChangeLogTokenError()
237 latch.countDown(); in testHealthConnectGetChangeLogTokenError()
267 latch.countDown(); in testHealthConnectGetChangeLogs()
272 latch.countDown(); in testHealthConnectGetChangeLogs()
290 latch.countDown(); in testHealthConnectGetChangeLogsError()
295 latch.countDown(); in testHealthConnectGetChangeLogsError()
[all …]
DTestHelperUtils.java128 latch.countDown(); in insertRecords()
133 latch.countDown(); in insertRecords()
165 latch.countDown(); in deleteRecords()
170 latch.countDown(); in deleteRecords()
190 latch.countDown(); in queryAccessLogs()
195 latch.countDown(); in queryAccessLogs()
/packages/modules/AdServices/adservices/tests/cts/endtoends/measurement/src/com/android/adservices/tests/cts/measurement/
DMeasurementManagerCtsTest.java132 (OutcomeReceiver<Object, Exception>) result -> countDownLatch.countDown()); in testRegisterSource_withNoServerSetupWithCallbackOsReceiver_noErrors()
145 result -> countDownLatch.countDown()); in testRegisterSource_withNoServerSetupWithCallbackCustomReceiver_noErrors()
164 countDownLatch.countDown(); in testRegisterSource_withLocalhostUriNonDebuggableCallerWithOsReceiver_fails()
189 countDownLatch.countDown(); in testRegisterSource_withLocalhostUriNonDebuggableCallerWithCustomReceiver_fails()
267 OutcomeReceiver<Object, Exception> callback = result -> countDownLatch.countDown();
281 result -> countDownLatch.countDown());
357 (OutcomeReceiver<Object, Exception>) result -> countDownLatch.countDown());
369 result -> countDownLatch.countDown());
457 (OutcomeReceiver<Object, Exception>) result -> countDownLatch.countDown());
482 result -> countDownLatch.countDown());
[all …]
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/ipmemorystore/
DIpMemoryStoreServiceTest.java384 latch.countDown();
400 latch.countDown();
471 latch.countDown();
492 latch.countDown();
503 latch.countDown();
521 latch.countDown();
530 latch.countDown();
538 latch.countDown();
549 latch.countDown();
567 latch.countDown();
[all …]
/packages/modules/OnDevicePersonalization/tests/systemserviceapitests/src/com/android/ondevicepersonalization/systemserviceapitests/
DOdpSystemServiceApiTest.java64 mLatch.countDown(); in testInvokeSystemServerServiceSucceedsOnU()
69 mLatch.countDown(); in testInvokeSystemServerServiceSucceedsOnU()
78 mLatch.countDown(); in testInvokeSystemServerServiceSucceedsOnU()
82 mLatch.countDown(); in testInvokeSystemServerServiceSucceedsOnU()
90 mLatch.countDown(); in testInvokeSystemServerServiceSucceedsOnU()
94 mLatch.countDown(); in testInvokeSystemServerServiceSucceedsOnU()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DAdSelectionE2ETest.java908 runAdSelectionProcessLoggerLatch.countDown(); in testRunAdSelectionSuccess_preV3BiddingLogic()
915 runAdSelectionProcessLoggerLatch.countDown(); in testRunAdSelectionSuccess_preV3BiddingLogic()
922 runAdSelectionProcessLoggerLatch.countDown(); in testRunAdSelectionSuccess_preV3BiddingLogic()
1028 runAdSelectionProcessLoggerLatch.countDown(); in testRunAdSelectionSuccess_preV3BiddingLogicWithAdCostCpcBillingEnabled()
1035 runAdSelectionProcessLoggerLatch.countDown(); in testRunAdSelectionSuccess_preV3BiddingLogicWithAdCostCpcBillingEnabled()
1042 runAdSelectionProcessLoggerLatch.countDown(); in testRunAdSelectionSuccess_preV3BiddingLogicWithAdCostCpcBillingEnabled()
1160 runAdSelectionProcessLoggerLatch.countDown(); in testRunAdSelectionSuccess_preV3BiddingLogicWithDataVersionHeaderFlagEnabled()
1167 runAdSelectionProcessLoggerLatch.countDown(); in testRunAdSelectionSuccess_preV3BiddingLogicWithDataVersionHeaderFlagEnabled()
1174 runAdSelectionProcessLoggerLatch.countDown(); in testRunAdSelectionSuccess_preV3BiddingLogicWithDataVersionHeaderFlagEnabled()
1311 runAdSelectionProcessLoggerLatch.countDown(); in testRunAdSelectionSuccess_preV3BiddingLogicWithDataVersionHeaderFlagDisabled()
[all …]
DAdSelectionScriptEngineTest.java338 loggerLatch.countDown(); in testGenerateBidSuccessfulCase()
383 loggerLatch.countDown(); in testGenerateBidWithAdCostSuccessfulCaseCpcBillingEnabled()
432 loggerLatch.countDown(); in testGenerateBidWithAdCostDoesNotAddAdCostCpcBillingDisabled()
481 loggerLatch.countDown(); in testGenerateBidWithOnlyOneAdCostSuccessfulCase()
534 loggerLatch.countDown(); in testGenerateBidWithCopierSuccessfulCase()
579 loggerLatch.countDown(); in testGenerateBidWithCopierWithAdCounterKeysSuccessfulCase()
616 loggerLatch.countDown(); in testGenerateBidV3SuccessfulCase()
677 loggerLatch.countDown(); in testGenerateBidV3WithCopierSuccessfulCase()
738 loggerLatch.countDown(); in testGenerateBidV3WithCopierWithAdCounterKeysSuccessfulCase()
819 loggerLatch.countDown(); in testGenerateBidBackwardCompatCaseSuccess()
[all …]
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/
DNotificationPermissionTest.kt66 private var countDown: CountDownLatch = CountDownLatch(1) variable in android.permissionui.cts.NotificationPermissionTest
76 countDown.countDown() in onReceive()
88 countDown = CountDownLatch(1) in setLatchAndEnablePermission()
290 countDown.await() in mergeAppPermissionRequestIntoNotificationAndVerifyResult()
293 countDown = CountDownLatch(1) in mergeAppPermissionRequestIntoNotificationAndVerifyResult()
299 countDown.await() in mergeAppPermissionRequestIntoNotificationAndVerifyResult()
313 countDown.await() in mergeNotificationRequestIntoAppPermissionRequestAndVerifyResult()
316 countDown = CountDownLatch(1) in mergeNotificationRequestIntoAppPermissionRequestAndVerifyResult()
322 countDown.await() in mergeNotificationRequestIntoAppPermissionRequestAndVerifyResult()
/packages/modules/AdServices/adservices/tests/endtoends/src/com/android/adservices/measurement/
DMeasurementCompatibleManagerTest.java132 countDownLatch.countDown(); in testRegisterSource_callingApp_expectedAttributionSource()
175 countDownLatch.countDown(); in testRegisterSource_adIdEnabled_register()
214 countDownLatch.countDown(); in testRegisterSource_adIdZeroOut_register()
252 countDownLatch.countDown(); in testRegisterSource_adIdDisabled_register()
291 countDownLatch.countDown(); in testRegisterSource_adIdTimeOut_register()
369 countDownLatch.countDown(); in testRegisterSource_callingSdk_expectedAttributionSource()
397 anyCountDownLatch.countDown(); in testRegisterSource_executorAndCallbackCalled()
402 anyCountDownLatch.countDown(); in testRegisterSource_executorAndCallbackCalled()
435 countDownLatch.countDown(); in testRegisterWebSource_callingApp_expectedAttributionSource()
462 countDownLatch.countDown(); in testRegisterWebSource_callingSdk_expectedAttributionSource()
[all …]
DMeasurementManagerTest.java95 anyCountDownLatch.countDown(); in testRegisterSource_executorAndCallbackCalled()
100 anyCountDownLatch.countDown(); in testRegisterSource_executorAndCallbackCalled()
119 anyCountDownLatch.countDown(); in testRegisterSource_executorAndCallbackCalled_customReceiver()
124 anyCountDownLatch.countDown(); in testRegisterSource_executorAndCallbackCalled_customReceiver()
159 anyCountDownLatch.countDown(); in testRegisterWebSource_executorAndCallbackCalled()
164 anyCountDownLatch.countDown(); in testRegisterWebSource_executorAndCallbackCalled()
182 anyCountDownLatch.countDown(); in testRegisterWebSource_executorAndCallbackCalled_customReceiver()
187 anyCountDownLatch.countDown(); in testRegisterWebSource_executorAndCallbackCalled_customReceiver()
218 anyCountDownLatch.countDown(); in testRegisterWebTrigger_executorAndCallbackCalled()
223 anyCountDownLatch.countDown(); in testRegisterWebTrigger_executorAndCallbackCalled()
[all …]
/packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/
DOnDevicePersonalizationConfigManager.java115 latch.countDown(); in setPersonalizationEnabled()
131 latch.countDown(); in setPersonalizationEnabled()
139 latch.countDown(); in setPersonalizationEnabled()
144 latch.countDown(); in setPersonalizationEnabled()
148 latch.countDown(); in setPersonalizationEnabled()
DFederatedComputeScheduler.java87 latch.countDown(); in schedule()
93 latch.countDown(); in schedule()
141 latch.countDown(); in cancel()
147 latch.countDown(); in cancel()
/packages/services/Car/libs/car-test-lib/src/android/car/test/util/
DCarAudioManagerTestUtils.java62 mGroupVolumeChangeLatch.countDown(); in onGroupVolumeChanged()
68 mMasterMuteChangeLatch.countDown(); in onMasterMuteChanged()
76 mGroupMuteChangeLatch.countDown(); in onGroupMuteChanged()
94 mVolumeGroupEventLatch.countDown(); in onVolumeGroupEvent()
/packages/services/Car/packages/ScriptExecutor/tests/nonsystemuser/src/com/android/car/scriptexecutortest/nonsystemuser/
DScriptExecutorNonSystemUserTest.java61 mResponseLatch.countDown(); in onScriptFinished()
67 mResponseLatch.countDown(); in onSuccess()
75 mResponseLatch.countDown(); in onError()
82 mResponseLatch.countDown(); in onMetricsReport()
105 mBindLatch.countDown();
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DSingletonRunnerTest.java64 testTaskRunner.mTestHasDecidedToStop.countDown(); in testShouldReturnDifferentFuturesIfTaskIsCompleted()
78 testTaskRunner.mTestHasDecidedToStop.countDown(); in testShouldRunOnce()
95 testTaskRunner.mTestHasDecidedToStop.countDown(); in testShouldRunOnceMultipleStartStops()
109 testTaskRunner.mTestHasDecidedToStop.countDown(); in testShouldRunAgain()
148 testHasDecidedToStop.countDown(); in testShouldStopTask()
/packages/modules/Uwb/tests/cts/tests/src/android/uwb/cts/
DUwbManagerTest.java440 mCountDownLatch.countDown(); in onProfileAdfsProvisioned()
446 mCountDownLatch.countDown(); in onProfileAdfsProvisionFailed()
502 mRspCountDownLatch.countDown(); in onVendorUciResponse()
510 mNtfCountDownLatch.countDown(); in onVendorUciNotification()
636 mCtrlCountDownLatch.countDown(); in onOpened()
641 mCtrlCountDownLatch.countDown(); in onOpenFailed()
646 mCtrlCountDownLatch.countDown(); in onStarted()
651 mCtrlCountDownLatch.countDown(); in onStartFailed()
656 mCtrlCountDownLatch.countDown(); in onReconfigured()
661 mCtrlCountDownLatch.countDown(); in onReconfigureFailed()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pShellCommand.java65 countDownLatch.countDown(); in handleCommand()
70 countDownLatch.countDown(); in handleCommand()
148 countDownLatch.countDown(); in handleCommand()
193 countDownLatch.countDown(); in handleCommand()
204 countDownLatch.countDown(); in handleCommand()
225 countDownLatch.countDown(); in handleCommand()
246 countDownLatch.countDown(); in handleCommand()
265 countDownLatch.countDown(); in handleCommand()
276 countDownLatch.countDown(); in handleCommand()
287 countDownLatch.countDown(); in handleCommand()
[all …]
/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/
DTransportSipMessageValidatorTest.java205 l.countDown(); in testTransportClosingGracefullyNoPendingSessions()
227 l.countDown(); in testTransportClosingGracefullyCloseCallIds()
257 l.countDown(); in testTransportClosingGracefullyThenForceClose()
286 l.countDown(); in testTransportClosingGracefullyTimeout()
314 l.countDown(); in testTransportClosingGracefullyCleanup()
355 l.countDown(); in setRegStateChangedNoPendingCallIds()
375 l.countDown(); in setRegStateChangedPendingCallIdsMultipleCalls()
381 l.countDown(); in setRegStateChangedPendingCallIdsMultipleCalls()
404 l.countDown(); in setRegStateChangedPendingCallIdsTimeout()
427 l.countDown(); in setRegStateChangedPendingCallIdsResolved()
[all …]
/packages/modules/Wifi/tests/hostsidetests/multidevices/com.google.snippet.wifi/aware/
DCallbackUtils.java74 mBlocker.countDown(); in onAttached()
80 mBlocker.countDown(); in onAttachFailed()
114 mBlocker.countDown(); in onIdentityChanged()
143 mBlocker.countDown(); in onUnavailable()
151 mBlocker.countDown(); in onCapabilitiesChanged()
230 mBlocker.countDown(); in processCallback()
499 mBlocker.countDown(); in onRangingFailure()
506 mBlocker.countDown(); in onRangingResults()
/packages/modules/OnDevicePersonalization/samples/odpclient/src/main/java/com/example/odpclient/
DMainActivity.java149 latch.countDown(); in makeRequest()
156 latch.countDown(); in makeRequest()
240 latch.countDown(); in scheduleTraining()
248 latch.countDown(); in scheduleTraining()
287 latch.countDown(); in cancelTraining()
295 latch.countDown(); in cancelTraining()
328 latch.countDown(); in reportConversion()
336 latch.countDown(); in reportConversion()
/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/services/Car/tests/carservice_unit_test/src/com/android/car/oem/
DCarOemProxyServiceHelperTest.java142 CallbackForDelayedResult<String> callback = (result) -> latch.countDown(); in testDoBinderCallWithDefaultValueAndDelayedWaitAndCrash()
174 latch.countDown(); in testCircularCallSingleCaller()
202 latchForReleasing.countDown(); in testCircularCallSingleCaller()
215 latch.countDown(); in testCircularCallMultipleCaller()
245 latchForReleasing.countDown(); in testCircularCallMultipleCaller()
/packages/apps/Settings/tests/legacy_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/providers/MediaProvider/tests/src/com/android/providers/media/mediacognitionservices/
DMediaCognitionServiceTest.java85 mServiceLatch.countDown();
177 mLatch.countDown(); in onProcessMediaSuccess()
183 mLatch.countDown(); in onProcessMediaFailure()
206 mLatch.countDown(); in onGetProcessingVersionsSuccess()
212 mLatch.countDown(); in onGetProcessingVersionsFailure()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/e2eui/
DProvisioningResultListener.java55 mLatch.countDown(); in onReceive()
59 mLatch.countDown(); in onReceive()
90 mLatch.countDown(); in setPreprovisioningActivityResult()

12345678910>>...18