Home
last modified time | relevance | path

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

/external/guava/guava-testlib/src/com/google/common/testing/
DGcFinalization.java109 private static long timeoutSeconds() { in timeoutSeconds() method in GcFinalization
134 final long timeoutSeconds = timeoutSeconds(); in awaitDone() local
135 final long deadline = System.nanoTime() + SECONDS.toNanos(timeoutSeconds); in awaitDone()
156 String.format("Future not done within %d second timeout", timeoutSeconds)); in awaitDone()
169 final long timeoutSeconds = timeoutSeconds(); in await() local
170 final long deadline = System.nanoTime() + SECONDS.toNanos(timeoutSeconds); in await()
186 String.format("Latch failed to count down within %d second timeout", timeoutSeconds)); in await()
222 final long timeoutSeconds = timeoutSeconds(); in awaitDone() local
223 final long deadline = System.nanoTime() + SECONDS.toNanos(timeoutSeconds); in awaitDone()
237 String.format("Predicate did not become true within %d second timeout", timeoutSeconds)); in awaitDone()
/external/vogar/src/vogar/target/junit/
DJUnitRunner.java44 private final int timeoutSeconds; field in JUnitRunner
52 TestEnvironment testEnvironment, int timeoutSeconds, List<VogarTest> tests) { in JUnitRunner() argument
56 this.timeoutSeconds = timeoutSeconds; in JUnitRunner()
114 thrown = timeoutSeconds == 0 in runWithTimeout()
116 : result.get(timeoutSeconds, TimeUnit.SECONDS); in runWithTimeout()
DJUnitRunnerFactory.java40 TestEnvironment testEnvironment, int timeoutSeconds, boolean profile, in newRunner() argument
44 return new JUnitRunner(monitor, skipPastReference, testEnvironment, timeoutSeconds, in newRunner()
/external/vogar/src/vogar/target/
DTestRunner.java51 private final int timeoutSeconds; field in TestRunner
65 timeoutSeconds = Integer.parseInt(properties.getProperty(TestProperties.TIMEOUT)); in TestRunner()
225 skipPastReference, testEnvironment, timeoutSeconds, profile, args); in run()
273 … TestEnvironment testEnvironment, int timeoutSeconds, boolean profile, String[] args) { in newRunner() argument
276 skipPastReference, testEnvironment, timeoutSeconds, profile, args); in newRunner()
DRunnerFactory.java35 int timeoutSeconds, boolean profile, String[] args); in newRunner() argument
DMainRunnerFactory.java31 TestEnvironment testEnvironment, int timeoutSeconds, boolean profile, in newRunner() argument
DCaliperRunnerFactory.java54 TestEnvironment testEnvironment, int timeoutSeconds, boolean profile, 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.java75 public final int timeoutSeconds; field in Run
146 this.largeTimeoutSeconds = vogar.timeoutSeconds * Vogar.LARGE_TIMEOUT_MULTIPLIER; in Run()
150 this.timeoutSeconds = vogar.timeoutSeconds; in Run()
151 this.smallTimeoutSeconds = vogar.timeoutSeconds; in Run()
DVogar.java75 int timeoutSeconds = 60; // default is one minute; field in Vogar
288 System.out.println(" Default is: " + timeoutSeconds); in printUsage()
478 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/vogar/src/vogar/tasks/
DRunActionTask.java83 int timeoutSeconds = useLargeTimeout in execute() local
86 if (timeoutSeconds != 0) { in execute()
87 currentCommand.scheduleTimeout(timeoutSeconds); in execute()
DBuildActionTask.java189 properties.setProperty(TestProperties.TIMEOUT, Integer.toString(run.timeoutSeconds)); in fillInProperties()
/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLSessionImpl.java363 int timeoutSeconds = context.getSessionTimeout(); in isValid() local
364 if (timeoutSeconds == 0) { in isValid()
373 if ((ageSeconds >= timeoutSeconds) || (ageSeconds < 0)) { in isValid()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DBluetoothLeAdvertiseFacade.java521 Integer timeoutSeconds in bleSetAdvertiseSettingsTimeout()
523 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()
/external/guice/lib/build/
Dguava-testlib-16.0.1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/robolectric/v3/runtime/
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...