Home
last modified time | relevance | path

Searched defs:countDownLatch (Results 1 – 25 of 50) sorted by relevance

12

/packages/modules/AdServices/adservices/tests/cts/endtoends/measurement/src/com/android/adservices/tests/cts/measurement/
DMeasurementManagerCtsTest.java127 CountDownLatch countDownLatch = new CountDownLatch(1); in testRegisterSource_withNoServerSetupWithCallbackOsReceiver_noErrors() local
139 CountDownLatch countDownLatch = new CountDownLatch(1); in testRegisterSource_withNoServerSetupWithCallbackCustomReceiver_noErrors() local
154 CountDownLatch countDownLatch = new CountDownLatch(1); in testRegisterSource_withLocalhostUriNonDebuggableCallerWithOsReceiver_fails() local
179 CountDownLatch countDownLatch = new CountDownLatch(1); in testRegisterSource_withLocalhostUriNonDebuggableCallerWithCustomReceiver_fails() local
820 CountDownLatch countDownLatch = new CountDownLatch(1); in testDeleteRegistrations_withUrisWithRangeWithCallbackCustomReceiver_noErrors() local
976 CountDownLatch countDownLatch = new CountDownLatch(1); in callMeasurementApiStatus() local
1030 CountDownLatch countDownLatch = new CountDownLatch(1); in registerSourceAndVerifyRateLimitReached() local
1064 CountDownLatch countDownLatch = new CountDownLatch(1); in registerWebSourceAndVerifyRateLimitReached() local
1111 CountDownLatch countDownLatch = new CountDownLatch(1); in registerTriggerAndVerifyRateLimitReached() local
1144 CountDownLatch countDownLatch = new CountDownLatch(1); in registerWebTriggerAndVerifyRateLimitReached() local
[all …]
/packages/modules/AdServices/adservices/tests/endtoends/src/com/android/adservices/measurement/
DMeasurementCompatibleManagerTest.java129 CountDownLatch countDownLatch = new CountDownLatch(1); in testRegisterSource_callingApp_expectedAttributionSource() local
172 CountDownLatch countDownLatch = new CountDownLatch(1); in testRegisterSource_adIdEnabled_register() local
211 CountDownLatch countDownLatch = new CountDownLatch(1); in testRegisterSource_adIdZeroOut_register() local
249 CountDownLatch countDownLatch = new CountDownLatch(1); in testRegisterSource_adIdDisabled_register() local
288 CountDownLatch countDownLatch = new CountDownLatch(1); in testRegisterSource_adIdTimeOut_register() local
366 CountDownLatch countDownLatch = new CountDownLatch(1); in testRegisterSource_callingSdk_expectedAttributionSource() local
432 CountDownLatch countDownLatch = new CountDownLatch(1); in testRegisterWebSource_callingApp_expectedAttributionSource() local
459 CountDownLatch countDownLatch = new CountDownLatch(1); in testRegisterWebSource_callingSdk_expectedAttributionSource() local
510 CountDownLatch countDownLatch = new CountDownLatch(1); in testRegisterWebSource_adIdEnabled_register() local
548 CountDownLatch countDownLatch = new CountDownLatch(1); in testRegisterWebSource_adIdZeroOut_register() local
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/attribution/
DAttributionFallbackJobServiceTest.java464 CountDownLatch countDownLatch = new CountDownLatch(1); in onStartJob_featureDisabled() local
489 CountDownLatch countDownLatch = new CountDownLatch(1); in onStartJob_featureEnabled() local
526 CountDownLatch countDownLatch = new CountDownLatch(1); in onStartJob_shouldDisableJobTrue() local
598 final CountDownLatch countDownLatch = new CountDownLatch(1); in createCountDownLatch() local
603 private Object countDown(CountDownLatch countDownLatch) { in countDown()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/kanon/
DKAnonCallerImplTest.java292 CountDownLatch countDownLatch = new CountDownLatch(1); in test_signSuccessfulButJoinUnsuccessful_shouldUpdateKAnonMessageStatusToSignedDB() local
324 CountDownLatch countDownLatch = new CountDownLatch(1); in test_signUnsuccessfulVerifyTokenFails_shouldUpdateKAnonMessageStatusToFailedInDB() local
348 CountDownLatch countDownLatch = new CountDownLatch(1); in signUnsuccessfulCannotRecoverTokens_shouldUpdateKAnonMessageStatusToFailedInDB() local
372 CountDownLatch countDownLatch = new CountDownLatch(1); in actGenerateClientParamsFails_shouldNotUpdateKAnonMessageStatusInDB() local
397 CountDownLatch countDownLatch = new CountDownLatch(1); in registerClientUnsuccessful_httpCallFails_shouldNotUpdateKAnonMessageStatusInDB() local
588 CountDownLatch countDownLatch = new CountDownLatch(1); in registerClientUnsuccessful_shouldCaptureKAnonImmediateSignJoinStats() local
639 CountDownLatch countDownLatch = new CountDownLatch(1); in fetchServerParamsUnsuccessful_shouldNotUpdateKAnonMessageStatusInDB() local
726 private void setupMockWithCountDownLatch(CountDownLatch countDownLatch) throws IOException { in setupMockWithCountDownLatch()
DKAnonE2ETest.java483 CountDownLatch countDownLatch = new CountDownLatch(1); in persistAdSelectionData_withKAnonImmediateValueZero_savesTheMessageInDB() local
508 CountDownLatch countDownLatch = new CountDownLatch(1); in persistAdSelectionData_withKAnonFeatureFlagDisabled_doesNothing() local
597 CountDownLatch countDownLatch = new CountDownLatch(1); in persistAdSelectionData_withImmediateJoinValueHundred_signsAndJoinsMessage() local
657 CountDownLatch countDownLatch = new CountDownLatch(1); in persistAdSelectionData_actGenerateParamsFails_shouldNotUpdateStatusInDB() local
711 CountDownLatch countDownLatch = new CountDownLatch(1); in persistAdSelectionData_httpRegisterClientFails_shouldNotUpdateStatusInDB() local
754 CountDownLatch countDownLatch = new CountDownLatch(1); in persistAdSelectionData_httpFetchServerParamFails_shouldNotUpdateStatusInDB() local
807 CountDownLatch countDownLatch = new CountDownLatch(1); in persistAdSelectionData_getChallengeHttpFails_shouldNotUpdateStatusInDB() local
862 CountDownLatch countDownLatch = new CountDownLatch(1); in persistAdSelectionData_attestationCertificateGenerationFails_shouldLogStatsProperly() local
963 CountDownLatch countDownLatch = new CountDownLatch(1); in persistAdSelectionData_withAttestationEnabled_signsAndJoinsMessage() local
1017 CountDownLatch countDownLatch = new CountDownLatch(1); in persistAdSelectionData_joinHttpRequestFails_shouldMarkMessageAsFailed() local
[all …]
DKAnonSignJoinBackgroundJobWorkerTest.java110 CountDownLatch countDownLatch = new CountDownLatch(1); in makeSignJoinCalls_nonZeroBackgroundCallBatchSize_makesSignJoinCalls() local
141 CountDownLatch countDownLatch = new CountDownLatch(1); in makeSignJoinCalls_zeroBackgroundCallBatchSize_doesNotMakeSignJoinCalls() local
/packages/modules/Uwb/tests/cts/tests/src/android/uwb/cts/
DUwbManagerTest.java164 CountDownLatch countDownLatch = new CountDownLatch(1); in setUwbEnabledAndWaitForCompletion() local
433 AdfProvisionStateCallback(@NonNull CountDownLatch countDownLatch) { in AdfProvisionStateCallback()
453 CountDownLatch countDownLatch = new CountDownLatch(1); in testProvisionProfileAdfByScriptWithoutUwbPrivileged() local
625 public void replaceCtrlCountDownLatch(@NonNull CountDownLatch countDownLatch) { in replaceCtrlCountDownLatch()
629 public void replaceResultCountDownLatch(@NonNull CountDownLatch countDownLatch) { in replaceResultCountDownLatch()
755 CountDownLatch countDownLatch = new CountDownLatch(1); in testOpenRangingSessionWithInvalidChipId() local
776 CountDownLatch countDownLatch = new CountDownLatch(1); in testOpenRangingSessionWithChipIdWithBadParams() local
804 CountDownLatch countDownLatch = new CountDownLatch(1); in testOpenRangingSessionWithInvalidChipIdWithBadParams() local
1030 CountDownLatch countDownLatch = new CountDownLatch(1); in verifyFiraRangingSession() local
1615 AdapterStateCallback(@NonNull CountDownLatch countDownLatch, in AdapterStateCallback()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DMeasurementServiceImplTest.java230 CountDownLatch countDownLatch = new CountDownLatch(1); in registerSourceAndAssertSuccess() local
262 final CountDownLatch countDownLatch = new CountDownLatch(1); in registerSourceAndAssertFailure() local
457 CountDownLatch countDownLatch = new CountDownLatch(1); in registerTriggerAndAssertSuccess() local
487 final CountDownLatch countDownLatch = new CountDownLatch(1); in registerTriggerAndAssertFailure() local
684 CountDownLatch countDownLatch = new CountDownLatch(1); in deleteRegistrationsAndAssertSuccess() local
710 final CountDownLatch countDownLatch = new CountDownLatch(1); in deleteRegistrationsAndAssertFailure() local
873 CountDownLatch countDownLatch = new CountDownLatch(1); in getMeasurementApiStatusAndAssertSuccess() local
1168 CountDownLatch countDownLatch = new CountDownLatch(1); in registerWebSourceAndAssertSuccess() local
1285 CountDownLatch countDownLatch = new CountDownLatch(1); in registerSourcesAndAssertSuccess() local
1629 CountDownLatch countDownLatch = new CountDownLatch(1); in registerWebTriggerAndAssertSuccess() local
[all …]
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/
DMeasurementCtsDebuggableTest.java381 final CountDownLatch countDownLatch = new CountDownLatch(1); in executeRegisterSource() local
411 final CountDownLatch countDownLatch = new CountDownLatch(1); in executeRegisterTrigger() local
446 final CountDownLatch countDownLatch = new CountDownLatch(1); in executeRegisterWebSource() local
480 final CountDownLatch countDownLatch = new CountDownLatch(1); in executeRegisterWebTrigger() local
561 final CountDownLatch countDownLatch = new CountDownLatch(1); in executeDeleteRegistrations() local
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiShellCommand.java234 SoftApCallbackProxy(PrintWriter printWriter, CountDownLatch countDownLatch) { in SoftApCallbackProxy()
287 DppCallbackProxy(PrintWriter printWriter, CountDownLatch countDownLatch) { in DppCallbackProxy()
396 public WifiScorer(WifiServiceImpl wifiService, CountDownLatch countDownLatch) { in WifiScorer()
823 CountDownLatch countDownLatch = new CountDownLatch(2); in onCommand() local
864 CountDownLatch countDownLatch = new CountDownLatch(1); in onCommand() local
1003 CountDownLatch countDownLatch = new CountDownLatch(1); in onCommand() local
1023 CountDownLatch countDownLatch = new CountDownLatch(1); in onCommand() local
1043 CountDownLatch countDownLatch = new CountDownLatch(1); in onCommand() local
1312 CountDownLatch countDownLatch = new CountDownLatch(2); in onCommand() local
1816 CountDownLatch countDownLatch = new CountDownLatch(1); in onCommand() local
[all …]
/packages/modules/AdServices/sdksandbox/tests/testutils/src/android/app/sdksandbox/testutils/
DConfigListener.java29 public void setLatchForProperty(CountDownLatch countDownLatch, String propertyName) { in setLatchForProperty()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/reporting/
DDebugReportingJobServiceTest.java438 final CountDownLatch countDownLatch = new CountDownLatch(1); in createCountDownLatch() local
443 private Object countDown(CountDownLatch countDownLatch) { in countDown()
DDebugReportingFallbackJobServiceTest.java520 final CountDownLatch countDownLatch = new CountDownLatch(1); in createCountDownLatch() local
525 private Object countDown(CountDownLatch countDownLatch) { in countDown()
DVerboseDebugReportingFallbackJobServiceTest.java533 final CountDownLatch countDownLatch = new CountDownLatch(1); in createCountDownLatch() local
538 private Object countDown(CountDownLatch countDownLatch) { in countDown()
DEventFallbackReportingJobServiceTest.java557 final CountDownLatch countDownLatch = new CountDownLatch(1); in createCountDownLatch() local
562 private Object countDown(CountDownLatch countDownLatch) { in countDown()
DAggregateFallbackReportingJobServiceTest.java567 final CountDownLatch countDownLatch = new CountDownLatch(1); in createCountDownLatch() local
572 private Object countDown(CountDownLatch countDownLatch) { in countDown()
DEventReportingJobServiceTest.java538 final CountDownLatch countDownLatch = new CountDownLatch(1); in createCountDownLatch() local
543 private Object countDown(CountDownLatch countDownLatch) { in countDown()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/
DAsyncRegistrationFallbackJobServiceTest.java539 final CountDownLatch countDownLatch = new CountDownLatch(1); in createCountDownLatch() local
544 private Object countDown(CountDownLatch countDownLatch) { in countDown()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DUpdateAdCounterHistogramWorkerTest.java385 public UpdateAdCounterHistogramTestCallback(CountDownLatch countDownLatch) { in UpdateAdCounterHistogramTestCallback()
420 public UpdateAdCounterHistogramTestErrorCallback(CountDownLatch countDownLatch) { in UpdateAdCounterHistogramTestErrorCallback()
DReportEventDisabledImplTest.java101 ReportEventTestCallback(CountDownLatch countDownLatch) { in ReportEventTestCallback()
DAuctionServerE2ETest.java4247 CountDownLatch countDownLatch = new CountDownLatch(1); in invokeGetAdSelectionData() local
4258 CountDownLatch countDownLatch = new CountDownLatch(1); in invokePersistAdSelectionResult() local
4269 CountDownLatch countDownLatch = new CountDownLatch(1); in invokeAdSelectionFromOutcomes() local
4280 CountDownLatch countDownLatch = new CountDownLatch(1); in invokeReportImpression() local
4290 CountDownLatch countDownLatch = new CountDownLatch(1); in invokeReportInteractions() local
4301 CountDownLatch countDownLatch = new CountDownLatch(1); in invokeUpdateAdCounterHistogram() local
4315 GetAdSelectionDataTestCallback(CountDownLatch countDownLatch) { in GetAdSelectionDataTestCallback()
4344 PersistAdSelectionResultTestCallback(CountDownLatch countDownLatch) { in PersistAdSelectionResultTestCallback()
4380 AppInstallResultCapturingCallback(CountDownLatch countDownLatch) { in AppInstallResultCapturingCallback()
4410 AdSelectionFromOutcomesTestCallback(CountDownLatch countDownLatch) { in AdSelectionFromOutcomesTestCallback()
[all …]
DPersistAdSelectionResultRunnerTest.java1695 CountDownLatch countDownLatch = new CountDownLatch(1); in testRunner_withKAnonSignFlagedDisabled_doesNothing() local
1738 CountDownLatch countDownLatch = new CountDownLatch(1); in testRunner_kanonSignJoinManagerThrowsException_persistSelectionRunnerIsSuccessful() local
1779 CountDownLatch countDownLatch = new CountDownLatch(1); in testRunner_withKAnonEnabled_makesSignAndJoinCalls() local
1822 CountDownLatch countDownLatch = new CountDownLatch(1); in testRunner_withKAnonEnabled_createsKAnonEntityWithCorrectEncoding() local
2033 PersistAdSelectionResultTestCallback(CountDownLatch countDownLatch) { in PersistAdSelectionResultTestCallback()
DOutcomeSelectionRunnerTest.java395 CountDownLatch countDownLatch = new CountDownLatch(1); in invokeRunAdSelectionFromOutcomes() local
431 AdSelectionTestCallback(CountDownLatch countDownLatch) { in AdSelectionTestCallback()
/packages/apps/Nfc/testutils/src/com/android/nfc/utils/
DNfcSnippet.java96 CountDownLatch countDownLatch = new CountDownLatch(1); in setNfcState() local
/packages/apps/Settings/tests/unit/src/com/android/settings/accessibility/
DDisableAnimationsPreferenceControllerTest.java170 CountDownLatch countDownLatch = new CountDownLatch(TOGGLE_ANIMATION_TARGETS.size()); in setAnimationScaleAndWaitForUpdate() local

12