/aosp_15_r20/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
H A D | AccountManagerServiceTest.java | 606 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 D | HttpJsonDirectServerStreamingCallableTest.java | 180 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 D | GrpcDirectServerStreamingCallableTest.java | 119 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 D | GrpcDirectStreamingCallableTest.java | 95 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 D | BackNavigationTests.java | 64 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/ |
D | HealthConnectServiceLogsTests.java | 366 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/ |
D | UserDaoTest.kt | 70 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 D | CoroutineSchedulerTest.kt | 18 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/ |
D | LoadUsersUseCaseTest.kt | 111 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/ |
D | CancelableAlarmTest.java | 39 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 D | MediaProjectionTest.java | 127 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 D | MediaProjectionStoppingTest.java | 153 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 D | MediaSession2ServiceTest.java | 126 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/ |
D | AbstractActionHandlerTest.java | 295 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 D | FirstTest.kt | 34 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/ |
D | GarageModeTest.java | 143 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 D | TimedSemaphoreTest.java | 215 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 D | BugreportManagerTest.java | 130 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/ |
D | BlockingUserLifecycleListenerUnitTest.java | 126 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 D | InputConnectionHandlerTest.java | 155 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/ |
D | LauncherPrefsTest.kt | 64 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 D | AutofillManagerServiceShellCommand.java | 306 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/ |
D | IccFileHandlerTest.java | 216 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 D | BackNavigationTest.java | 68 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 D | ListenableFutureTest.kt | 204 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
|