Home
last modified time | relevance | path

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

1234

/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountManagerServiceTest.java562 final CountDownLatch latch = new CountDownLatch(1); in testStartAddAccountSessionSuccessWithoutPasswordForwarding() local
593 final CountDownLatch latch = new CountDownLatch(1); in testStartAddAccountSessionSuccessWithPasswordForwarding() local
633 final CountDownLatch latch = new CountDownLatch(1); in testStartAddAccountSessionReturnWithInvalidIntent() local
662 final CountDownLatch latch = new CountDownLatch(1); in testStartAddAccountSessionReturnWithValidIntent() local
693 final CountDownLatch latch = new CountDownLatch(1); in testStartAddAccountSessionError() local
748 final CountDownLatch latch = new CountDownLatch(1); in testStartUpdateCredentialsSessionSuccessWithoutPasswordForwarding() local
778 final CountDownLatch latch = new CountDownLatch(1); in testStartUpdateCredentialsSessionSuccessWithPasswordForwarding() local
817 final CountDownLatch latch = new CountDownLatch(1); in testStartUpdateCredentialsSessionReturnWithInvalidIntent() local
846 final CountDownLatch latch = new CountDownLatch(1); in testStartUpdateCredentialsSessionReturnWithValidIntent() local
877 final CountDownLatch latch = new CountDownLatch(1); in testStartUpdateCredentialsSessionError() local
[all …]
/frameworks/base/tests/GamePerformance/src/android/gameperformance/
DGamePerformanceActivity.java59 final CountDownLatch latch = new CountDownLatch(1); in attachSurfaceView() local
79 final CountDownLatch latch = new CountDownLatch(1); in attachOpenGLView() local
98 final CountDownLatch latch = new CountDownLatch(1); in attachControlView() local
DCustomControlView.java71 final CountDownLatch latch = new CountDownLatch(1); in createControls() local
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DUserLifecycleTests.java161 final CountDownLatch latch = new CountDownLatch(1); in createAndStartUser() local
182 final CountDownLatch latch = new CountDownLatch(1); in startUser() local
238 final CountDownLatch latch = new CountDownLatch(1); in switchUser_stopped() local
276 final CountDownLatch latch = new CountDownLatch(1); in stopUser() local
296 final CountDownLatch latch = new CountDownLatch(1); in lockedBootCompleted() local
317 final CountDownLatch latch = new CountDownLatch(1); in ephemeralUserStopped() local
614 final CountDownLatch latch = new CountDownLatch(1); in switchUserNoCheck() local
626 final CountDownLatch latch = new CountDownLatch(1); in stopUser() local
672 final CountDownLatch latch = new CountDownLatch(1); in installPreexistingApp() local
724 private void registerBroadcastReceiver(final String action, final CountDownLatch latch, in registerBroadcastReceiver()
[all …]
/frameworks/base/core/java/com/android/internal/inputmethod/
DCancellationGroup.java49 boolean registerLatch(@NonNull CountDownLatch latch) { in registerLatch()
65 void unregisterLatch(@NonNull CountDownLatch latch) { in unregisterLatch()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerServiceShellCommand.java252 final CountDownLatch latch = new CountDownLatch(1); in getFieldClassificationScore() local
353 CountDownLatch latch = new CountDownLatch(1); in getSavedPasswordCount() local
376 final CountDownLatch latch = new CountDownLatch(1); in requestDestroy() local
392 final CountDownLatch latch = new CountDownLatch(1); in requestList() local
416 private int requestSessionCommon(PrintWriter pw, CountDownLatch latch, in requestSessionCommon()
422 private int waitForLatch(PrintWriter pw, CountDownLatch latch) { in waitForLatch()
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/
DContentCaptureManagerServiceShellCommand.java185 final CountDownLatch latch = new CountDownLatch(1); in requestDestroy() local
201 final CountDownLatch latch = new CountDownLatch(1); in requestList() local
225 private int requestSessionCommon(PrintWriter pw, CountDownLatch latch, in requestSessionCommon()
231 private int waitForLatch(PrintWriter pw, CountDownLatch latch) { in waitForLatch()
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/
DTextToSpeechTests.java191 final CountDownLatch latch = new CountDownLatch(1); in blockingCallSpeak() local
204 final CountDownLatch latch = new CountDownLatch(1); in blockingInitAndVerify() local
222 public static CountDownBehaviour doCountDown(final CountDownLatch latch) { in doCountDown()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DRecoverySnapshotListenersStorageTest.java58 CountDownLatch latch = new CountDownLatch(1); in setSnapshotListener_invokesIntentImmediatelyIfPreviouslyNotified() local
79 CountDownLatch latch = new CountDownLatch(2); in setSnapshotListener_doesNotRepeatedlyInvokeListener() local
/frameworks/base/core/tests/coretests/src/com/android/internal/infra/
DAndroidFutureTest.java53 CountDownLatch latch = new CountDownLatch(1); in testWhenComplete_AlreadyComplete() local
65 CountDownLatch latch = new CountDownLatch(1); in testWhenComplete_NotYetComplete() local
92 CountDownLatch latch = new CountDownLatch(1); in testCompleteExceptionally_Listener() local
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DShellExecutor.java47 final CountDownLatch latch = new CountDownLatch(1); in executeBlocking() local
71 final CountDownLatch latch = new CountDownLatch(1); in executeBlockingForResult() local
/frameworks/base/core/tests/coretests/src/android/content/
DAbstractCrossUserContentResolverTest.java83 final CountDownLatch latch = new CountDownLatch(1); in unlockUser() local
166 public CrossUserContentServiceConnection(CountDownLatch latch) { in CrossUserContentServiceConnection()
190 public TestContentObserver(CountDownLatch latch, Uri exptectedUri, int expectedUserId) { in TestContentObserver()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/animation/
DPhysicsAnimatorTestUtils.kt80 val latch = CountDownLatch(1) in <lambda>() constant
129 val latch = CountDownLatch(animatingProperties.size) in <lambda>() constant
185 val latch = CountDownLatch(1) in <lambda>() constant
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskStackChangedListenerTest.java125 final CountDownLatch latch = new CountDownLatch(1); in testTaskStackChanged_afterFinish() local
140 final CountDownLatch latch = new CountDownLatch(1); in testTaskStackChanged_resumeWhilePausing() local
156 final CountDownLatch latch = new CountDownLatch(1); in testTaskDescriptionChanged() local
189 final CountDownLatch latch = new CountDownLatch(1); in testActivityRequestedOrientationChanged() local
403 private void waitForCallback(CountDownLatch latch) { in waitForCallback()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DScrollCaptureFrameworkSmokeTest.java68 final CountDownLatch latch = new CountDownLatch(1); in testBasicOperation() local
DScrollCaptureClientTest.java112 CountDownLatch latch = new CountDownLatch(1); in testDetectAndConnect() local
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DSystemActionPerformerTest.java229 final CountDownLatch latch = new CountDownLatch(1); in testPerformSystemActionNewAction() local
248 final CountDownLatch latch = new CountDownLatch(1); in testPerformSystemActionOverrideLegacyActionUsingLegacyActionId() local
323 TestBroadcastReceiver(CountDownLatch latch) { in TestBroadcastReceiver()
/frameworks/base/core/tests/coretests/src/android/transition/
DFadeTransitionTest.java53 TransitionLatch latch = setVisibilityInTransition(fadeOut, R.id.square1, View.INVISIBLE); in testFadeOutAndIn() local
176 TransitionLatch latch = new TransitionLatch(); in setVisibilityInTransition() local
192 final CountDownLatch latch = new CountDownLatch(2); in waitForAnimation() local
DSlideTransitionTest.java58 TransitionLatch latch = setVisibilityInTransition(slideOut, R.id.square1, View.INVISIBLE); in testShortSlide() local
94 TransitionLatch latch = new TransitionLatch(); in setVisibilityInTransition() local
/frameworks/base/services/backup/java/com/android/server/backup/params/
DAdbParams.java30 public final AtomicBoolean latch; field in AdbParams
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/blob/
DBlobStoreConfigTest.java88 final CountDownLatch latch = new CountDownLatch(1); in waitForListenerToHandle() local
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DPartialConversationInfoTest.java247 final CountDownLatch latch = new CountDownLatch(1); in testBindNotification_SetsOnClickListenerForSettings() local
271 final CountDownLatch latch = new CountDownLatch(1); in testBindNotification_SetsOnClickListenerForSettings_mainText() local
/frameworks/base/core/tests/coretests/src/android/text/
DSpannableTest.java70 final CountDownLatch latch = new CountDownLatch(1); in testRemoveSpanWithIntermediateFlag() local
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DMmTelFeatureCompatAdapter.java93 public ConfigListener(int capability, int tech, CountDownLatch latch) { in ConfigListener()
298 CountDownLatch latch = new CountDownLatch(1); in queryCapabilityConfiguration() local
332 CountDownLatch latch = new CountDownLatch(1); in changeEnabledCapabilities() local
357 CountDownLatch latch = new CountDownLatch(1); in changeEnabledCapabilities() local
/frameworks/base/core/tests/coretests/src/android/view/
DViewRootImplTest.java207 final CountDownLatch latch = new CountDownLatch(1); in requestScrollCapture_withoutContentRoot() local
238 final CountDownLatch latch = new CountDownLatch(1); in requestScrollCapture_timeout() local

1234