Home
last modified time | relevance | path

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

12345678910

/aosp_15_r20/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/
H A DSessionAbandonBehaviorTest.java96 AbandonSessionCallBack(CountDownLatch countDownLatch, int[] sessionIds) { in AbandonSessionCallBack()
104 AbandonSessionCallBack(CountDownLatch countDownLatch, int sessionId) { in AbandonSessionCallBack()
268 final CountDownLatch countDownLatch = new CountDownLatch(1); in abandon_stagedSession_shouldReceiveAbandonCallBack() local
282 final CountDownLatch countDownLatch = new CountDownLatch(1); in abandon_nonStagedSession_shouldReceiveAbandonCallBack() local
297 final CountDownLatch countDownLatch = new CountDownLatch(1); in abandon_stagedSession_openedSession_canNotGetNames() local
314 final CountDownLatch countDownLatch = new CountDownLatch(1); in abandon_nonStagedSession_openedSession_canNotGetNames() local
331 final CountDownLatch countDownLatch = new CountDownLatch(1); in abandon_stagedSession_openForWriting_shouldFail() local
349 final CountDownLatch countDownLatch = new CountDownLatch(1); in abandon_nonStagedSession_openForWriting_shouldFail() local
367 final CountDownLatch countDownLatch = new CountDownLatch(1); in abandon_stagedSession_canNotOpenAgain() local
383 final CountDownLatch countDownLatch = new CountDownLatch(1); in abandon_nonStagedSession_canNotOpenAgain() local
[all …]
/aosp_15_r20/packages/modules/AdServices/adservices/tests/endtoends/src/com/android/adservices/measurement/
DMeasurementCompatibleManagerTest.java113 CountDownLatch countDownLatch = new CountDownLatch(1); in testRegisterSource_callingApp_expectedAttributionSource() local
156 CountDownLatch countDownLatch = new CountDownLatch(1); in testRegisterSource_adIdEnabled_register() local
195 CountDownLatch countDownLatch = new CountDownLatch(1); in testRegisterSource_adIdZeroOut_register() local
233 CountDownLatch countDownLatch = new CountDownLatch(1); in testRegisterSource_adIdDisabled_register() local
272 CountDownLatch countDownLatch = new CountDownLatch(1); in testRegisterSource_adIdTimeOut_register() local
350 CountDownLatch countDownLatch = new CountDownLatch(1); in testRegisterSource_callingSdk_expectedAttributionSource() local
400 CountDownLatch countDownLatch = new CountDownLatch(1); in testRegisterWebSource_callingApp_expectedAttributionSource() local
427 CountDownLatch countDownLatch = new CountDownLatch(1); in testRegisterWebSource_callingSdk_expectedAttributionSource() local
478 CountDownLatch countDownLatch = new CountDownLatch(1); in testRegisterWebSource_adIdEnabled_register() local
516 CountDownLatch countDownLatch = new CountDownLatch(1); in testRegisterWebSource_adIdZeroOut_register() local
[all …]
/aosp_15_r20/packages/modules/AdServices/adservices/tests/cts/endtoends/measurement/src/com/android/adservices/tests/cts/measurement/
DMeasurementManagerCtsTest.java128 CountDownLatch countDownLatch = new CountDownLatch(1); in testRegisterSource_withNoServerSetupWithCallbackOsReceiver_noErrors() local
140 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
806 CountDownLatch countDownLatch = new CountDownLatch(1); in testDeleteRegistrations_withUrisWithRangeWithCallbackCustomReceiver_noErrors() local
957 CountDownLatch countDownLatch = new CountDownLatch(1); in callMeasurementApiStatus() local
1011 CountDownLatch countDownLatch = new CountDownLatch(1); in registerSourceAndVerifyRateLimitReached() local
1045 CountDownLatch countDownLatch = new CountDownLatch(1); in registerWebSourceAndVerifyRateLimitReached() local
1092 CountDownLatch countDownLatch = new CountDownLatch(1); in registerTriggerAndVerifyRateLimitReached() local
1125 CountDownLatch countDownLatch = new CountDownLatch(1); in registerWebTriggerAndVerifyRateLimitReached() local
[all …]
/aosp_15_r20/cts/tests/tests/telephony/current/src/android/telephony/euicc/cts/
H A DEuiccManagerTest.java214 CountDownLatch countDownLatch = new CountDownLatch(1); in testDownloadSubscription() local
261 CountDownLatch countDownLatch = new CountDownLatch(1); in testDeleteSubscription() local
298 CountDownLatch countDownLatch = new CountDownLatch(1); in testSwitchToSubscritionDisableWithNoPortAndChangesCompatDisabled() local
351 CountDownLatch countDownLatch = new CountDownLatch(1); in testSwitchToSubscription() local
382 CountDownLatch countDownLatch = new CountDownLatch(1); in testSwitchToSubscriptionWithCallback() local
413 CountDownLatch countDownLatch = new CountDownLatch(1); in testEraseSubscriptions() local
440 CountDownLatch countDownLatch = new CountDownLatch(1); in testStartResolutionActivity() local
739 CountDownLatch countDownLatch = new CountDownLatch(1); in testEuiccProvisionAction() local
775 CountDownLatch countDownLatch = new CountDownLatch(1); in testEuiccManageAction() local
811 CountDownLatch countDownLatch = new CountDownLatch(1); in testEuiccTransferAction() local
[all …]
/aosp_15_r20/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/service/kanon/
DKAnonE2ETest.java468 CountDownLatch countDownLatch = new CountDownLatch(1); in persistAdSelectionData_withKAnonImmediateValueZero_savesTheMessageInDB() local
493 CountDownLatch countDownLatch = new CountDownLatch(1); in persistAdSelectionData_withKAnonFeatureFlagDisabled_doesNothing() local
582 CountDownLatch countDownLatch = new CountDownLatch(1); in persistAdSelectionData_withImmediateJoinValueHundred_signsAndJoinsMessage() local
642 CountDownLatch countDownLatch = new CountDownLatch(1); in persistAdSelectionData_actGenerateParamsFails_shouldNotUpdateStatusInDB() local
696 CountDownLatch countDownLatch = new CountDownLatch(1); in persistAdSelectionData_httpRegisterClientFails_shouldNotUpdateStatusInDB() local
739 CountDownLatch countDownLatch = new CountDownLatch(1); in persistAdSelectionData_httpFetchServerParamFails_shouldNotUpdateStatusInDB() local
792 CountDownLatch countDownLatch = new CountDownLatch(1); in persistAdSelectionData_getChallengeHttpFails_shouldNotUpdateStatusInDB() local
847 CountDownLatch countDownLatch = new CountDownLatch(1); in persistAdSelectionData_attestationCertificateGenerationFails_shouldLogStatsProperly() local
948 CountDownLatch countDownLatch = new CountDownLatch(1); in persistAdSelectionData_withAttestationEnabled_signsAndJoinsMessage() local
1002 CountDownLatch countDownLatch = new CountDownLatch(1); in persistAdSelectionData_joinHttpRequestFails_shouldMarkMessageAsFailed() local
[all …]
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()
/aosp_15_r20/packages/modules/Uwb/tests/cts/tests/src/android/uwb/cts/
DUwbManagerTest.java164 CountDownLatch countDownLatch = new CountDownLatch(1); in setUwbEnabledAndWaitForCompletion() local
459 AdfProvisionStateCallback(@NonNull CountDownLatch countDownLatch) { in AdfProvisionStateCallback()
479 CountDownLatch countDownLatch = new CountDownLatch(1); in testProvisionProfileAdfByScriptWithoutUwbPrivileged() local
651 public void replaceCtrlCountDownLatch(@NonNull CountDownLatch countDownLatch) { in replaceCtrlCountDownLatch()
655 public void replaceResultCountDownLatch(@NonNull CountDownLatch countDownLatch) { in replaceResultCountDownLatch()
781 CountDownLatch countDownLatch = new CountDownLatch(1); in testOpenRangingSessionWithInvalidChipId() local
802 CountDownLatch countDownLatch = new CountDownLatch(1); in testOpenRangingSessionWithChipIdWithBadParams() local
830 CountDownLatch countDownLatch = new CountDownLatch(1); in testOpenRangingSessionWithInvalidChipIdWithBadParams() local
1056 CountDownLatch countDownLatch = new CountDownLatch(1); in verifyFiraRangingSession() local
1775 AdapterStateCallback(@NonNull CountDownLatch countDownLatch, in AdapterStateCallback()
[all …]
/aosp_15_r20/packages/modules/AdServices/adservices/tests/unittest/service-core/measurement/src/com/android/adservices/service/measurement/
DMeasurementServiceImplTest.java265 CountDownLatch countDownLatch = new CountDownLatch(1); in registerSourceAndAssertSuccess() local
297 final CountDownLatch countDownLatch = new CountDownLatch(1); in registerSourceAndAssertFailure() local
492 CountDownLatch countDownLatch = new CountDownLatch(1); in registerTriggerAndAssertSuccess() local
522 final CountDownLatch countDownLatch = new CountDownLatch(1); in registerTriggerAndAssertFailure() local
719 CountDownLatch countDownLatch = new CountDownLatch(1); in deleteRegistrationsAndAssertSuccess() local
745 final CountDownLatch countDownLatch = new CountDownLatch(1); in deleteRegistrationsAndAssertFailure() local
908 CountDownLatch countDownLatch = new CountDownLatch(1); in getMeasurementApiStatusAndAssertSuccess() local
1203 CountDownLatch countDownLatch = new CountDownLatch(1); in registerWebSourceAndAssertSuccess() local
1320 CountDownLatch countDownLatch = new CountDownLatch(1); in registerSourcesAndAssertSuccess() local
1664 CountDownLatch countDownLatch = new CountDownLatch(1); in registerWebTriggerAndAssertSuccess() local
[all …]
/aosp_15_r20/cts/tests/PhotoPicker/src/android/photopicker/cts/
H A DEmbeddedPhotoPickerTest.java143 CountDownLatch countDownLatch = new CountDownLatch(1); in testOnItemSelected_selectedUrisNotEmptyAndHasAccess() local
166 CountDownLatch countDownLatch = new CountDownLatch(1); in testOnItemDeselected_selectedUrisEmptyAndAccessRevoked() local
198 CountDownLatch countDownLatch = new CountDownLatch(1); in testOnSessionError_sessionIsNull() local
293 CountDownLatch countDownLatch = new CountDownLatch(1); in testClose_onSelectionComplete_onClickDoneButton() local
316 CountDownLatch countDownLatch = new CountDownLatch(1); in testRevokeUriAccess_onRequestRevokeUriPermission() local
/aosp_15_r20/cts/tests/tests/nfc/src/android/nfc/cts/
H A DWalletRoleTestUtils.java98 CountDownLatch countDownLatch = new CountDownLatch(1); in setDefaultWalletRoleHolder() local
116 CountDownLatch countDownLatch = new CountDownLatch(1); in removeRoleHolder() local
153 CountDownLatch countDownLatch = new CountDownLatch(1); in runWithRole() local
208 CountDownLatch countDownLatch = new CountDownLatch(1); in runWithRoleNone() local
251 CountDownLatch countDownLatch = new CountDownLatch(1); in clearRoleHolders() local
/aosp_15_r20/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiShellCommand.java237 SoftApCallbackProxy(PrintWriter printWriter, CountDownLatch countDownLatch) { in SoftApCallbackProxy()
295 DppCallbackProxy(PrintWriter printWriter, CountDownLatch countDownLatch) { in DppCallbackProxy()
404 public WifiScorer(WifiServiceImpl wifiService, CountDownLatch countDownLatch) { in WifiScorer()
879 CountDownLatch countDownLatch = new CountDownLatch(2); in onCommand() local
920 CountDownLatch countDownLatch = new CountDownLatch(1); in onCommand() local
1055 CountDownLatch countDownLatch = new CountDownLatch(1); in onCommand() local
1075 CountDownLatch countDownLatch = new CountDownLatch(1); in onCommand() local
1095 CountDownLatch countDownLatch = new CountDownLatch(1); in onCommand() local
1365 CountDownLatch countDownLatch = new CountDownLatch(2); in onCommand() local
1863 CountDownLatch countDownLatch = new CountDownLatch(1); in onCommand() local
[all …]
/aosp_15_r20/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
H A DExecutionListTest.java41 CountDownLatch countDownLatch = new CountDownLatch(3); in testRunOnPopulatedList() local
109 CountDownLatch countDownLatch = new CountDownLatch(1); in testAddAfterRun() local
132 CountDownLatch countDownLatch; field in ExecutionListTest.MockRunnable
134 MockRunnable(CountDownLatch countDownLatch) { in MockRunnable()
/aosp_15_r20/external/guava/guava-tests/test/com/google/common/util/concurrent/
H A DExecutionListTest.java41 CountDownLatch countDownLatch = new CountDownLatch(3); in testRunOnPopulatedList() local
109 CountDownLatch countDownLatch = new CountDownLatch(1); in testAddAfterRun() local
132 CountDownLatch countDownLatch; field in ExecutionListTest.MockRunnable
134 MockRunnable(CountDownLatch countDownLatch) { in MockRunnable()
/aosp_15_r20/cts/tests/tests/wifi/src/android/net/wifi/cts/
H A DConnectedNetworkScorerTest.java202 TestUsabilityStatsListener(CountDownLatch countDownLatch) { in TestUsabilityStatsListener()
226 CountDownLatch countDownLatch = new CountDownLatch(1); in testWifiUsabilityStatsEntry() local
537 TestConnectedNetworkScorer(CountDownLatch countDownLatch) { in TestConnectedNetworkScorer()
556 public void resetCountDownLatch(CountDownLatch countDownLatch) { in resetCountDownLatch()
565 TestConnectedNetworkScorerWithSessionId(CountDownLatch countDownLatch) { in TestConnectedNetworkScorerWithSessionId()
582 TestConnectedNetworkScorerWithSessionInfo(CountDownLatch countDownLatch) { in TestConnectedNetworkScorerWithSessionInfo()
/aosp_15_r20/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/
DMeasurementCtsDebuggableTest.java369 CountDownLatch countDownLatch = new CountDownLatch(1); in executeRegisterSource() local
399 CountDownLatch countDownLatch = new CountDownLatch(1); in executeRegisterTrigger() local
434 CountDownLatch countDownLatch = new CountDownLatch(1); in executeRegisterWebSource() local
468 CountDownLatch countDownLatch = new CountDownLatch(1); in executeRegisterWebTrigger() local
549 CountDownLatch countDownLatch = new CountDownLatch(1); in executeDeleteRegistrations() local
/aosp_15_r20/frameworks/libs/modules-utils/javatests/com/android/modules/utils/testing/
DTestableDeviceConfigTest.java173 CountDownLatch countDownLatch = new CountDownLatch(1); in testListener_setProperty() local
197 CountDownLatch countDownLatch = new CountDownLatch(1); in testListener_setProperties() local
225 CountDownLatch countDownLatch = new CountDownLatch(1); in testListener_deleteProperty() local
/aosp_15_r20/frameworks/base/services/tests/mockingservicestests/src/android/service/games/
H A DGameSessionTest.java120 CountDownLatch countDownLatch = new CountDownLatch(1); in takeScreenshot_gameManagerException_returnsInternalError() local
149 CountDownLatch countDownLatch = new CountDownLatch(1); in takeScreenshot_gameManagerError_returnsInternalError() local
178 CountDownLatch countDownLatch = new CountDownLatch(1); in takeScreenshot_gameManagerSuccess() local
/aosp_15_r20/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/service/adselection/
DAuctionServerE2ETest.java4730 CountDownLatch countDownLatch = new CountDownLatch(1); in invokeGetAdSelectionData() local
4741 CountDownLatch countDownLatch = new CountDownLatch(1); in invokePersistAdSelectionResult() local
4752 CountDownLatch countDownLatch = new CountDownLatch(1); in invokeAdSelectionFromOutcomes() local
4763 CountDownLatch countDownLatch = new CountDownLatch(1); in invokeReportImpression() local
4773 CountDownLatch countDownLatch = new CountDownLatch(1); in invokeReportInteractions() local
4784 CountDownLatch countDownLatch = new CountDownLatch(1); in invokeUpdateAdCounterHistogram() local
4798 GetAdSelectionDataTestCallback(CountDownLatch countDownLatch) { in GetAdSelectionDataTestCallback()
4836 PersistAdSelectionResultTestCallback(CountDownLatch countDownLatch) { in PersistAdSelectionResultTestCallback()
4872 AppInstallResultCapturingCallback(CountDownLatch countDownLatch) { in AppInstallResultCapturingCallback()
4902 AdSelectionFromOutcomesTestCallback(CountDownLatch countDownLatch) { in AdSelectionFromOutcomesTestCallback()
[all …]
/aosp_15_r20/packages/modules/AdServices/adservices/tests/unittest/service-core/measurement/src/com/android/adservices/service/measurement/attribution/
DAttributionFallbackJobServiceTest.java389 CountDownLatch countDownLatch = new CountDownLatch(1); in onStartJob_featureDisabled() local
414 CountDownLatch countDownLatch = new CountDownLatch(1); in onStartJob_featureEnabled() local
451 CountDownLatch countDownLatch = new CountDownLatch(1); in onStartJob_shouldDisableJobTrue() local
/aosp_15_r20/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DScreenshotTests.java126 CountDownLatch countDownLatch = new CountDownLatch(1); in testScreenshotSecureLayers() local
205 CountDownLatch countDownLatch = new CountDownLatch(1); in testCaptureDisplay() local
290 CountDownLatch countDownLatch = new CountDownLatch(1); in addChildSc() local
/aosp_15_r20/packages/modules/Uwb/ranging/tests/cts/tests/src/android/ranging/cts/
DRangingManagerTest.java138 CountDownLatch countDownLatch = new CountDownLatch(1); in enableUwb() local
155 CountDownLatch countDownLatch = new CountDownLatch(1); in enableUwb() local
723 CapabilitiesCallback(CountDownLatch countDownLatch) { in CapabilitiesCallback()
746 AdapterStateCallback(CountDownLatch countDownLatch, Integer waitForState) { in AdapterStateCallback()
/aosp_15_r20/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/transformer/src/test/java/com/google/android/exoplayer2/transformer/
H A DTransformerTest.java418 CountDownLatch countDownLatch = new CountDownLatch(1); in startTransformation_fromSpecifiedThread_completesSuccessfully() local
444 CountDownLatch countDownLatch = new CountDownLatch(1); in startTransformation_fromWrongThread_throwsError() local
608 CountDownLatch countDownLatch = new CountDownLatch(1); in getProgress_fromWrongThread_throwsError() local
642 CountDownLatch countDownLatch = new CountDownLatch(1); in cancel_fromWrongThread_throwsError() local
/aosp_15_r20/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
H A DPhoneAccountTest.java112 final CountDownLatch countDownLatch = new CountDownLatch(1); in internalTestOutgoingCall() local
193 final CountDownLatch countDownLatch = new CountDownLatch(1); in internalTestIncomingCall() local
339 public CalllogContentObserver(Handler handler, final CountDownLatch countDownLatch) { in CalllogContentObserver()
/aosp_15_r20/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
H A DHttpOverSpdyTest.java201 CountDownLatch countDownLatch = new CountDownLatch(2); in synchronousSpdyRequest() local
444 CountDownLatch countDownLatch; field in HttpOverSpdyTest.SpdyRequest
445 public SpdyRequest(String path, CountDownLatch countDownLatch) { in SpdyRequest()
/aosp_15_r20/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/transformer/src/test/java/com/google/android/exoplayer2/transformer/
H A DTransformerEndToEndTest.java480 CountDownLatch countDownLatch = new CountDownLatch(1); in startTransformation_fromSpecifiedThread_completesSuccessfully() local
506 CountDownLatch countDownLatch = new CountDownLatch(1); in startTransformation_fromWrongThread_throwsError() local
670 CountDownLatch countDownLatch = new CountDownLatch(1); in getProgress_fromWrongThread_throwsError() local
704 CountDownLatch countDownLatch = new CountDownLatch(1); in cancel_fromWrongThread_throwsError() local

12345678910