/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | VideoProviderTest.java | 150 mVerificationLock.await(TEST_TIMEOUT, TimeUnit.MILLISECONDS); in testCameraChange() 188 mVerificationLock.await(TEST_TIMEOUT, TimeUnit.MILLISECONDS); in testCameraChangePermissionFail() 217 mVerificationLock.await(TEST_TIMEOUT, TimeUnit.MILLISECONDS); in testCameraChangeAppOpsFail() 248 mVerificationLock.await(TEST_TIMEOUT, TimeUnit.MILLISECONDS); in testCameraChangeAppOpsBelowNMR1Fail() 276 mVerificationLock.await(TEST_TIMEOUT, TimeUnit.MILLISECONDS); in testCameraChangeUserFail() 303 mVerificationLock.await(TEST_TIMEOUT, TimeUnit.MILLISECONDS); in testCameraChangeNullNoPermission() 438 mVerificationLock.await(TEST_TIMEOUT, TimeUnit.MILLISECONDS); in testSessionModifyRequest() 492 mVerificationLock.await(TEST_TIMEOUT, TimeUnit.MILLISECONDS); in testRequestCameraCapabilities() 531 mVerificationLock.await(TEST_TIMEOUT, TimeUnit.MILLISECONDS); in testRequestDataUsage() 550 mVerificationLock.await(TEST_TIMEOUT, TimeUnit.MILLISECONDS); in testReceiveSessionModifyRequest() [all …]
|
D | TelecomTestCase.java | 57 lock.await(timeoutMillis, TimeUnit.MILLISECONDS); in waitForHandlerAction() 69 lock.await(timeoutMillis, TimeUnit.MILLISECONDS); in waitForHandlerActionDelayed()
|
D | InCallServiceFixture.java | 173 mUpdateCallLock.await(5000, TimeUnit.MILLISECONDS); in waitForUpdate() 187 mAddCallLock.await(5000, TimeUnit.MILLISECONDS); in waitUntilNumCalls()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarLocationServiceTest.java | 221 mLatch.await(); in testLoadsLocationWithHeadlessSystemUser() 243 mLatch.await(); in testDoesNotLoadLocationWhenNoFileExists() 258 mLatch.await(); in testDoesNotLoadLocationFromIncompleteFile() 273 mLatch.await(); in testDoesNotLoadLocationFromCorruptFile() 289 mLatch.await(); in testDoesNotLoadIncompleteLocation() 308 mLatch.await(); in testDoesNotLoadOldLocation() 323 mLatch.await(); in testStoresLocationUponShutdownPrepare() 339 mLatch.await(); in testStoresLocationUponShutdownPrepare() 377 mLatch.await(); in testDoesNotStoreNullLocation() 385 mLatch.await(); in testDoesNotStoreNullLocation() [all …]
|
D | CarProjectionServiceTest.java | 129 latch.await(DEFAULT_TIMEOUT_MS, TimeUnit.MILLISECONDS); in updateProjectionStatus_defaultState() 174 latch.await(DEFAULT_TIMEOUT_MS, TimeUnit.MILLISECONDS); in updateProjectionStatus_subscribeAfterUpdate() 200 latch.await(DEFAULT_TIMEOUT_MS, TimeUnit.MILLISECONDS); in updateProjectionStatus_subscribeBeforeUpdate()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/queries/ |
D | SearchHistoryManagerTest.java | 87 mLatch.await(1, TimeUnit.SECONDS); in testAddHistory() 112 mLatch.await(1, TimeUnit.SECONDS); in testDeleteHistory() 123 mLatch.await(1, TimeUnit.SECONDS); in testDeleteHistory() 143 mLatch.await(1, TimeUnit.SECONDS); in testGetHistoryList() 147 mLatch.await(1, TimeUnit.SECONDS); in testGetHistoryList() 151 mLatch.await(1, TimeUnit.SECONDS); in testGetHistoryList()
|
/packages/modules/ExtServices/tests/src/android/ext/services/watchdog/ |
D | ExplicitHealthCheckServiceImplTest.java | 97 latch.await(); in testHealthCheckSupportedPackage() 121 latch1.await(); in testHealthCheckRequests() 132 latch2.await(); in testHealthCheckRequests() 145 latch3.await(); in testHealthCheckRequests()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/theme/ |
D | ThemeOverlayManagerTest.java | 106 mLatch.await(5, TimeUnit.SECONDS); in testApplyOverlays_shouldSetEnabled() 118 mLatch.await(5, TimeUnit.SECONDS); in testApplyOverlays_shouldGetOverlayInfo() 148 mLatch.await(5, TimeUnit.SECONDS); in testDefaultDisabled_applyOverlays_shouldEnabled() 165 mLatch.await(5, TimeUnit.SECONDS); in testDefaultEnabled_applyOverlays_shouldDisabled()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | VmsPublisherClientPermissionTest.java | 108 sPublisherExpectedPermission.await(PUBLISHER_BIND_TIMEOUT_SECS, TimeUnit.SECONDS)); in testExpectedPermission() 115 sPublisherWrongPermission.await(PUBLISHER_BIND_TIMEOUT_SECS, TimeUnit.SECONDS)); in testWrongPermission() 122 sPublisherMissingPermission.await(PUBLISHER_BIND_TIMEOUT_SECS, TimeUnit.SECONDS)); in testMissingPermission()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/timezone/ |
D | BaseTimeZoneAdapterTest.java | 61 observer.await(); in assertSearch() 84 private void await() throws InterruptedException { in await() method in BaseTimeZoneAdapterTest.Observer 85 mLatch.await(2L, TimeUnit.SECONDS); in await()
|
/packages/apps/TV/tests/unit/src/com/android/tv/data/ |
D | ChannelDataManagerTest.java | 147 assertThat(mListener.loadFinishedLatch.await(WAIT_TIME_OUT_MS, TimeUnit.MILLISECONDS)) in startAndWaitForComplete() 334 assertThat(mListener.channelListUpdatedLatch.await(WAIT_TIME_OUT_MS, TimeUnit.MILLISECONDS)) in testChannelListChanged() 346 assertThat(mListener.channelListUpdatedLatch.await(WAIT_TIME_OUT_MS, TimeUnit.MILLISECONDS)) in testChannelListChanged() 349 channelListener.channelChangedLatch.await( in testChannelListChanged() 365 assertThat(mListener.channelListUpdatedLatch.await(WAIT_TIME_OUT_MS, TimeUnit.MILLISECONDS)) in testChannelListChanged() 368 channelListener.channelChangedLatch.await( in testChannelListChanged()
|
/packages/apps/Contacts/tests/src/com/android/contacts/database/ |
D | NoNullCursorAsyncQueryHandlerTest.java | 82 latch.await(5, TimeUnit.SECONDS); in testCursorIsNotNull() 109 latch.await(5, TimeUnit.SECONDS); in testCursorContainsCorrectCookies() 136 latch.await(5, TimeUnit.SECONDS); in testCursorContainsCorrectColumns()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | LatchedConsumer.java | 34 assertFalse(latch.await(timeout, unit)); in assertNotCalled() 39 assertTrue(latch.await(timeout, unit)); in assertCalled()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/ |
D | TestContentResolver.java | 65 if (!mNotificationSignal.await(timeOut, TimeUnit.MILLISECONDS)) { in waitForChanges() 74 mReadySignal.await(); in notifyChange()
|
/packages/services/Telephony/tests/src/com/android/ |
D | TelephonyTestBase.java | 63 lock.await(timeoutMillis, TimeUnit.MILLISECONDS); in waitForHandlerAction() 75 lock.await(timeoutMillis, TimeUnit.MILLISECONDS); in waitForHandlerActionDelayed()
|
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/ |
D | E2ePerformanceTest.java | 218 counter.await(EXPECTED_DURATION_MS, TimeUnit.MILLISECONDS); in stressTestHvacProperties() 284 assertTrue(latch.await(EXPECTED_TIME_DURATION_MS, TimeUnit.MILLISECONDS)); in verifyEventsFromSingleProperty() 297 if (!latches[i].await(timeLeft, TimeUnit.MILLISECONDS)) { in awaitCountDownLatches()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsTaskSchedulerTest.java | 55 assertTrue(scheduler.latch.await(10, TimeUnit.SECONDS)); in testSimple() 96 assertTrue(scheduler.latch.await(10, TimeUnit.SECONDS)); in testAutoShutdown()
|
/packages/apps/UnifiedEmail/tests/src/com/android/mail/ui/ |
D | MailAsyncTaskLoaderTest.java | 56 loadFinishedLatch.await(30, TimeUnit.SECONDS)); in runLoaderTest() 66 resultDiscardedLatch.await(30, TimeUnit.SECONDS)); in runLoaderTest()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/e2eui/ |
D | ProvisioningResultListener.java | 82 public boolean await(long timeoutSeconds) throws InterruptedException { in await() method in ProvisioningResultListener 83 return mLatch.await(timeoutSeconds, TimeUnit.SECONDS); in await()
|
/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/ |
D | ZappingTimeTest.java | 222 errorAppeared = mErrorLatch.await(100, TimeUnit.MILLISECONDS); in testZappingWithPacketMissing() 273 mWaitTuneExecuteLatch.await(); in zappingTimeTest() 279 drawnToSurface = mDrawnToSurfaceLatch.await(100, TimeUnit.MILLISECONDS); in zappingTimeTest()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/ |
D | ArchivesProviderTest.java | 127 latch.await(3, TimeUnit.SECONDS); in testOpen_Success() 180 latch.await(3, TimeUnit.SECONDS); in testOpen_Failure() 270 assertFalse(latch.await(1, TimeUnit.SECONDS)); in testNoNotificationAfterAllReleased()
|
/packages/apps/Dialer/java/com/android/incallui/multisim/ |
D | SwapSimWorker.java | 111 if (!disconnectLatch.await(timeoutMillis, TimeUnit.MILLISECONDS)) { in doInBackground() 124 if (!dialingLatch.await(timeoutMillis, TimeUnit.MILLISECONDS)) { in doInBackground()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | SystemStateHelper.java | 157 boolean accelValid = gravLatch.await(100, TimeUnit.MILLISECONDS); in isDeviceAtEar() 158 boolean proxValid = proxLatch.await(100, TimeUnit.MILLISECONDS); in isDeviceAtEar()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/ |
D | StartManagedProfileTaskTest.java | 108 assertTrue(mStartInBackgroundLatch.await(1, TimeUnit.SECONDS)); in testSuccess() 124 assertTrue(mSuccessLatch.await(1, TimeUnit.SECONDS)); in testSuccess()
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ |
D | CancelFromNotificationUiTest.java | 181 mCountDownLatch.await(WAIT_TIME_SECONDS, TimeUnit.SECONDS); in testCopyDocument_CancelFromNotification() 233 mCountDownLatch.await(WAIT_TIME_SECONDS, TimeUnit.SECONDS); in testMoveDocument_CancelFromNotification()
|