Home
last modified time | relevance | path

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

12345

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DVideoProviderTest.java159 mVerificationLock.await(TEST_TIMEOUT, TimeUnit.MILLISECONDS); in testCameraChange()
197 mVerificationLock.await(TEST_TIMEOUT, TimeUnit.MILLISECONDS); in testCameraChangePermissionFail()
226 mVerificationLock.await(TEST_TIMEOUT, TimeUnit.MILLISECONDS); in testCameraChangeAppOpsFail()
257 mVerificationLock.await(TEST_TIMEOUT, TimeUnit.MILLISECONDS); in testCameraChangeAppOpsBelowNMR1Fail()
285 mVerificationLock.await(TEST_TIMEOUT, TimeUnit.MILLISECONDS); in testCameraChangeUserFail()
312 mVerificationLock.await(TEST_TIMEOUT, TimeUnit.MILLISECONDS); in testCameraChangeNullNoPermission()
447 mVerificationLock.await(TEST_TIMEOUT, TimeUnit.MILLISECONDS); in testSessionModifyRequest()
501 mVerificationLock.await(TEST_TIMEOUT, TimeUnit.MILLISECONDS); in testRequestCameraCapabilities()
540 mVerificationLock.await(TEST_TIMEOUT, TimeUnit.MILLISECONDS); in testRequestDataUsage()
559 mVerificationLock.await(TEST_TIMEOUT, TimeUnit.MILLISECONDS); in testReceiveSessionModifyRequest()
[all …]
DTelecomTestCase.java62 lock.await(timeoutMillis, TimeUnit.MILLISECONDS); in waitForHandlerAction()
74 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 …]
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/queries/
DSearchHistoryManagerTest.java88 mLatch.await(1, TimeUnit.SECONDS); in testAddHistory()
114 mLatch.await(1, TimeUnit.SECONDS); in testDeleteHistory()
125 mLatch.await(1, TimeUnit.SECONDS); in testDeleteHistory()
146 mLatch.await(1, TimeUnit.SECONDS); in testGetHistoryList()
150 mLatch.await(1, TimeUnit.SECONDS); in testGetHistoryList()
154 mLatch.await(1, TimeUnit.SECONDS); in testGetHistoryList()
/packages/modules/ExtServices/tests/src/android/ext/services/watchdog/
DExplicitHealthCheckServiceImplTest.java111 latch.await(); in testHealthCheckSupportedPackage()
135 latch1.await(); in testHealthCheckRequests()
146 latch2.await(); in testHealthCheckRequests()
159 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.java107 sPublisherExpectedPermission.await(PUBLISHER_BIND_TIMEOUT_SECS, TimeUnit.SECONDS)); in testExpectedPermission()
114 sPublisherWrongPermission.await(PUBLISHER_BIND_TIMEOUT_SECS, TimeUnit.SECONDS)); in testWrongPermission()
121 sPublisherMissingPermission.await(PUBLISHER_BIND_TIMEOUT_SECS, TimeUnit.SECONDS)); in testMissingPermission()
DCarUxRestrictionsManagerServiceTest.java365 initCompleteSignal.await(); in testInitService_NoDeadlockWithCarDrivingStateService()
394 dispatchingStartedSignal.await(); in testInitService_NoDeadlockWithCarDrivingStateService()
457 initCompleteSignal.await(); in testSetUxRChangeBroadcastEnabled_NoDeadlockWithCarDrivingStateService()
483 dispatchingStartedSignal.await(); in testSetUxRChangeBroadcastEnabled_NoDeadlockWithCarDrivingStateService()
/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.java141 assertThat(mListener.loadFinishedLatch.await(WAIT_TIME_OUT_MS, TimeUnit.MILLISECONDS)) in startAndWaitForComplete()
328 assertThat(mListener.channelListUpdatedLatch.await(WAIT_TIME_OUT_MS, TimeUnit.MILLISECONDS)) in testChannelListChanged()
340 assertThat(mListener.channelListUpdatedLatch.await(WAIT_TIME_OUT_MS, TimeUnit.MILLISECONDS)) in testChannelListChanged()
343 channelListener.channelChangedLatch.await( in testChannelListChanged()
359 assertThat(mListener.channelListUpdatedLatch.await(WAIT_TIME_OUT_MS, TimeUnit.MILLISECONDS)) in testChannelListChanged()
362 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/TV/tests/robotests/src/com/android/tv/data/
DProgramDataManagerTest.java111 assertThat(mCallback.channelUpdatedLatch.await(WAIT_TIME_OUT_MS, TimeUnit.MILLISECONDS)) in startAndWaitForComplete()
210 listener.currentProgramUpdatedLatch.await( in testCurrentProgramListener()
239 assertThat(mCallback.programUpdatedLatch.await(WAIT_TIME_OUT_MS, TimeUnit.MILLISECONDS)) in testContentProviderUpdate()
262 assertThat(mCallback.programUpdatedLatch.await(FAILURE_TIME_OUT_MS, TimeUnit.MILLISECONDS)) in testSetPauseProgramUpdate()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeUdpEncapSocketTest.java246 createLatch.await(); in testReceiveIkePacket()
258 receiveLatch.await(); in testReceiveIkePacket()
264 receiveLatch.await(); in testReceiveIkePacket()
277 closeLatch.await(); in testReceiveIkePacket()
DIkeSocketTestBase.java197 void await() { in await() method in IkeSocketTestBase.TestCountDownLatch
199 if (!mLatch.await(TIMEOUT, TimeUnit.MILLISECONDS)) { in await()
/packages/modules/NetworkStack/tests/unit/src/com/android/net/module/util/
DTrackRecordTest.kt190 barrier.await(LONG_TIMEOUT, TimeUnit.MILLISECONDS) // barrier 1 in <lambda>()
191 barrier.await() // barrier 2 in <lambda>()
195 barrier.await() // barrier 1 in <lambda>()
198 barrier.await() // barrier 2 in <lambda>()
/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.java66 lock.await(timeoutMillis, TimeUnit.MILLISECONDS); in waitForHandlerAction()
78 lock.await(timeoutMillis, TimeUnit.MILLISECONDS); in waitForHandlerActionDelayed()
/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/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/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/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/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/
DZappingTimeTest.java255 errorAppeared = mErrorLatch.await(100, TimeUnit.MILLISECONDS); in testZappingWithPacketMissing()
306 mWaitTuneExecuteLatch.await(); in zappingTimeTest()
312 drawnToSurface = mDrawnToSurfaceLatch.await(100, TimeUnit.MILLISECONDS); in zappingTimeTest()
DZappingTimeTestExoV2.java282 errorAppeared = mErrorLatch.await(100, TimeUnit.MILLISECONDS); in testZappingWithPacketMissing()
333 mWaitTuneExecuteLatch.await(); in zappingTimeTest()
339 drawnToSurface = mDrawnToSurfaceLatch.await(100, TimeUnit.MILLISECONDS); in zappingTimeTest()

12345