Home
last modified time | relevance | path

Searched refs:DEFAULT_WAIT_TIMEOUT_MS (Results 1 – 13 of 13) sorted by relevance

/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarAppFocusManagerTest.java123 DEFAULT_WAIT_TIMEOUT_MS, APP_FOCUS_TYPE_NAVIGATION, true)).isTrue(); in testRegisterUnregisterSpecificApp()
156 DEFAULT_WAIT_TIMEOUT_MS, APP_FOCUS_TYPE_NAVIGATION)).isTrue(); in testFocusChange()
162 assertThat(change2.waitForFocusChangeAndAssert(DEFAULT_WAIT_TIMEOUT_MS, in testFocusChange()
164 assertThat(change1.waitForFocusChangeAndAssert(DEFAULT_WAIT_TIMEOUT_MS, in testFocusChange()
179 DEFAULT_WAIT_TIMEOUT_MS, APP_FOCUS_TYPE_NAVIGATION)).isTrue(); in testFocusChange()
183 assertThat(change2.waitForFocusChangeAndAssert(DEFAULT_WAIT_TIMEOUT_MS, in testFocusChange()
185 assertThat(change1.waitForFocusChangeAndAssert(DEFAULT_WAIT_TIMEOUT_MS, in testFocusChange()
191 DEFAULT_WAIT_TIMEOUT_MS, APP_FOCUS_TYPE_NAVIGATION)).isTrue(); in testFocusChange()
197 assertThat(owner1.waitForOwnershipLossAndAssert(DEFAULT_WAIT_TIMEOUT_MS, in testFocusChange()
224 assertThat(change1.waitForFocusChangeAndAssert(DEFAULT_WAIT_TIMEOUT_MS, in testFocusChange()
[all …]
DCarTest.java47 private static final long DEFAULT_WAIT_TIMEOUT_MS = 3000; field in CarTest
81 waitForConnection(DEFAULT_WAIT_TIMEOUT_MS); in testCarConnection()
113 waitForConnection(DEFAULT_WAIT_TIMEOUT_MS); in testConstructorWithICar()
DCarApiTestBase.java70 protected static final long DEFAULT_WAIT_TIMEOUT_MS = 120_000; field in CarApiTestBase
98 mConnectionListener.waitForConnection(DEFAULT_WAIT_TIMEOUT_MS); in setFixturesAndConnectToCar()
DCarMultiUserTestBase.java262 DEFAULT_WAIT_TIMEOUT_MS, TimeUnit.MILLISECONDS); in createUser()
265 assertWithMessage("user creation result (waited for %sms)", DEFAULT_WAIT_TIMEOUT_MS) in createUser()
DCarUserManagerTest.java370 DEFAULT_WAIT_TIMEOUT_MS, TimeUnit.MILLISECONDS); in testSwitchUserUxRestrictionFailure()
/packages/services/Car/tests/carservice_test/src/com/android/car/power/
DCarPowerManagementTest.java207 mPowerStateHandler.waitForStateSetAndGetAll(DEFAULT_WAIT_TIMEOUT_MS, in testDeepSleepEntryAfterGarageMode()
499 if (completionSemaphore.tryAcquire(DEFAULT_WAIT_TIMEOUT_MS, in testSleepShutdownFromPreShutdownPrepare()
521 assertThat(eventWaitSemaphore.tryAcquire(DEFAULT_WAIT_TIMEOUT_MS, in testSleepShutdownFromPreShutdownPrepare()
530 mPowerStateHandler.waitForStateSetAndGetAll(DEFAULT_WAIT_TIMEOUT_MS, in testSleepShutdownFromPreShutdownPrepare()
562 if (completionSemaphore.tryAcquire(DEFAULT_WAIT_TIMEOUT_MS, in testShutdownImmediatelyFromPreShutdownPrepare()
584 assertThat(eventWaitSemaphore.tryAcquire(DEFAULT_WAIT_TIMEOUT_MS, in testShutdownImmediatelyFromPreShutdownPrepare()
593 mPowerStateHandler.waitForStateSetAndGetAll(DEFAULT_WAIT_TIMEOUT_MS, in testShutdownImmediatelyFromPreShutdownPrepare()
645 if (!notificationSem.tryAcquire(DEFAULT_WAIT_TIMEOUT_MS, in testShutdownPostponeWhileListenerPendingInState()
665 mPowerStateHandler.waitForStateSetAndGetAll(DEFAULT_WAIT_TIMEOUT_MS, in testShutdownPostponeWhileListenerPendingInState()
670 mPowerStateHandler.waitForStateSetAndGetAll(DEFAULT_WAIT_TIMEOUT_MS, finalPowerState); in testShutdownPostponeWhileListenerPendingInState()
[all …]
/packages/services/Car/tests/carservice_test/src/com/android/car/
DAppFocusTest.java40 private static final long DEFAULT_WAIT_TIMEOUT_MS = 1000; field in AppFocusTest
50 listener.waitForFocusChangeAndAssert(DEFAULT_WAIT_TIMEOUT_MS, in testFocusChange()
57 listener.waitForFocusChangeAndAssert(DEFAULT_WAIT_TIMEOUT_MS, in testFocusChange()
DCarDrivingRestrictionsTest.java367 && (start + DEFAULT_WAIT_TIMEOUT_MS > SystemClock.elapsedRealtime())) { in waitForDrivingStateChange()
390 && (start + DEFAULT_WAIT_TIMEOUT_MS > SystemClock.elapsedRealtime())) { in waitForUxRestrictionsChange()
DCarCabinManagerTest.java136 assertTrue(errorLatch.await(DEFAULT_WAIT_TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testError()
DMockedCarTestBase.java102 protected static final long DEFAULT_WAIT_TIMEOUT_MS = 3000; field in MockedCarTestBase
620 long deadlineMs = nowMs + DEFAULT_WAIT_TIMEOUT_MS; in releaseRealCarService()
DCarHvacManagerTest.java179 assertTrue(errorLatch.await(DEFAULT_WAIT_TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testError()
DCarDiagnosticManagerTest.java1010 silentAwait(countDownlatch, DEFAULT_WAIT_TIMEOUT_MS); in waitForEvent()
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DE2eCarTestBase.java46 private static final int DEFAULT_WAIT_TIMEOUT_MS = 5000; field in E2eCarTestBase
67 mConnectionListener.waitForConnection(DEFAULT_WAIT_TIMEOUT_MS); in connectToCarService()