Home
last modified time | relevance | path

Searched refs:waitForLatch (Results 1 – 8 of 8) sorted by relevance

/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
H A DAccountManagerServiceTest.java573 waitForLatch(latch); in testStartAddAccountSessionSuccessWithoutPasswordForwarding()
605 waitForLatch(latch); in testStartAddAccountSessionSuccessWithPasswordForwarding()
645 waitForLatch(latch); in testStartAddAccountSessionReturnWithInvalidIntent()
674 waitForLatch(latch); in testStartAddAccountSessionReturnWithValidIntent()
703 waitForLatch(latch); in testStartAddAccountSessionError()
758 waitForLatch(latch); in testStartUpdateCredentialsSessionSuccessWithoutPasswordForwarding()
789 waitForLatch(latch); in testStartUpdateCredentialsSessionSuccessWithPasswordForwarding()
829 waitForLatch(latch); in testStartUpdateCredentialsSessionReturnWithInvalidIntent()
858 waitForLatch(latch); in testStartUpdateCredentialsSessionReturnWithValidIntent()
887 waitForLatch(latch); in testStartUpdateCredentialsSessionError()
[all …]
/aosp12/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
H A DUserLifecycleTests.java166 waitForLatch("Failed to achieve ACTION_USER_STARTED for user " + userId, latch); in createAndStartUser()
187 waitForLatch("Failed to achieve ACTION_USER_STARTED for user " + userId, latch); in startUser()
243 waitForLatch("Failed to achieve 2nd ACTION_USER_UNLOCKED for user " + testUser, latch); in switchUser_stopped()
279 waitForLatch("Failed to achieve ACTION_USER_STARTED for user " + userId, latch); in stopUser()
301 waitForLatch("Failed to achieve onLockedBootComplete for user " + userId, latch); in lockedBootCompleted()
332 waitForLatch("Failed to achieve ACTION_USER_STOPPED for user " + userId, latch); in ephemeralUserStopped()
637 waitForLatch("Failed to properly stop user " + userId, latch); in stopUser()
654 waitForLatch("Failed to achieve initial ACTION_USER_UNLOCKED for user " + testUser, latch1); in initializeNewUserAndSwitchBack()
687 waitForLatch("Failed to install app " + packageName + " on user " + userId, latch); in installPreexistingApp()
762 private void waitForLatch(String errMsg, CountDownLatch latch) { in waitForLatch() method in UserLifecycleTests
/aosp12/frameworks/base/services/core/java/com/android/server/locksettings/
H A DResumeOnRebootServiceProvider.java165 waitForLatch(connectionLatch, "serviceConnection", timeOut); in bindToService()
182 waitForLatch(binderLatch, "wrapSecret", timeOutInMillis); in wrapBlob()
202 waitForLatch(binderLatch, "unWrapSecret", timeOut); in unwrap()
223 private void waitForLatch(CountDownLatch latch, String reason, long timeOut) in waitForLatch() method in ResumeOnRebootServiceProvider.ResumeOnRebootServiceConnection
/aosp12/frameworks/base/services/autofill/java/com/android/server/autofill/
H A DAutofillManagerServiceShellCommand.java263 return waitForLatch(pw, latch); in getFieldClassificationScore()
365 waitForLatch(pw, latch); in getSavedPasswordCount()
419 return waitForLatch(pw, latch); in requestSessionCommon()
422 private int waitForLatch(PrintWriter pw, CountDownLatch latch) { in waitForLatch() method in AutofillManagerServiceShellCommand
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
H A DCacheOomRankerTest.java142 mExecutor.waitForLatch(); in init_listensForConfigChanges()
147 mExecutor.waitForLatch(); in init_listensForConfigChanges()
155 mExecutor.waitForLatch(); in init_listensForConfigChanges()
164 mExecutor.waitForLatch(); in init_listensForConfigChanges()
173 mExecutor.waitForLatch(); in init_listensForConfigChanges()
182 mExecutor.waitForLatch(); in init_listensForConfigChanges()
191 mExecutor.waitForLatch(); in init_listensForConfigChanges()
733 mExecutor.waitForLatch(); in setConfig()
779 private void waitForLatch() throws InterruptedException { in waitForLatch() method in CacheOomRankerTest.TestExecutor
/aosp12/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/
H A DContentCaptureManagerServiceShellCommand.java228 return waitForLatch(pw, latch); in requestSessionCommon()
231 private int waitForLatch(PrintWriter pw, CountDownLatch latch) { in waitForLatch() method in ContentCaptureManagerServiceShellCommand
/aosp12/frameworks/base/services/core/java/com/android/server/
H A DStorageManagerService.java882 private void waitForLatch(CountDownLatch latch, String condition, long timeoutMillis) in waitForLatch() method in StorageManagerService
2399 waitForLatch(latch, "partitionPublic", 3 * DateUtils.MINUTE_IN_MILLIS); in partitionPublic()
2413 waitForLatch(latch, "partitionPrivate", 3 * DateUtils.MINUTE_IN_MILLIS); in partitionPrivate()
2427 waitForLatch(latch, "partitionMixed", 3 * DateUtils.MINUTE_IN_MILLIS); in partitionMixed()
/aosp12/frameworks/base/services/
H A Dart-profile23798 …tings/ResumeOnRebootServiceProvider$ResumeOnRebootServiceConnection;->waitForLatch(Ljava/util/conc…