HomeSort by relevance Sort by last modified time
    Searched defs:Stopwatch (Results 1 - 25 of 116) sorted by null

1 2 3 4 5

  /development/tools/idegen/src/
Stopwatch.java 20 class Stopwatch {
  /external/libmojo/mojo/edk/system/
test_utils.h 36 // Stopwatch -------------------------------------------------------------------
38 // A simple "stopwatch" for measuring time elapsed from a given starting point.
39 class Stopwatch {
41 Stopwatch();
42 ~Stopwatch();
52 DISALLOW_COPY_AND_ASSIGN(Stopwatch);
test_utils.cc 57 Stopwatch::Stopwatch() {
60 Stopwatch::~Stopwatch() {
63 void Stopwatch::Start() {
67 MojoDeadline Stopwatch::Elapsed() {
  /system/netd/include/
Stopwatch.h 22 class Stopwatch {
24 Stopwatch() : mStart(clock::now()) {}
26 virtual ~Stopwatch() {};
  /external/junit/src/main/java/org/junit/rules/
Stopwatch.java 10 * The Stopwatch Rule notifies one of its own protected methods of the time spent by a test.
26 * public Stopwatch stopwatch = new Stopwatch() {
70 * assertEquals(300d, stopwatch.runtime(MILLISECONDS), delta);
72 * assertEquals(800d, stopwatch.runtime(MILLISECONDS), delta);
79 public abstract class Stopwatch implements TestRule {
84 public Stopwatch() {
88 Stopwatch(Clock clock) {
154 Stopwatch.this.starting()
    [all...]
  /external/guice/core/src/com/google/inject/internal/util/
Stopwatch.java 26 public final class Stopwatch {
27 private static final Logger logger = Logger.getLogger(Stopwatch.class.getName());
  /external/mockito/src/test/java/org/mockitoutil/
Stopwatch.java 15 * This class can be uses as stopwatch to assert that a given time is elapsed or not.
17 public class Stopwatch {
27 private Stopwatch() {
31 * Return a new and not started {@link Stopwatch}.
33 public static Stopwatch createNotStarted() {
34 return new Stopwatch();
  /frameworks/base/services/net/java/android/net/util/
Stopwatch.java 25 public class Stopwatch {
43 // Stopwatch s = new Stopwatch().start();
44 public Stopwatch start() {
61 // If the Stopwatch is not running, returns the same value as stop(),
  /external/guava/guava/src/com/google/common/base/
Stopwatch.java 45 * returned by {@code nanoTime} at a different time. {@code Stopwatch} is a
52 * Stopwatch stopwatch = Stopwatch.{@link #createStarted createStarted}();
54 * stopwatch.{@link #stop stop}(); // optional
56 * long millis = stopwatch.elapsed(MILLISECONDS);
58 * log.info("time: " + stopwatch); // formatted string like "12.3 ms"</pre>
60 * <p>Stopwatch methods are not idempotent; it is an error to start or stop a
61 * stopwatch that is already in the desired state.
67 * simulate any valid behavior of the stopwatch
    [all...]
  /external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
Stopwatch.java 44 * returned by {@code nanoTime} at a different time. {@code Stopwatch} is a
51 * Stopwatch stopwatch = Stopwatch.{@link #createStarted createStarted}();
53 * stopwatch.{@link #stop stop}(); // optional
55 * long millis = stopwatch.elapsed(MILLISECONDS);
57 * log.info("time: " + stopwatch); // formatted string like "12.3 ms"</pre>
59 * <p>Stopwatch methods are not idempotent; it is an error to start or stop a
60 * stopwatch that is already in the desired state.
66 * simulate any valid behavior of the stopwatch
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/data/
Stopwatch.java 21 import static com.android.deskclock.data.Stopwatch.State.PAUSED;
22 import static com.android.deskclock.data.Stopwatch.State.RESET;
23 import static com.android.deskclock.data.Stopwatch.State.RUNNING;
26 * A read-only domain object representing a stopwatch.
28 public final class Stopwatch {
34 /** The single, immutable instance of a reset stopwatch. */
35 private static final Stopwatch RESET_STOPWATCH = new Stopwatch(RESET, UNUSED, UNUSED, 0);
37 /** Current state of this stopwatch. */
40 /** Elapsed time in ms the stopwatch was last started; {@link #UNUSED} if not running. *
    [all...]
  /prebuilts/devtools/tools/lib/
junit-4.12.jar 
  /prebuilts/misc/common/robolectric/3.1.1/lib/
junit-4.12.jar 
  /prebuilts/tools/common/m2/repository/junit/junit/4.12/
junit-4.12.jar 
  /prebuilts/misc/common/ub-janktesthelper/
ub-janktesthelper.jar 
  /prebuilts/misc/common/android-support-test/espresso/
espresso_web_release_no_deps.jar 
espresso_core_release_no_deps.jar 
  /external/annotation-tools/annotation-file-utilities/lib/
plume-core.jar 
  /prebuilts/tools/common/m2/repository/org/sonatype/sisu/sisu-guice/3.1.0/
sisu-guice-3.1.0-no_aop.jar 
sisu-guice-3.1.0.jar 
  /external/testng/lib-supplied/
guice-2.0.jar 
  /prebuilts/tools/common/m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/
sisu-guice-2.1.7-noaop.jar 
  /external/owasp/sanitizer/distrib/lib/
guava.jar 
  /external/owasp/sanitizer/lib/guava-libraries/
guava.jar 
  /packages/services/Telecomm/libs/
guava.jar 

Completed in 1091 milliseconds

1 2 3 4 5