Home
last modified time | relevance | path

Searched refs:await (Results 1 – 25 of 98) sorted by relevance

1234

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DVideoProviderTest.java150 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 …]
DTelecomTestCase.java57 lock.await(timeoutMillis, TimeUnit.MILLISECONDS); in waitForHandlerAction()
69 lock.await(timeoutMillis, TimeUnit.MILLISECONDS); in waitForHandlerActionDelayed()
DInCallServiceFixture.java173 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/
DCarLocationServiceTest.java221 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 …]
DCarProjectionServiceTest.java129 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/
DSearchHistoryManagerTest.java87 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/
DExplicitHealthCheckServiceImplTest.java97 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/
DThemeOverlayManagerTest.java106 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/
DVmsPublisherClientPermissionTest.java108 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/
DBaseTimeZoneAdapterTest.java61 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/
DChannelDataManagerTest.java147 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/
DNoNullCursorAsyncQueryHandlerTest.java82 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/
DLatchedConsumer.java34 assertFalse(latch.await(timeout, unit)); in assertNotCalled()
39 assertTrue(latch.await(timeout, unit)); in assertCalled()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/
DTestContentResolver.java65 if (!mNotificationSignal.await(timeOut, TimeUnit.MILLISECONDS)) { in waitForChanges()
74 mReadySignal.await(); in notifyChange()
/packages/services/Telephony/tests/src/com/android/
DTelephonyTestBase.java63 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/
DE2ePerformanceTest.java218 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/
DContactsTaskSchedulerTest.java55 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/
DMailAsyncTaskLoaderTest.java56 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/
DProvisioningResultListener.java82 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/
DZappingTimeTest.java222 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/
DArchivesProviderTest.java127 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/
DSwapSimWorker.java111 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/
DSystemStateHelper.java157 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/
DStartManagedProfileTaskTest.java108 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/
DCancelFromNotificationUiTest.java181 mCountDownLatch.await(WAIT_TIME_SECONDS, TimeUnit.SECONDS); in testCopyDocument_CancelFromNotification()
233 mCountDownLatch.await(WAIT_TIME_SECONDS, TimeUnit.SECONDS); in testMoveDocument_CancelFromNotification()

1234