/cts/tests/tests/mediaediting/src/android/media/mediaediting/cts/ |
D | TransformerAndroidTestRunner.java | 70 private int timeoutSeconds; field in TransformerAndroidTestRunner.Builder 83 this.timeoutSeconds = DEFAULT_TIMEOUT_SECONDS; in Builder() 96 public Builder setTimeoutSeconds(int timeoutSeconds) { in setTimeoutSeconds() argument 97 this.timeoutSeconds = timeoutSeconds; in setTimeoutSeconds() 161 timeoutSeconds, in build() 170 private final int timeoutSeconds; field in TransformerAndroidTestRunner 178 int timeoutSeconds, in TransformerAndroidTestRunner() argument 184 this.timeoutSeconds = timeoutSeconds; in TransformerAndroidTestRunner() 392 if (!countDownLatch.await(timeoutSeconds, SECONDS)) { in runInternal() 394 throw new TimeoutException("Transformer timed out after " + timeoutSeconds + " seconds."); in runInternal()
|
/cts/tests/tests/view/src/android/view/cts/input/ |
D | InputDeviceKeyLayoutMapTestActivity.java | 54 public KeyEvent getKeyEvent(int timeoutSeconds) { in getKeyEvent() argument 56 return mEvents.poll(timeoutSeconds, TimeUnit.SECONDS); in getKeyEvent()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BlockingBroadcastReceiver.java | 243 public void setTimeout(int timeoutSeconds) { in setTimeout() argument 244 if (timeoutSeconds <= 0) { in setTimeout() 247 mTimeoutSeconds = timeoutSeconds; in setTimeout()
|
D | CallbackAsserter.java | 48 public final void assertCalled(String message, int timeoutSeconds) throws Exception { in assertCalled() argument 50 if (mLatch.await(timeoutSeconds, TimeUnit.SECONDS)) { in assertCalled()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/ |
D | BlockingBroadcastReceiver.java | 249 public void setTimeout(int timeoutSeconds) { in setTimeout() argument 250 if (timeoutSeconds <= 0) { in setTimeout() 253 mTimeoutSeconds = timeoutSeconds; in setTimeout()
|
/cts/hostsidetests/backup/src/android/cts/backup/ |
D | BackupPreparer.java | 168 String message, long timeoutSeconds, Function<Boolean, Boolean> predicate) in waitUntilWithLastTry() argument 171 final long timeout = System.currentTimeMillis() + timeoutSeconds * 1000; in waitUntilWithLastTry()
|
/cts/hostsidetests/car/util/src/android/car/cts/ |
D | CarHostJUnit4TestCase.java | 485 protected void waitUntil(long timeoutSeconds, BooleanSupplierWithThrow<Exception> predicate, in waitUntil() argument 487 CommonTestUtils.waitUntil("timed out (" + timeoutSeconds + "s) waiting for " in waitUntil() 488 + String.format(msgPattern, msgArgs), timeoutSeconds, predicate); in waitUntil()
|
/cts/hostsidetests/appbinding/hostside/src/com/android/cts/appbinding/ |
D | AppBindingHostTest.java | 207 private void runWithRetries(int timeoutSeconds, ThrowingRunnable r) throws Throwable { in runWithRetries() argument 208 final long timeout = System.currentTimeMillis() + timeoutSeconds * 1000; in runWithRetries()
|
/cts/tests/tests/vcn/src/android/net/vcn/cts/ |
D | VcnManagerTest.java | 1332 private void setSafeModeTimeoutForCarrier(int subId, int timeoutSeconds) { in setSafeModeTimeoutForCarrier() argument 1334 carrierConfig.putInt(VcnManager.VCN_SAFE_MODE_TIMEOUT_SECONDS_KEY, timeoutSeconds); in setSafeModeTimeoutForCarrier()
|