/packages/services/Car/tests/android_car_api_test/src/com/android/car/apitest/ |
H A D | CarPackageManagerTest.java | 58 private void waitForConnection(long timeoutMs) throws InterruptedException { argument 59 mConnectionWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS);
|
H A D | CarSensorManagerTest.java | 58 private void waitForConnection(long timeoutMs) throws InterruptedException { argument 59 mConnectionWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS);
|
H A D | CarTest.java | 55 private void waitForConnection(long timeoutMs) throws InterruptedException { argument 56 mConnectionWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS);
|
H A D | CarApiTestBase.java | 62 public void waitForConnection(long timeoutMs) throws InterruptedException { argument 63 mConnectionWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS);
|
H A D | CarAppContextManagerTest.java | 200 public boolean waitForContextChangeAndAssert(long timeoutMs, int expectedContexts) argument 202 if (!mChangeWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS)) { 223 public boolean waitForOwnershipLossAndAssert(long timeoutMs, int expectedContexts) argument 225 if (!mLossEventWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS)) {
|
/packages/services/Car/tests/android_support_car_api_test/src/com/android/support/car/apitest/ |
H A D | CarTest.java | 64 private void waitForConnection(long timeoutMs) throws InterruptedException { argument 65 mConnectionWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS);
|
H A D | CarConnectionListenerTest.java | 70 public boolean waitForConnection(long timeoutMs) throws Exception { argument 71 if (!mWaitSemaphore.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS)) { 79 public boolean waitForDisconnect(long timeoutMs) throws Exception { argument 80 if (!mWaitSemaphore.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS)) {
|
H A D | CarPackageManagerTest.java | 66 private void waitForConnection(long timeoutMs) throws InterruptedException { argument 67 mConnectionWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS);
|
H A D | CarSensorManagerTest.java | 67 private void waitForConnection(long timeoutMs) throws InterruptedException { argument 68 mConnectionWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS);
|
H A D | CarApiTestBase.java | 62 public void waitForConnection(long timeoutMs) throws InterruptedException { argument 63 mConnectionWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS);
|
H A D | CarAppContextManagerTest.java | 200 public boolean waitForContextChangeAndAssert(long timeoutMs, int expectedContexts) argument 202 if (!mChangeWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS)) { 222 public boolean waitForOwnershipLossAndAssert(long timeoutMs, int expectedContexts) argument 224 if (!mLossEventWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS)) {
|
H A D | TestAction.java | 50 public void assertTestRun(long timeoutMs) throws Throwable { argument 51 if (!mWaitSemaphore.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS)) { 70 public boolean waitForTest(long timeoutMs) throws Throwable { argument 71 if (mWaitSemaphore.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS)) {
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | CredentialCheckResultTracker.java | 54 public void setResult(boolean matched, Intent intent, int timeoutMs, int effectiveUserId) { argument 57 mResultTimeoutMs = timeoutMs; 77 public void onCredentialChecked(boolean matched, Intent intent, int timeoutMs, argument
|
H A D | ConfirmLockPassword.java | 354 public void onVerified(byte[] token, int timeoutMs) { 365 mCredentialCheckResultTracker.setResult(matched, intent, timeoutMs, 385 public void onChecked(boolean matched, int timeoutMs) { 394 mCredentialCheckResultTracker.setResult(matched, intent, timeoutMs, 428 private void onPasswordChecked(boolean matched, Intent intent, int timeoutMs, argument 438 if (timeoutMs > 0) { 440 effectiveUserId, timeoutMs); 452 public void onCredentialChecked(boolean matched, Intent intent, int timeoutMs, argument 454 onPasswordChecked(matched, intent, timeoutMs, effectiveUserId, newResult);
|
H A D | ConfirmLockPattern.java | 437 public void onVerified(byte[] token, int timeoutMs) { 448 mCredentialCheckResultTracker.setResult(matched, intent, timeoutMs, 475 public void onChecked(boolean matched, int timeoutMs) { 483 mCredentialCheckResultTracker.setResult(matched, intent, timeoutMs, 490 private void onPatternChecked(boolean matched, Intent intent, int timeoutMs, argument 500 if (timeoutMs > 0) { 502 effectiveUserId, timeoutMs); 515 public void onCredentialChecked(boolean matched, Intent intent, int timeoutMs, argument 517 onPatternChecked(matched, intent, timeoutMs, effectiveUserId, newResult);
|
/packages/services/Car/tests/carservice_test/src/com/android/car/test/ |
H A D | MockedCarTestBase.java | 131 private boolean waitForConnection(long timeoutMs) throws InterruptedException { argument 132 return mConnectionWaitForSupportCar.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS);
|
H A D | CarAudioFocusTest.java | 484 public int waitAndGetFocusChange(long timeoutMs) throws Exception { argument 485 if (!mFocusChangeWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS)) { 491 public void waitForFocus(long timeoutMs, int expectedFocus) throws Exception { argument 493 if (!mFocusChangeWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS)) { 530 public int[] waitForAudioFocusRequest(long timeoutMs) throws Exception { argument 531 if (!mSetWaitSemaphore.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS)) {
|
H A D | CarPowerManagementTest.java | 209 private void waitForSubscription(long timeoutMs) throws Exception { argument 210 if (!mSubscriptionWaitSemaphore.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS)) { 215 private LinkedList<int[]> waitForStateSetAndGetAll(long timeoutMs, int expectedSet) argument 218 if (!mSetWaitSemaphore.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS)) { 250 private void waitForDisplayState(boolean expectedState, long timeoutMs) throws Exception { argument 252 if (!mDisplayWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS)) {
|
/packages/services/Car/tests/carservice_test/src/com/android/support/car/test/ |
H A D | AppContextTest.java | 68 public boolean waitForContextChangeAndAssert(long timeoutMs, int expectedContexts) argument 70 if (!mChangeWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS)) { 90 public boolean waitForOwnershipLossAndAssert(long timeoutMs, int expectedContexts) argument 92 if (!mLossEventWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS)) {
|
H A D | CarConnectionListenerInMockingTest.java | 71 private void waitForConnection(long timeoutMs) throws InterruptedException { argument 72 mConnectionWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS); 120 public boolean waitForConnection(long timeoutMs) throws Exception { argument 121 if (!mWaitSemaphore.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS)) { 130 public boolean waitForDisconnect(long timeoutMs) throws Exception { argument 131 if (!mWaitSemaphore.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS)) {
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/test/ |
H A D | MockedPowerHalService.java | 93 public synchronized int[] waitForSend(long timeoutMs) throws Exception { argument 95 wait(timeoutMs);
|
H A D | CarPowerManagementServiceTest.java | 239 private void assertStateReceivedForShutdownOrSleepWithPostpone(int lastState, long timeoutMs, argument 242 int[] state = mPowerHal.waitForSend(timeoutMs); 253 private static void waitForSemaphore(Semaphore semaphore, long timeoutMs) argument 255 if (!semaphore.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS)) { 281 public boolean waitForDisplayStateChange(long timeoutMs) throws Exception { argument 282 waitForSemaphore(mDisplayStateWait, timeoutMs); 295 public void waitForShutdown(long timeoutMs) throws Exception { argument 296 waitForSemaphore(mShutdownWait, timeoutMs); 314 public int waitForSleepEntryAndWakeup(long timeoutMs) throws Exception { argument 315 waitForSemaphore(mSleepWait, timeoutMs); 357 waitForShutdown(long timeoutMs) argument 366 waitForSleepEntry(long timeoutMs) argument 375 waitForSleepExit(long timeoutMs) argument 399 waitForPrepareShutdown(long timeoutMs) argument 410 waitForPowerOn(long timeoutMs) argument [all...] |
/packages/services/Car/tests/libvehiclenetwork-java-test/src/com/android/car/vehiclenetwork/libtest/ |
H A D | VehicleNetworkTest.java | 224 private synchronized boolean waitForEvent(Integer prop, long timeoutMs) argument 227 long end = now + timeoutMs;
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
H A D | MmsNetworkManager.java | 67 * @param timeoutMs timeout in millisecond 69 static void setNetworkAcquireTimeout(final long timeoutMs) { argument 70 sNetworkAcquireTimeoutMs = timeoutMs;
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
H A D | TransitionImageAnimation.java | 130 public TransitionImageAnimation timeoutMs(long timeoutMs) { argument 131 mTransitionTimeoutMs = timeoutMs;
|