/external/guava/android/guava-testlib/src/com/google/common/testing/ |
D | GcFinalization.java | 115 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/ |
D | GcFinalization.java | 115 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/ |
D | RunActionTask.java | 48 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()
|
D | BuildActionTask.java | 137 properties.setProperty(TestProperties.TIMEOUT, Integer.toString(run.timeoutSeconds)); in fillInProperties()
|
/external/vogar/src/vogar/target/junit/ |
D | TimeoutAndAbortRunRule.java | 40 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);
|
D | JUnitRunnerFactory.java | 33 TestEnvironment testEnvironment, int timeoutSeconds, String[] args) { in newRunner() argument 36 timeoutSeconds, klass, qualification, args); in newRunner()
|
D | JUnitTargetRunner.java | 49 int timeoutSeconds, Class<?> testClass, in JUnitTargetRunner() argument 56 TimeoutAndAbortRunRule timeoutRule = new TimeoutAndAbortRunRule(timeoutSeconds); in JUnitTargetRunner()
|
/external/vogar/src/vogar/target/ |
D | TestRunner.java | 51 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()
|
D | RunnerFactory.java | 35 int timeoutSeconds, String[] args); in newRunner() argument
|
D | MainRunnerFactory.java | 31 TestEnvironment testEnvironment, int timeoutSeconds, String[] args) { in newRunner() argument
|
D | CaliperRunnerFactory.java | 54 TestEnvironment testEnvironment, int timeoutSeconds, String[] args) { in newRunner() argument
|
/external/vogar/src/vogar/commands/ |
D | Command.java | 158 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/ |
D | Run.java | 73 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()
|
D | Vogar.java | 93 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/ |
D | AdbTarget.java | 101 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/ |
D | Http2Client.java | 202 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/ |
D | BluetoothLeAdvertiseFacade.java | 539 Integer timeoutSeconds in bleSetAdvertiseSettingsTimeout() 541 mAdvertiseSettingsBuilder.setTimeout(timeoutSeconds); in bleSetAdvertiseSettingsTimeout()
|
/external/webrtc/talk/app/webrtc/java/testcommon/src/org/webrtc/ |
D | PeerConnectionTest.java | 351 public boolean waitForAllExpectationsToBeSatisfied(int timeoutSeconds) { in waitForAllExpectationsToBeSatisfied() argument 361 long endTime = System.currentTimeMillis() + 1000 * timeoutSeconds; in waitForAllExpectationsToBeSatisfied()
|