Home
last modified time | relevance | path

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

123

/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DUserLifecycleTests.java106 final CountDownLatch latch = new CountDownLatch(1); in createAndStartUser() local
141 final CountDownLatch latch = new CountDownLatch(1); in switchUser_stopped() local
180 final CountDownLatch latch = new CountDownLatch(1); in stopUser() local
200 final CountDownLatch latch = new CountDownLatch(1); in lockedBootCompleted() local
220 final CountDownLatch latch = new CountDownLatch(1); in managedProfileUnlock() local
269 final CountDownLatch latch = new CountDownLatch(1); in ephemeralUserStopped() local
299 final CountDownLatch latch = new CountDownLatch(1); in managedProfileStopped() local
314 final CountDownLatch latch = new CountDownLatch(1); in switchUser() local
321 final CountDownLatch latch = new CountDownLatch(1); in stopUser() local
384 private void registerBroadcastReceiver(final String action, final CountDownLatch latch, in registerBroadcastReceiver()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountManagerServiceTest.java548 final CountDownLatch latch = new CountDownLatch(1); in testStartAddAccountSessionSuccessWithoutPasswordForwarding() local
579 final CountDownLatch latch = new CountDownLatch(1); in testStartAddAccountSessionSuccessWithPasswordForwarding() local
619 final CountDownLatch latch = new CountDownLatch(1); in testStartAddAccountSessionReturnWithInvalidIntent() local
648 final CountDownLatch latch = new CountDownLatch(1); in testStartAddAccountSessionReturnWithValidIntent() local
679 final CountDownLatch latch = new CountDownLatch(1); in testStartAddAccountSessionError() local
734 final CountDownLatch latch = new CountDownLatch(1); in testStartUpdateCredentialsSessionSuccessWithoutPasswordForwarding() local
764 final CountDownLatch latch = new CountDownLatch(1); in testStartUpdateCredentialsSessionSuccessWithPasswordForwarding() local
803 final CountDownLatch latch = new CountDownLatch(1); in testStartUpdateCredentialsSessionReturnWithInvalidIntent() local
832 final CountDownLatch latch = new CountDownLatch(1); in testStartUpdateCredentialsSessionReturnWithValidIntent() local
863 final CountDownLatch latch = new CountDownLatch(1); in testStartUpdateCredentialsSessionError() local
[all …]
/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/GamePerformance/src/android/gameperformance/
DGamePerformanceActivity.java41 final CountDownLatch latch = new CountDownLatch(1); in attachSurfaceView() local
64 final CountDownLatch latch = new CountDownLatch(1); in attachOpenGLView() local
DGamePerformanceTest.java58 CountDownLatch latch = new CountDownLatch(1); in testGraphicBufferMetrics() local
/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/autofill/java/com/android/server/autofill/
DAutofillManagerServiceShellCommand.java246 final CountDownLatch latch = new CountDownLatch(1); in getFieldClassificationScore() local
351 final CountDownLatch latch = new CountDownLatch(1); in requestDestroy() local
367 final CountDownLatch latch = new CountDownLatch(1); in requestList() local
391 private int requestSessionCommon(PrintWriter pw, CountDownLatch latch, in requestSessionCommon()
397 private int waitForLatch(PrintWriter pw, CountDownLatch latch) { in waitForLatch()
/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/android/content/
DAbstractCrossUserContentResolverTest.java82 final CountDownLatch latch = new CountDownLatch(1); in unlockUser() local
165 public CrossUserContentServiceConnection(CountDownLatch latch) { in CrossUserContentServiceConnection()
189 public TestContentObserver(CountDownLatch latch, Uri exptectedUri, int expectedUserId) { in TestContentObserver()
/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/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DAppOpsInfoTest.java116 final CountDownLatch latch = new CountDownLatch(1); in testBindNotification_SetsOnClickListenerForSettings() local
135 final CountDownLatch latch = new CountDownLatch(1); in testOk() local
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskStackChangedListenerTest.java113 final CountDownLatch latch = new CountDownLatch(1); in testTaskDescriptionChanged() local
146 final CountDownLatch latch = new CountDownLatch(1); in testActivityRequestedOrientationChanged() local
344 private void waitForCallback(CountDownLatch latch) { in waitForCallback()
DHighRefreshRateBlacklistTest.java150 CountDownLatch latch = new CountDownLatch(mListeners.size()); in setBlacklist() local
DDragDropControllerTests.java138 final CountDownLatch latch; in tearDown() local
/frameworks/base/core/java/android/permission/
DPermissionControllerService.java267 CountDownLatch latch = new CountDownLatch(1); in onBind() local
285 CountDownLatch latch = new CountDownLatch(1); in onBind() local
340 CountDownLatch latch = new CountDownLatch(1); in onBind() 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.java89 public ConfigListener(int capability, int tech, CountDownLatch latch) { in ConfigListener()
294 CountDownLatch latch = new CountDownLatch(1); in queryCapabilityConfiguration() local
328 CountDownLatch latch = new CountDownLatch(1); in changeEnabledCapabilities() local
353 CountDownLatch latch = new CountDownLatch(1); in changeEnabledCapabilities() local
/frameworks/base/core/tests/coretests/src/android/view/
DViewGroupTransientViewTest.java122 final CountDownLatch latch = new CountDownLatch(1); in drawTransientView() local
DViewInvalidateTest.java295 final CountDownLatch latch = new CountDownLatch(1); in runOnMainAndDrawSync() local
/frameworks/native/libs/gui/include/gui/
DITransactionCompletedListener.h60 TransactionStats(const std::vector<CallbackId>& ids, nsecs_t latch, const sp<Fence>& present, in TransactionStats()
/frameworks/base/core/tests/coretests/src/android/widget/
DEditorCursorTest.java206 final CountDownLatch latch = new CountDownLatch(1); in setEditTextProperties() local
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBstatsCpuTimesValidationTest.java725 final CountDownLatch latch = new CountDownLatch(1); in startIsolatedService() local
754 final CountDownLatch latch = new CountDownLatch(1); in startForegroundService() local
781 final CountDownLatch latch = new CountDownLatch(1); in startService() local
807 final CountDownLatch latch = new CountDownLatch(1); in startActivity() local
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccController.java764 final CountDownLatch latch = new CountDownLatch(1); in blockingGetEuiccProfileInfoList() local
1358 CountDownLatch latch = new CountDownLatch(1); in blockingGetEidFromEuiccService() local
1376 CountDownLatch latch = new CountDownLatch(1); in blockingGetOtaStatusFromEuiccService() local
1396 CountDownLatch latch = new CountDownLatch(1); in blockingGetEuiccInfoFromEuiccService() local
1413 private static <T> T awaitResult(CountDownLatch latch, AtomicReference<T> resultRef) { in awaitResult()

123