/external/mockito/src/test/java/org/mockitoutil/ |
D | Stopwatch.java | 46 long elapsedNanos = elapsedNanos(); in assertElapsedTimeIsMoreThan() local 49 if (elapsedNanos <= expectedNanos) in assertElapsedTimeIsMoreThan() 50 … fail("Expected that more than %dms elapsed! But was: %dms", expectedNanos, elapsedNanos); in assertElapsedTimeIsMoreThan() 54 long elapsedNanos = elapsedNanos(); in assertElapsedTimeIsLessThan() local 57 if (elapsedNanos >= expectedNanos) in assertElapsedTimeIsLessThan() 58 … fail("Expected that less than %dms elapsed! But was: %dms", expectedNanos, elapsedNanos); in assertElapsedTimeIsLessThan() 61 private long elapsedNanos() { in elapsedNanos() method in Stopwatch 67 private static void fail(String message, long expectedNanos, long elapsedNanos) { in fail() argument 68 …ionError(format(message, NANOSECONDS.toMillis(expectedNanos), NANOSECONDS.toMillis(elapsedNanos))); in fail()
|
/external/guava/guava/src/com/google/common/base/ |
D | Stopwatch.java | 79 private long elapsedNanos; field in Stopwatch 177 elapsedNanos += tick - startTick; in stop() 188 elapsedNanos = 0; in reset() 193 private long elapsedNanos() { in elapsedNanos() method in Stopwatch 194 return isRunning ? ticker.read() - startTick + elapsedNanos : elapsedNanos; in elapsedNanos() 208 return desiredUnit.convert(elapsedNanos(), NANOSECONDS); in elapsed() 216 long nanos = elapsedNanos(); in toString()
|
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/ |
D | Stopwatch.java | 78 private long elapsedNanos; field in Stopwatch 176 elapsedNanos += tick - startTick; in stop() 187 elapsedNanos = 0; in reset() 192 private long elapsedNanos() { in elapsedNanos() method in Stopwatch 193 return isRunning ? ticker.read() - startTick + elapsedNanos : elapsedNanos; in elapsedNanos() 207 return desiredUnit.convert(elapsedNanos(), NANOSECONDS); in elapsed()
|
/external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/ |
D | MockWebServerTest.java | 208 long elapsedNanos = System.nanoTime() - startNanos; in throttleRequest() local 209 long elapsedMillis = NANOSECONDS.toMillis(elapsedNanos); in throttleRequest() 234 long elapsedNanos = System.nanoTime() - startNanos; 235 long elapsedMillis = NANOSECONDS.toMillis(elapsedNanos); 251 long elapsedNanos = System.nanoTime() - startNanos; 252 long elapsedMillis = NANOSECONDS.toMillis(elapsedNanos);
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
D | Spdy3ConnectionTest.java | 907 long elapsedNanos = System.nanoTime() - startNanos; 909 assertEquals(500d, TimeUnit.NANOSECONDS.toMillis(elapsedNanos), 200d /* 200ms delta */); 935 long elapsedNanos = System.nanoTime() - startNanos; 937 assertEquals(500d, TimeUnit.NANOSECONDS.toMillis(elapsedNanos), 200d /* 200ms delta */); 973 long elapsedNanos = System.nanoTime() - startNanos; 975 assertEquals(500d, TimeUnit.NANOSECONDS.toMillis(elapsedNanos), 200d /* 200ms delta */); 1014 long elapsedNanos = System.nanoTime() - startNanos; 1016 assertEquals(500d, TimeUnit.NANOSECONDS.toMillis(elapsedNanos), 200d /* 200ms delta */);
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | CallTest.java | 750 long elapsedNanos = System.nanoTime() - startNanos; in timeoutsUpdatedOnReusedConnections() 751 long elapsedMillis = TimeUnit.NANOSECONDS.toMillis(elapsedNanos); in timeoutsUpdatedOnReusedConnections() 1608 long elapsedNanos = System.nanoTime() - startNanos; in cancelDuringConnect() local 1609 assertEquals(cancelDelayMillis, TimeUnit.NANOSECONDS.toMillis(elapsedNanos), 100f); in cancelDuringConnect()
|
D | URLConnectionTest.java | 1343 long elapsedNanos = System.nanoTime() - startNanos; in streamDiscardingIsTimely() local 1344 long elapsedMillis = NANOSECONDS.toMillis(elapsedNanos); in streamDiscardingIsTimely()
|
/external/guava/guava/src/com/google/common/cache/ |
D | LocalCache.java | 2352 statsCounter.recordLoadSuccess(loadingValueReference.elapsedNanos()); in getAndRecordStats() 2357 statsCounter.recordLoadException(loadingValueReference.elapsedNanos()); in getAndRecordStats() 3551 public long elapsedNanos() { in elapsedNanos() method
|
/external/owasp/sanitizer/distrib/lib/ |
D | guava.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
/external/owasp/sanitizer/lib/guava-libraries/ |
D | guava.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
/external/guice/lib/ |
D | guava-19.0.jar | META-INF/MANIFEST.MF
META-INF/
META-INF/maven/
META- ... |
/external/cldr/tools/java/libs/ |
D | guava.jar | META-INF/MANIFEST.MF
META-INF/
META-INF/maven/
META- ... |
/external/v8/src/inspector/build/closure-compiler/ |
D | closure-compiler.jar | META-INF/MANIFEST.MF
META-INF/
com/
com/google/
com/ ... |
/external/conscrypt/benchmark-android/ |
D | vogar.jar | META-INF/
META-INF/MANIFEST.MF
vogar/
vogar/TestProperties.class
TestProperties ... |
/external/error_prone/error_prone/ |
D | error_prone_core-2.3.2-with-dependencies.jar | META-INF/
META-INF/MANIFEST.MF
META-INF/services/
META- ... |
/external/dagger2/lib/ |
D | google-java-format-0.1-20151017.042846-2.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |