Home
last modified time | relevance | path

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

/external/guava/android/guava-testlib/src/com/google/common/testing/
DGcFinalization.java115 private static long timeoutSeconds() { in timeoutSeconds() method in GcFinalization
140 final long timeoutSeconds = timeoutSeconds(); in awaitDone() local
141 final long deadline = System.nanoTime() + SECONDS.toNanos(timeoutSeconds); in awaitDone()
159 throw formatRuntimeException("Future not done within %d second timeout", timeoutSeconds); in awaitDone()
172 final long timeoutSeconds = timeoutSeconds(); in awaitDone() local
173 final long deadline = System.nanoTime() + SECONDS.toNanos(timeoutSeconds); in awaitDone()
187 "Predicate did not become true within %d second timeout", timeoutSeconds); in awaitDone()
200 final long timeoutSeconds = timeoutSeconds(); in await() local
201 final long deadline = System.nanoTime() + SECONDS.toNanos(timeoutSeconds); in await()
217 "Latch failed to count down within %d second timeout", timeoutSeconds); in await()
/external/guava/guava-testlib/src/com/google/common/testing/
DGcFinalization.java115 private static long timeoutSeconds() { in timeoutSeconds() method in GcFinalization
140 final long timeoutSeconds = timeoutSeconds(); in awaitDone() local
141 final long deadline = System.nanoTime() + SECONDS.toNanos(timeoutSeconds); in awaitDone()
159 throw formatRuntimeException("Future not done within %d second timeout", timeoutSeconds); in awaitDone()
172 final long timeoutSeconds = timeoutSeconds(); in awaitDone() local
173 final long deadline = System.nanoTime() + SECONDS.toNanos(timeoutSeconds); in awaitDone()
187 "Predicate did not become true within %d second timeout", timeoutSeconds); in awaitDone()
200 final long timeoutSeconds = timeoutSeconds(); in await() local
201 final long deadline = System.nanoTime() + SECONDS.toNanos(timeoutSeconds); in await()
217 "Latch failed to count down within %d second timeout", timeoutSeconds); in await()
/external/vogar/src/vogar/tasks/
DRunActionTask.java48 private final int timeoutSeconds; field in RunActionTask
61 this.timeoutSeconds = useLargeTimeout in RunActionTask()
86 if (timeoutSeconds != 0) { in execute()
87 currentCommand.scheduleTimeout(timeoutSeconds); in execute()
158 vmCommandBuilder.args("--time-limit", String.format("%ds", timeoutSeconds)); in createActionCommand()
199 if (command != null && timeoutSeconds != 0) { in start()
200 command.scheduleTimeout(timeoutSeconds); in start()
216 if (command != null && timeoutSeconds != 0) { in finish()
217 command.scheduleTimeout(timeoutSeconds); in finish()
DBuildActionTask.java137 properties.setProperty(TestProperties.TIMEOUT, Integer.toString(run.timeoutSeconds)); in fillInProperties()
/external/vogar/src/vogar/target/junit/
DTimeoutAndAbortRunRule.java40 private final int timeoutSeconds; field in TimeoutAndAbortRunRule
45 public TimeoutAndAbortRunRule(int timeoutSeconds) { in TimeoutAndAbortRunRule() argument
46 this.timeoutSeconds = timeoutSeconds; in TimeoutAndAbortRunRule()
103 thrown = timeoutSeconds == 0
105 : result.get(timeoutSeconds, TimeUnit.SECONDS);
DJUnitRunnerFactory.java33 TestEnvironment testEnvironment, int timeoutSeconds, String[] args) { in newRunner() argument
36 timeoutSeconds, klass, qualification, args); in newRunner()
DJUnitTargetRunner.java49 int timeoutSeconds, Class<?> testClass, in JUnitTargetRunner() argument
56 TimeoutAndAbortRunRule timeoutRule = new TimeoutAndAbortRunRule(timeoutSeconds); in JUnitTargetRunner()
/external/vogar/src/vogar/target/
DTestRunner.java51 private final int timeoutSeconds; field in TestRunner
59 timeoutSeconds = Integer.parseInt(properties.getProperty(TestProperties.TIMEOUT)); in TestRunner()
201 skipPastReference, testEnvironment, timeoutSeconds, args); in run()
246 TestEnvironment testEnvironment, int timeoutSeconds, String[] args) { in newRunner() argument
249 skipPastReference, testEnvironment, timeoutSeconds, args); in newRunner()
DRunnerFactory.java35 int timeoutSeconds, String[] args); in newRunner() argument
DMainRunnerFactory.java31 TestEnvironment testEnvironment, int timeoutSeconds, String[] args) { in newRunner() argument
DCaliperRunnerFactory.java54 TestEnvironment testEnvironment, int timeoutSeconds, String[] args) { in newRunner() argument
/external/vogar/src/vogar/commands/
DCommand.java158 public List<String> executeWithTimeout(int timeoutSeconds) throws TimeoutException { in executeWithTimeout() argument
159 if (timeoutSeconds == 0) { in executeWithTimeout()
163 scheduleTimeout(timeoutSeconds); in executeWithTimeout()
199 public void scheduleTimeout(int timeoutSeconds) { in scheduleTimeout() argument
200 timeoutNanoTime = System.nanoTime() + TimeUnit.SECONDS.toNanos(timeoutSeconds); in scheduleTimeout()
/external/vogar/src/vogar/
DRun.java73 public final int timeoutSeconds; field in Run
138 this.largeTimeoutSeconds = vogar.timeoutSeconds * Vogar.LARGE_TIMEOUT_MULTIPLIER; in Run()
142 this.timeoutSeconds = vogar.timeoutSeconds; in Run()
143 this.smallTimeoutSeconds = vogar.timeoutSeconds; in Run()
DVogar.java93 int timeoutSeconds = 60; // default is one minute; field in Vogar
287 System.out.println(" Default is: " + timeoutSeconds); in printUsage()
504 timeoutSeconds = 0; in parseArgs()
/external/vogar/src/vogar/android/
DAdbTarget.java101 private void waitForNonEmptyDirectory(String pathArgument, int timeoutSeconds) { in waitForNonEmptyDirectory() argument
104 final long deadline = start + (millisPerSecond * timeoutSeconds); in waitForNonEmptyDirectory()
117 throw new RuntimeException("Timed out after " + timeoutSeconds in waitForNonEmptyDirectory()
/external/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/
DHttp2Client.java202 private final int timeoutSeconds = 180; field in Http2Client.Tester
230 if (!responseObserver.awaitCompletion(timeoutSeconds, TimeUnit.SECONDS)) { in rstAfterData()
246 if (!responseObserver.awaitCompletion(timeoutSeconds, TimeUnit.SECONDS)) { in rstDuringData()
280 f.get(timeoutSeconds, TimeUnit.SECONDS); in maxStreams()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DBluetoothLeAdvertiseFacade.java539 Integer timeoutSeconds in bleSetAdvertiseSettingsTimeout()
541 mAdvertiseSettingsBuilder.setTimeout(timeoutSeconds); in bleSetAdvertiseSettingsTimeout()
/external/webrtc/talk/app/webrtc/java/testcommon/src/org/webrtc/
DPeerConnectionTest.java351 public boolean waitForAllExpectationsToBeSatisfied(int timeoutSeconds) { in waitForAllExpectationsToBeSatisfied() argument
361 long endTime = System.currentTimeMillis() + 1000 * timeoutSeconds; in waitForAllExpectationsToBeSatisfied()