Home
last modified time | relevance | path

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

12

/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DUserLifecycleTest.java109 final CountDownLatch latch = new CountDownLatch(1); in createAndStartUserPerf() local
142 final CountDownLatch latch = new CountDownLatch(1); in stopUserPerf() local
162 final CountDownLatch latch = new CountDownLatch(1); in lockedBootCompletedPerf() local
182 final CountDownLatch latch = new CountDownLatch(1); in managedProfileUnlockPerf() local
203 final CountDownLatch latch = new CountDownLatch(1); in ephemeralUserStoppedPerf() local
228 final CountDownLatch latch = new CountDownLatch(1); in switchUser() local
235 final CountDownLatch latch = new CountDownLatch(1); in stopUser() local
269 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.java50 TransitionLatch latch = setVisibilityInTransition(fadeOut, R.id.square1, View.INVISIBLE); in testFadeOutAndIn() local
136 TransitionLatch latch = new TransitionLatch(); in setVisibilityInTransition() local
152 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/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationInfoTest.java249 final CountDownLatch latch = new CountDownLatch(1); in testBindNotification_SetsOnClickListenerForSettings() local
291 final CountDownLatch latch = new CountDownLatch(1); in testOnClickListenerPassesNullChannelForBundle() local
336 final CountDownLatch latch = new CountDownLatch(1); in testBindNotification_SetsOnClickListenerForDone() local
740 final CountDownLatch latch = new CountDownLatch(1); in testDisplaySettingsLink() local
771 final CountDownLatch latch = new CountDownLatch(1); in testDisplaySettingsLink_multipleChannels() local
/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/support/compat/tests/java/android/support/v4/widget/
DListViewCompatTest.java95 final CountDownLatch latch = new CountDownLatch(1); in runOnMainAndLayoutSync() local
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DWifiTrackerTest.java283 CountDownLatch latch = new CountDownLatch(1); in startTracking() local
391 CountDownLatch latch = new CountDownLatch(1); in startAndStopTrackingShouldRegisterAndUnregisterScoreCache() local
662 CountDownLatch latch = new CountDownLatch(1); in rssiChangeBroadcastShouldUpdateConnectedAp() local
715 CountDownLatch latch = new CountDownLatch(1); in stopTrackingShouldRemoveWifiListenerCallbacks() local
/frameworks/support/core-ui/tests/java/android/support/v4/widget/
DSwipeRefreshLayoutTest.java167 final CountDownLatch latch = new CountDownLatch(1); in swipeToRefreshVerifyThenStopRefreshing() local
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DWrappedRecyclerView.java84 final CountDownLatch latch = new CountDownLatch(1); in waitUntilAnimations() local
DRecyclerViewFastScrollerTest.java203 final CountDownLatch latch = new CountDownLatch(1); in properCleanUp() local
DFocusSearchNavigationTest.java215 final CountDownLatch latch = new CountDownLatch(1); in waitForIdleScroll() 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.java210 final CountDownLatch latch = new CountDownLatch(1); in setEditTextProperties() local
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DConnOnActivityStartTest.java356 final CountDownLatch latch = new CountDownLatch(1); in startActivityAndCheckNetworkAccess() local
422 final CountDownLatch latch = new CountDownLatch(1); in installAppAndAssertInstalled() local
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutBitmapSaver.java116 final CountDownLatch latch = new CountDownLatch(1); in waitForAllSavesLocked() local
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DDocumentLoaderTest.java218 final CountDownLatch latch = blockedDocuments.get(pack(deviceId, objectHandle)); in getObjectInfo() local
/frameworks/base/services/tests/servicestests/src/com/android/server/
DLockSettingsStorageTests.java154 final CountDownLatch latch = new CountDownLatch(1); in testKeyValue_CacheStarvedWriter() local
/frameworks/base/services/tests/servicestests/src/com/android/server/appwidget/
DAppWidgetServiceImplTest.java286 CountDownLatch latch = new CountDownLatch(1); in flushMainThread() local

12