Home
last modified time | relevance | path

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

123

/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DUserLifecycleTests.java104 final CountDownLatch latch = new CountDownLatch(1); in createAndStartUser() local
137 final CountDownLatch latch = new CountDownLatch(1); in stopUser() local
157 final CountDownLatch latch = new CountDownLatch(1); in lockedBootCompleted() local
177 final CountDownLatch latch = new CountDownLatch(1); in managedProfileUnlock() local
198 final CountDownLatch latch = new CountDownLatch(1); in ephemeralUserStopped() local
228 final CountDownLatch latch = new CountDownLatch(1); in managedProfileStopped() local
243 final CountDownLatch latch = new CountDownLatch(1); in switchUser() local
250 final CountDownLatch latch = new CountDownLatch(1); in stopUser() local
284 private void registerBroadcastReceiver(final String action, final CountDownLatch latch, in registerBroadcastReceiver()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountManagerServiceTest.java545 final CountDownLatch latch = new CountDownLatch(1); in testStartAddAccountSessionSuccessWithoutPasswordForwarding() local
576 final CountDownLatch latch = new CountDownLatch(1); in testStartAddAccountSessionSuccessWithPasswordForwarding() local
614 final CountDownLatch latch = new CountDownLatch(1); in testStartAddAccountSessionReturnWithInvalidIntent() local
643 final CountDownLatch latch = new CountDownLatch(1); in testStartAddAccountSessionReturnWithValidIntent() local
674 final CountDownLatch latch = new CountDownLatch(1); in testStartAddAccountSessionError() local
729 final CountDownLatch latch = new CountDownLatch(1); in testStartUpdateCredentialsSessionSuccessWithoutPasswordForwarding() local
759 final CountDownLatch latch = new CountDownLatch(1); in testStartUpdateCredentialsSessionSuccessWithPasswordForwarding() local
796 final CountDownLatch latch = new CountDownLatch(1); in testStartUpdateCredentialsSessionReturnWithInvalidIntent() local
825 final CountDownLatch latch = new CountDownLatch(1); in testStartUpdateCredentialsSessionReturnWithValidIntent() local
856 final CountDownLatch latch = new CountDownLatch(1); in testStartUpdateCredentialsSessionError() local
[all …]
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/util/
DKeyboardUtil.java80 final CountDownLatch latch = new CountDownLatch(1); in setComposingTextInBatch() local
98 final CountDownLatch latch = new CountDownLatch(1); in deleteSurroundingText() local
119 final CountDownLatch latch = new CountDownLatch(1); in setSelection() local
133 final CountDownLatch latch = new CountDownLatch(1); in initTextViewForSimulatedIme() local
/frameworks/support/fragment/tests/java/android/support/v4/app/
DNestedFragmentTest.java61 final CountDownLatch latch = new CountDownLatch(1); in setup() local
91 final CountDownLatch latch = new CountDownLatch(1); in testNestedFragmentStartActivityForResult() local
DNestedFragmentRestoreTest.java71 final CountDownLatch latch = new CountDownLatch(1); in recreateActivity() local
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/
DTextToSpeechTests.java190 final CountDownLatch latch = new CountDownLatch(1); in blockingCallSpeak() local
203 final CountDownLatch latch = new CountDownLatch(1); in blockingInitAndVerify() local
217 public static CountDownBehaviour doCountDown(final CountDownLatch latch) { in doCountDown()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerServiceShellCommand.java173 final CountDownLatch latch = new CountDownLatch(1); in requestDestroy() local
189 final CountDownLatch latch = new CountDownLatch(1); in requestList() local
222 private int requestSessionCommon(PrintWriter pw, CountDownLatch latch, in requestSessionCommon()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DTaskStackChangedListenerTest.java98 final CountDownLatch latch = new CountDownLatch(1); in testTaskDescriptionChanged() local
126 final CountDownLatch latch = new CountDownLatch(1); in testActivityRequestedOrientationChanged() local
233 private void waitForCallback(CountDownLatch latch) { in waitForCallback()
/frameworks/base/core/tests/coretests/src/android/transition/
DFadeTransitionTest.java52 TransitionLatch latch = setVisibilityInTransition(fadeOut, R.id.square1, View.INVISIBLE); in testFadeOutAndIn() local
175 TransitionLatch latch = new TransitionLatch(); in setVisibilityInTransition() local
191 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/core/tests/coretests/src/android/content/
DAbstractCrossUserContentResolverTest.java140 public CrossUserContentServiceConnection(CountDownLatch latch) { in CrossUserContentServiceConnection()
164 public TestContentObserver(CountDownLatch latch, Uri exptectedUri, int expectedUserId) { in TestContentObserver()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationInfoTest.java260 final CountDownLatch latch = new CountDownLatch(1); in testBindNotification_SetsOnClickListenerForSettings() local
302 final CountDownLatch latch = new CountDownLatch(1); in testOnClickListenerPassesNullChannelForBundle() local
362 final CountDownLatch latch = new CountDownLatch(1); in testBindNotification_SetsOnClickListenerForDone() local
779 final CountDownLatch latch = new CountDownLatch(1); in testDisplaySettingsLink() local
810 final CountDownLatch latch = new CountDownLatch(1); in testDisplaySettingsLink_multipleChannels() local
/frameworks/support/compat/tests/java/android/support/v4/widget/
DListViewCompatTest.java97 final CountDownLatch latch = new CountDownLatch(1); in runOnMainAndLayoutSync() local
/frameworks/support/lifecycle/integration-tests/testapp/src/androidTest/java/android/arch/lifecycle/
DTestUtils.java65 final CountDownLatch latch = new CountDownLatch(1); in waitTillResumed() local
/frameworks/support/core-ui/tests/java/android/support/v4/widget/
DSwipeRefreshLayoutTest.java167 final CountDownLatch latch = new CountDownLatch(1); in swipeToRefreshVerifyThenStopRefreshing() local
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DWifiTrackerTest.java303 CountDownLatch latch = new CountDownLatch(1); in startTracking() local
448 CountDownLatch latch = new CountDownLatch(1); in startAndStopTrackingShouldRegisterAndUnregisterScoreCache() local
734 CountDownLatch latch = new CountDownLatch(1); in rssiChangeBroadcastShouldUpdateConnectedAp() local
781 CountDownLatch latch = new CountDownLatch(1); in stopTrackingShouldRemoveWifiListenerCallbacks() local
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DWrappedRecyclerView.java84 final CountDownLatch latch = new CountDownLatch(1); in waitUntilAnimations() local
/frameworks/support/lifecycle/extensions/src/androidTest/java/android/arch/lifecycle/
DViewModelTest.java116 final CountDownLatch latch = new CountDownLatch(1); in testOnClear() local
DServiceLifecycleTest.java203 final CountDownLatch latch = new CountDownLatch(1); in bindToService() local
/frameworks/support/graphics/drawable/animated/tests/src/android/support/graphics/drawable/tests/
DAnimatedVectorDrawableTest.java303 CountDownLatch latch = new CountDownLatch(numTests); in testAnimateColor() local
330 final Bitmap bitmap, final Canvas canvas, final CountDownLatch latch) throws Throwable { in verifyRedOnly()
/frameworks/base/core/tests/coretests/src/android/widget/
DEditorCursorTest.java204 final CountDownLatch latch = new CountDownLatch(1); in setEditTextProperties() local
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccController.java445 final CountDownLatch latch = new CountDownLatch(1); in blockingGetEuiccProfileInfoList() local
924 CountDownLatch latch = new CountDownLatch(1); in blockingGetEidFromEuiccService() local
943 CountDownLatch latch = new CountDownLatch(1); in blockingGetEuiccInfoFromEuiccService() local
960 private static <T> T awaitResult(CountDownLatch latch, AtomicReference<T> resultRef) { in awaitResult()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DPerformAdbRestoreTask.java145 IFullBackupRestoreObserver observer, AtomicBoolean latch) { in PerformAdbRestoreTask()
823 final AdbRestoreFinishedLatch latch = new AdbRestoreFinishedLatch( in tearDownAgent() local
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutBitmapSaver.java116 final CountDownLatch latch = new CountDownLatch(1); in waitForAllSavesLocked() local

123