Home
last modified time | relevance | path

Searched defs:latch (Results 1 – 25 of 1462) sorted by relevance

12345678910>>...59

/aosp_15_r20/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
H A DAccountManagerServiceTest.java606 final CountDownLatch latch = new CountDownLatch(1); in testStartAddAccountSessionSuccessWithoutPasswordForwarding() local
637 final CountDownLatch latch = new CountDownLatch(1); in testStartAddAccountSessionSuccessWithPasswordForwarding() local
677 final CountDownLatch latch = new CountDownLatch(1); in testStartAddAccountSessionReturnWithInvalidIntent() local
706 final CountDownLatch latch = new CountDownLatch(1); in testStartAddAccountSessionReturnWithValidIntent() local
740 final CountDownLatch latch = new CountDownLatch(1); in testStartAddAccountSessionWhereAuthenticatorReturnsIntentWithProhibitedFlags() local
772 final CountDownLatch latch = new CountDownLatch(1); in testStartAddAccountSessionError() local
827 final CountDownLatch latch = new CountDownLatch(1); in testStartUpdateCredentialsSessionSuccessWithoutPasswordForwarding() local
857 final CountDownLatch latch = new CountDownLatch(1); in testStartUpdateCredentialsSessionSuccessWithPasswordForwarding() local
896 final CountDownLatch latch = new CountDownLatch(1); in testStartUpdateCredentialsSessionReturnWithInvalidIntent() local
925 final CountDownLatch latch = new CountDownLatch(1); in testStartUpdateCredentialsSessionReturnWithValidIntent() local
[all …]
/aosp_15_r20/external/sdk-platform-java/gax-java/gax-httpjson/src/test/java/com/google/api/gax/httpjson/
H A DHttpJsonDirectServerStreamingCallableTest.java180 CountDownLatch latch = new CountDownLatch(1); in testBadContext() local
196 CountDownLatch latch = new CountDownLatch(1); in testServerStreamingStart() local
212 CountDownLatch latch = new CountDownLatch(3); in testServerStreaming() local
226 CountDownLatch latch = new CountDownLatch(2); in testManualFlowControl() local
246 CountDownLatch latch = new CountDownLatch(1); in testCancelClientCall() local
263 CountDownLatch latch = new CountDownLatch(1); in testOnResponseError() local
341 CountDownLatch latch = new CountDownLatch(1); in testDeadlineExceededServerStreaming() local
357 private final CountDownLatch latch; field in HttpJsonDirectServerStreamingCallableTest.MoneyObserver
364 MoneyObserver(boolean autoFlowControl, CountDownLatch latch) { in MoneyObserver()
/aosp_15_r20/external/sdk-platform-java/gax-java/gax-grpc/src/test/java/com/google/api/gax/grpc/
H A DGrpcDirectServerStreamingCallableTest.java119 CountDownLatch latch = new CountDownLatch(1); in testBadContext() local
133 CountDownLatch latch = new CountDownLatch(1); in testServerStreamingStart() local
143 CountDownLatch latch = new CountDownLatch(2); in testServerStreaming() local
155 CountDownLatch latch = new CountDownLatch(2); in testManualFlowControl() local
174 CountDownLatch latch = new CountDownLatch(1); in testCancelClientCall() local
189 CountDownLatch latch = new CountDownLatch(1); in testOnResponseError() local
254 private final CountDownLatch latch; field in GrpcDirectServerStreamingCallableTest.MoneyObserver
261 MoneyObserver(boolean autoFlowControl, CountDownLatch latch) { in MoneyObserver()
H A DGrpcDirectStreamingCallableTest.java95 CountDownLatch latch = new CountDownLatch(1); in testBidiStreaming() local
117 CountDownLatch latch = new CountDownLatch(1); in testBidiStreamingServerError() local
140 CountDownLatch latch = new CountDownLatch(1); in testBidiStreamingClientError() local
167 CountDownLatch latch = new CountDownLatch(1); in testClientStreaming() local
186 CountDownLatch latch; field in GrpcDirectStreamingCallableTest.MoneyObserver
188 MoneyObserver(CountDownLatch latch) { in MoneyObserver()
/aosp_15_r20/cts/tests/framework/base/windowmanager/src/android/server/wm/backnavigation/
H A DBackNavigationTests.java64 CountDownLatch latch = registerBackCallback(); in registerCallback_initialized() local
72 CountDownLatch latch = registerBackCallback(); in registerCallback_created() local
80 CountDownLatch latch = registerBackCallback(); in registerCallback_resumed() local
101 CountDownLatch latch = registerBackCallback(); in onBackPressedNotCalled() local
111 CountDownLatch latch = registerBackCallback(); in onUserInteractionCalled() local
131 private void invokeBackAndAssertCallbackIsCalled(CountDownLatch latch) { in invokeBackAndAssertCallbackIsCalled()
135 private void invokeBackAndAssertCallback(CountDownLatch latch, boolean isCalled) { in invokeBackAndAssertCallback()
/aosp_15_r20/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/HealthConnectTestHelper/src/android/healthconnect/cts/testhelper/
DHealthConnectServiceLogsTests.java366 CountDownLatch latch = new CountDownLatch(1); in testHealthConnectReadRecords() local
396 CountDownLatch latch = new CountDownLatch(1); in testHealthConnectReadRecordsError() local
428 CountDownLatch latch = new CountDownLatch(1); in testHealthConnectGetChangeLogTokenError() local
464 CountDownLatch latch = new CountDownLatch(1); in testHealthConnectGetChangeLogs() local
487 CountDownLatch latch = new CountDownLatch(1); in testHealthConnectGetChangeLogsError() local
510 CountDownLatch latch = new CountDownLatch(1); in testHealthConnectAggregatedData() local
535 CountDownLatch latch = new CountDownLatch(1); in testHealthConnectAggregatedDataError() local
567 CountDownLatch latch = new CountDownLatch(1); in getChangeLogToken() local
594 CountDownLatch latch = new CountDownLatch(1); in updateRecords() local
/aosp_15_r20/packages/apps/Multiuser/Widget/src/tests/unit/java/com/android/multiuser/widget/tests/unit/data/
DUserDaoTest.kt70 val latch = CountDownLatch(1) in <lambda>() constant
104 val latch = CountDownLatch(1) in <lambda>() constant
139 val latch = CountDownLatch(1) in <lambda>() constant
171 val latch = CountDownLatch(1) in <lambda>() constant
/aosp_15_r20/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/scheduling/
H A DCoroutineSchedulerTest.kt18 val latch = CountDownLatch(1) in <lambda>() constant
31 val latch = CountDownLatch(taskModes.size) in <lambda>() constant
122 val latch = CountDownLatch(1) in <lambda>() constant
133 var latch = CountDownLatch(1) in <lambda>() variable
/aosp_15_r20/packages/apps/Multiuser/Widget/src/tests/unit/java/com/android/multiuser/widget/tests/unit/domain/
DLoadUsersUseCaseTest.kt111 val latch = CountDownLatch(1) in <lambda>() constant
137 val latch = CountDownLatch(1) in <lambda>() constant
163 val latch = CountDownLatch(1) in currentUserIsAdminAndAddUserButtonFlagIsNotSet_viewmodelDoesNotIncludeAddUserButton() constant
186 val latch = CountDownLatch(1) in <lambda>() constant
/aosp_15_r20/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/common/
DCancelableAlarmTest.java39 TestCountDownLatch latch = new TestCountDownLatch(1); in alarmRuns_singleExecution() local
47 TestCountDownLatch latch = new TestCountDownLatch(2); in alarmRuns_periodicExecution() local
55 TestCountDownLatch latch = new TestCountDownLatch(1); in canceledAlarmDoesNotRun_singleExecution() local
68 TestCountDownLatch latch = new TestCountDownLatch(2); in canceledAlarmDoesNotRun_periodicExecution() local
82 TestCountDownLatch latch = new TestCountDownLatch(1); in cancelOfRunAlarmReturnsFalse() local
98 CountDownRunnable(CountDownLatch latch) { in CountDownRunnable()
/aosp_15_r20/cts/tests/tests/media/projection/src/android/media/projection/cts/
H A DMediaProjectionTest.java127 CountDownLatch latch = new CountDownLatch(1); in testOverlayAllowedDuringScreenCapture() local
161 CountDownLatch latch = new CountDownLatch(1); in testUnregisterCallback() local
186 CountDownLatch latch = new CountDownLatch(1); in testCallbackOnStop() local
206 CountDownLatch latch = new CountDownLatch(1); in testCallbackOnCapturedContentResize() local
228 CountDownLatch latch = new CountDownLatch(1); in testCallbackOnCapturedContentVisibilityChanged() local
246 private void createVirtualDisplayAndWaitForCallback(CountDownLatch latch) throws Exception { in createVirtualDisplayAndWaitForCallback()
H A DMediaProjectionStoppingTest.java153 CountDownLatch latch = new CountDownLatch(1); in testMediaProjectionStopsOnKeyguard() local
179 CountDownLatch latch = new CountDownLatch(1); in testMediaProjectionWithoutDisplayDoesNotStopOnKeyguard() local
208 CountDownLatch latch = new CountDownLatch(1); in testMediaProjectionStop_callStartedAfterMediaProjection_doesNotStop() local
234 CountDownLatch latch = new CountDownLatch(1); in testMediaProjectionStop_callStartedBeforeMediaProjection_shouldStop() local
309 CountDownLatch latch = new CountDownLatch(1); in startPhoneCall() local
/aosp_15_r20/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/
H A DMediaSession2ServiceTest.java126 final CountDownLatch latch = new CountDownLatch(1); in testOnGetSessionIsCalled() local
162 final CountDownLatch latch = new CountDownLatch(2); in testOnGetSession_returnsSession() local
262 final CountDownLatch latch = new CountDownLatch(1); in testOnGetSession_rejectsConnection() local
280 final CountDownLatch latch = new CountDownLatch(1); in testAllControllersDisconnected_oneSession() local
309 final CountDownLatch latch = new CountDownLatch(1); in testAllControllersDisconnected_multipleSessions() local
380 CountDownLatch latch = new CountDownLatch(2); in testOnUpdateNotification() local
439 CountDownLatch latch = new CountDownLatch(1); in createConnectedController() local
/aosp_15_r20/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DAbstractActionHandlerTest.java295 CountDownLatch latch = new CountDownLatch(1); in testLoadChildrenDocuments() local
327 CountDownLatch latch = new CountDownLatch(1); in testCrossProfileDocuments_success() local
355 CountDownLatch latch = new CountDownLatch(1); in testLoadCrossProfileDoc_failsWithQuietModeException() local
376 CountDownLatch latch = new CountDownLatch(1); in testLoadCrossProfileDoc_failsWithNoPermissionException() local
400 CountDownLatch latch = new CountDownLatch(1); in testLoadCrossProfileDoc_bothError_showNoPermissionException() local
472 CountDownLatch latch = new CountDownLatch(1); in testLoadChildrenDocuments_failsWithNonRecentsAndEmptyStack() local
/aosp_15_r20/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/terminal/
H A DFirstTest.kt34 val latch = Channel<Unit>() in <lambda>() constant
63 val latch = Channel<Unit>() in <lambda>() constant
101 val latch = Channel<Unit>() in <lambda>() constant
136 val latch = Channel<Unit>() in <lambda>() constant
/aosp_15_r20/packages/services/Car/tests/CarServiceTest/src/com/android/car/garagemode/
DGarageModeTest.java143 CountDownLatch latch = new CountDownLatch(1); in test_backgroundUsersStopedOnGarageModeCancel() local
165 CountDownLatch latch = new CountDownLatch(1); in test_backgroundUsersStopedOnGarageModeCancel_beforeStartingBgUsers() local
184 CountDownLatch latch = new CountDownLatch(1); in test_backgroundUsersStoppedOnGarageModeFinish() local
202 CountDownLatch latch = mockCarUserServiceStartUsersCall(userToStartInBackground); in test_restartingGarageModeStorePreviouslyStartedUsers() local
245 private void waitForHandlerThreadToFinish(CountDownLatch latch) throws Exception { in waitForHandlerThreadToFinish()
253 CountDownLatch latch = new CountDownLatch(1); in mockCarUserServiceStartUsersCall() local
/aosp_15_r20/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/concurrent/
H A DTimedSemaphoreTest.java215 final CountDownLatch latch = new CountDownLatch(count - 1); in testAcquireLimit() local
289 final CountDownLatch latch = new CountDownLatch(count); in testAcquireNoLimit() local
320 final CountDownLatch latch = new CountDownLatch(count); in testAcquireMultiplePeriods() local
384 final CountDownLatch latch = new CountDownLatch(1); in testTryAcquire() local
420 volatile CountDownLatch latch; field in TimedSemaphoreTest.TimedSemaphoreTestImpl
487 private final CountDownLatch latch; field in TimedSemaphoreTest.SemaphoreThread
532 private final CountDownLatch latch; field in TimedSemaphoreTest.TryAcquireThread
/aosp_15_r20/test/cts-root/tests/bugreport/src/android/bugreport/cts_root/
H A DBugreportManagerTest.java130 CountDownLatch latch = new CountDownLatch(1); in testRetrieveBugreportConsentGranted() local
181 CountDownLatch latch = new CountDownLatch(1); in testRetrieveBugreportConsentDenied() local
233 CountDownLatch latch = new CountDownLatch(1); in testBugreportsLimitReached() local
394 CountDownLatch latch = new CountDownLatch(1); in startFullReport() local
413 CountDownLatch latch = new CountDownLatch(1); in startDeferredReport() local
463 final CountDownLatch latch; field in BugreportManagerTest.BugreportBroadcastReceiver
513 BugreportCallbackImpl(CountDownLatch latch) { in BugreportCallbackImpl()
/aosp_15_r20/packages/services/Car/tests/CarTestLibUnitTest/src/android/car/testapi/
DBlockingUserLifecycleListenerUnitTest.java126 CountDownLatch latch = sendAsyncEvents(listener, 10, in testForSpecificEvents_receivedExtraEvents() local
158 CountDownLatch latch = sendAsyncEvents(listener, in testForSpecificEvents_filterByUser() local
186 CountDownLatch latch = sendAsyncEvents(listener, in testForSpecificEvents_filterByUserDuplicatedEventTypes() local
217 CountDownLatch latch = sendAsyncEvents(listener, in testForSpecificEvents_filterByPreviousUser() local
249 CountDownLatch latch = sendAsyncEvents(listener, in testForSpecificEvents_filterByPreviousAndTargetUsers() local
291 CountDownLatch latch = new CountDownLatch(1); in sendAsyncEvents() local
/aosp_15_r20/cts/tests/inputmethod/src/android/view/inputmethod/cts/
H A DInputConnectionHandlerTest.java155 final CountDownLatch latch = new CountDownLatch(1); in testCommitText() local
232 final CountDownLatch latch = new CountDownLatch(1); in testCloseConnectionWithRestartInput() local
311 final CountDownLatch latch = new CountDownLatch(1); in testCloseConnectionWithLosingViewFocus() local
389 final CountDownLatch latch = new CountDownLatch(1); in testCloseConnectionWithLosingWindowFocus() local
462 final CountDownLatch latch = new CountDownLatch(1); in testReportFullscreenMode() local
658 final CountDownLatch latch = new CountDownLatch(1); in create() local
727 final CountDownLatch latch = new CountDownLatch(1); in testExceptionFromGetSurroundingText() local
/aosp_15_r20/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/
DLauncherPrefsTest.kt64 val latch = CountDownLatch(1) in addListener_listeningForStringItemUpdates_isCorrectlyNotifiedOfUpdates() constant
79 val latch = CountDownLatch(1) in removeListener_previouslyListeningForStringItemUpdates_isNoLongerNotifiedOfUpdates() constant
95 var latch = CountDownLatch(3) in addListenerAndRemoveListener_forMultipleItems_bothWorkProperly() variable
/aosp_15_r20/frameworks/base/services/autofill/java/com/android/server/autofill/
H A DAutofillManagerServiceShellCommand.java306 final CountDownLatch latch = new CountDownLatch(1); in getFieldClassificationScore() local
433 CountDownLatch latch = new CountDownLatch(1); in getSavedPasswordCount() local
456 final CountDownLatch latch = new CountDownLatch(1); in requestDestroy() local
472 final CountDownLatch latch = new CountDownLatch(1); in requestList() local
496 private int requestSessionCommon(PrintWriter pw, CountDownLatch latch, in requestSessionCommon()
502 private int waitForLatch(PrintWriter pw, CountDownLatch latch) { in waitForLatch()
/aosp_15_r20/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DIccFileHandlerTest.java216 final CountDownLatch latch = new CountDownLatch(1); in loadEFLinearFixedAll_FileNotFoundAtGetRecord() local
241 final CountDownLatch latch = new CountDownLatch(2); in loadEFLinearFixedAll_FileNotFoundAtReadRecord() local
272 final CountDownLatch latch = new CountDownLatch(1); in loadEFLinearFixedAll_ExceptionAtGetRecord() local
298 final CountDownLatch latch = new CountDownLatch(2); in loadEFLinearFixedAll_ExceptionAtReadRecord() local
335 final CountDownLatch latch = new CountDownLatch(2); in loadEFLinearFixedAll_FullLoop() local
/aosp_15_r20/frameworks/base/core/tests/coretests/src/android/window/
H A DBackNavigationTest.java68 CountDownLatch latch = registerBackCallback(); in registerCallback_initialized() local
76 CountDownLatch latch = registerBackCallback(); in registerCallback_created() local
87 CountDownLatch latch = registerBackCallback(); in registerCallback_resumed() local
91 private void assertCallbackIsCalled(CountDownLatch latch) { in assertCallbackIsCalled()
/aosp_15_r20/external/kotlinx.coroutines/integration/kotlinx-coroutines-guava/test/
H A DListenableFutureTest.kt204 val latch = CountDownLatch(1) in <lambda>() constant
226 val latch = CountDownLatch(1) in <lambda>() constant
247 val latch = CountDownLatch(1) in <lambda>() constant
270 val latch = CountDownLatch(1) in testAsListenableFutureCancellationPropagatingToDeferredNoInterruption() constant
294 val latch = CountDownLatch(1) in <lambda>() constant
469 val latch = CountDownLatch(1) in <lambda>() constant
712 val latch = CountDownLatch(1) in awaitFutureWithCancel() constant

12345678910>>...59