Home
last modified time | relevance | path

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

123456

/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
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 …]
/frameworks/base/core/tests/coretests/src/android/window/
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()
/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
/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
/frameworks/libs/systemui/weathereffects/graphics/tests/src/com/google/android/wallpaper/weathereffects/graphics/
DFrameBufferTest.kt45 val latch = CountDownLatch(1) in onImageReady_invokesCallback() constant
78 val latch = CountDownLatch(1) in close_onImageReady_doesNotInvokeCallback() constant
/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger/
DDeviceStateHandlerTest.java89 CountDownLatch latch; in waitAndAssertState() local
101 CountDownLatch latch; in waitToConfirmNoEventReceived() local
252 CountDownLatch latch; in whenPhoneCallReceived_receiveStateChangeFast() local
/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/services/autofill/java/com/android/server/autofill/
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()
/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.java62 CountDownLatch latch = new CountDownLatch(1); in setSnapshotListener_invokesIntentImmediatelyIfPreviouslyNotified() local
85 CountDownLatch latch = new CountDownLatch(2); in setSnapshotListener_doesNotRepeatedlyInvokeListener() local
/frameworks/base/libs/WindowManager/Shell/shared/src/com/android/wm/shell/shared/animation/
DPhysicsAnimatorTestUtils.kt77 val latch = CountDownLatch(1) in <lambda>() constant
126 val latch = CountDownLatch(animatingProperties.size) in <lambda>() constant
182 val latch = CountDownLatch(1) in <lambda>() constant
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskStackChangedListenerTest.java140 final CountDownLatch latch = new CountDownLatch(1); in testTaskStackChanged_afterFinish() local
155 final CountDownLatch latch = new CountDownLatch(1); in testTaskStackChanged_resumeWhilePausing() local
171 final CountDownLatch latch = new CountDownLatch(2); in testTaskDescriptionChanged() local
203 final CountDownLatch latch = new CountDownLatch(1); in testActivityRequestedOrientationChanged() local
425 private void waitForCallback(CountDownLatch latch) { in waitForCallback()
/frameworks/base/core/tests/coretests/src/android/content/
DAbstractCrossUserContentResolverTest.java89 final CountDownLatch latch = new CountDownLatch(1); in unlockUser() local
175 public CrossUserContentServiceConnection(CountDownLatch latch) { in CrossUserContentServiceConnection()
199 public TestContentObserver(CountDownLatch latch, Uri exptectedUri, int expectedUserId) { in TestContentObserver()
/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/animation/
DAnimatorSetCallsTest.java362 CountDownLatch latch = new CountDownLatch(3); in reentrantStart() local
382 CountDownLatch latch = new CountDownLatch(3); in reentrantEnd() local
405 CountDownLatch latch = new CountDownLatch(3); in reentrantPause() local
428 CountDownLatch latch = new CountDownLatch(3); in reentrantResume() local
/frameworks/base/core/tests/coretests/src/com/android/internal/infra/
DAndroidFutureTest.java54 CountDownLatch latch = new CountDownLatch(1); in testWhenComplete_AlreadyComplete() local
66 CountDownLatch latch = new CountDownLatch(1); in testWhenComplete_NotYetComplete() local
93 CountDownLatch latch = new CountDownLatch(1); in testCompleteExceptionally_Listener() local
/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
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DSystemActionPerformerTest.java233 final CountDownLatch latch = new CountDownLatch(1); in testPerformSystemActionNewAction() local
252 final CountDownLatch latch = new CountDownLatch(1); in testPerformSystemActionOverrideLegacyActionUsingLegacyActionId() local
318 TestBroadcastReceiver(CountDownLatch latch) { in TestBroadcastReceiver()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
DControlsFavoritingActivityTest.kt62 val latch = CountDownLatch(1) in waitForPost() constant
75 private var latch: CountDownLatch = CountDownLatch(1) variable in com.android.systemui.controls.management.ControlsFavoritingActivityTest
186 private val latch: CountDownLatch constant
/frameworks/base/services/tests/servicestests/src/com/android/server/location/contexthub/
DContextHubClientBrokerTest.java152 CountDownLatch latch = new CountDownLatch(1); in testWakeLock_pendingIntent() local
182 CountDownLatch latch = new CountDownLatch(3); in testWakeLock_pendingIntent_multipleTimes() local
/frameworks/base/core/tests/coretests/src/android/os/
DRemoteCallbackTest.java42 final CountDownLatch latch = new CountDownLatch(1); in testSimple() local
DResultReceiverTest.java42 final CountDownLatch latch = new CountDownLatch(1); in testSimple() local
DCancellationSignalTest.java43 final CountDownLatch latch = new CountDownLatch(1); in testSimple() local
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/scroll/
DScrollCaptureFrameworkSmokeTest.java68 final CountDownLatch latch = new CountDownLatch(1); in testBasicOperation() local
/frameworks/base/services/backup/java/com/android/server/backup/params/
DAdbParams.java30 public final AtomicBoolean latch; field in AdbParams

123456