/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarAppFocusManagerTest.java | 123 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 …]
|
D | CarTest.java | 47 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()
|
D | CarApiTestBase.java | 70 protected static final long DEFAULT_WAIT_TIMEOUT_MS = 120_000; field in CarApiTestBase 98 mConnectionListener.waitForConnection(DEFAULT_WAIT_TIMEOUT_MS); in setFixturesAndConnectToCar()
|
D | CarMultiUserTestBase.java | 262 DEFAULT_WAIT_TIMEOUT_MS, TimeUnit.MILLISECONDS); in createUser() 265 assertWithMessage("user creation result (waited for %sms)", DEFAULT_WAIT_TIMEOUT_MS) in createUser()
|
D | CarUserManagerTest.java | 370 DEFAULT_WAIT_TIMEOUT_MS, TimeUnit.MILLISECONDS); in testSwitchUserUxRestrictionFailure()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/power/ |
D | CarPowerManagementTest.java | 207 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/ |
D | AppFocusTest.java | 40 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()
|
D | CarDrivingRestrictionsTest.java | 367 && (start + DEFAULT_WAIT_TIMEOUT_MS > SystemClock.elapsedRealtime())) { in waitForDrivingStateChange() 390 && (start + DEFAULT_WAIT_TIMEOUT_MS > SystemClock.elapsedRealtime())) { in waitForUxRestrictionsChange()
|
D | CarCabinManagerTest.java | 136 assertTrue(errorLatch.await(DEFAULT_WAIT_TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testError()
|
D | MockedCarTestBase.java | 102 protected static final long DEFAULT_WAIT_TIMEOUT_MS = 3000; field in MockedCarTestBase 620 long deadlineMs = nowMs + DEFAULT_WAIT_TIMEOUT_MS; in releaseRealCarService()
|
D | CarHvacManagerTest.java | 179 assertTrue(errorLatch.await(DEFAULT_WAIT_TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testError()
|
D | CarDiagnosticManagerTest.java | 1010 silentAwait(countDownlatch, DEFAULT_WAIT_TIMEOUT_MS); in waitForEvent()
|
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/ |
D | E2eCarTestBase.java | 46 private static final int DEFAULT_WAIT_TIMEOUT_MS = 5000; field in E2eCarTestBase 67 mConnectionListener.waitForConnection(DEFAULT_WAIT_TIMEOUT_MS); in connectToCarService()
|