Home
last modified time | relevance | path

Searched refs:timeoutSeconds (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/mediaediting/src/android/media/mediaediting/cts/
DTransformerAndroidTestRunner.java70 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/
DInputDeviceKeyLayoutMapTestActivity.java54 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/
DBlockingBroadcastReceiver.java243 public void setTimeout(int timeoutSeconds) { in setTimeout() argument
244 if (timeoutSeconds <= 0) { in setTimeout()
247 mTimeoutSeconds = timeoutSeconds; in setTimeout()
DCallbackAsserter.java48 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/
DBlockingBroadcastReceiver.java249 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/
DBackupPreparer.java168 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/
DCarHostJUnit4TestCase.java485 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/
DAppBindingHostTest.java207 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/
DVcnManagerTest.java1332 private void setSafeModeTimeoutForCarrier(int subId, int timeoutSeconds) { in setSafeModeTimeoutForCarrier() argument
1334 carrierConfig.putInt(VcnManager.VCN_SAFE_MODE_TIMEOUT_SECONDS_KEY, timeoutSeconds); in setSafeModeTimeoutForCarrier()