Home
last modified time | relevance | path

Searched refs:Stopwatch (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/DeskClock/src/com/android/deskclock/data/
DStopwatch.java21 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;
28 public final class Stopwatch { class
35 private static final Stopwatch RESET_STOPWATCH = new Stopwatch(RESET, UNUSED, UNUSED, 0);
49 Stopwatch(State state, long lastStartTime, long lastWallClockTime, long accumulatedTime) { in Stopwatch() method in Stopwatch
88 Stopwatch start() { in start()
93 return new Stopwatch(RUNNING, now(), wallClock(), getTotalTime()); in start()
99 Stopwatch pause() { in pause()
104 return new Stopwatch(PAUSED, UNUSED, UNUSED, getTotalTime()); in pause()
[all …]
DStopwatchDAO.java21 import com.android.deskclock.data.Stopwatch.State;
27 import static com.android.deskclock.data.Stopwatch.State.RESET;
58 static Stopwatch getStopwatch(SharedPreferences prefs) { in getStopwatch()
61 final long lastStartTime = prefs.getLong(LAST_START_TIME, Stopwatch.UNUSED); in getStopwatch()
62 final long lastWallClockTime = prefs.getLong(LAST_WALL_CLOCK_TIME, Stopwatch.UNUSED); in getStopwatch()
64 Stopwatch s = new Stopwatch(state, lastStartTime, lastWallClockTime, accumulatedTime); in getStopwatch()
77 static void setStopwatch(SharedPreferences prefs, Stopwatch stopwatch) { in setStopwatch()
DStopwatchModel.java62 private Stopwatch mStopwatch;
95 Stopwatch getStopwatch() { in getStopwatch()
106 Stopwatch setStopwatch(Stopwatch stopwatch) { in setStopwatch()
107 final Stopwatch before = getStopwatch(); in setStopwatch()
201 final Stopwatch stopwatch = getStopwatch(); in getLongestLapTime()
227 final Stopwatch stopwatch = getStopwatch(); in updateNotification()
DStopwatchListener.java28 void stopwatchUpdated(Stopwatch before, Stopwatch after); in stopwatchUpdated()
DDataModel.java761 public Stopwatch getStopwatch() { in getStopwatch()
769 public Stopwatch startStopwatch() { in startStopwatch()
777 public Stopwatch pauseStopwatch() { in pauseStopwatch()
785 public Stopwatch resetStopwatch() { in resetStopwatch()
DStopwatchNotificationBuilder.java66 public Notification build(Context context, NotificationModel nm, Stopwatch stopwatch) { in build()
/packages/modules/NetworkStack/src/com/android/networkstack/metrics/
DIpProvisioningMetrics.java20 import android.net.util.Stopwatch;
42 private final Stopwatch mIpv4Watch = new Stopwatch().start();
43 private final Stopwatch mIpv6Watch = new Stopwatch().start();
44 private final Stopwatch mWatch = new Stopwatch().start();
DNetworkValidationMetrics.java34 import android.net.util.Stopwatch;
57 private final Stopwatch mWatch = new Stopwatch();
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchFragment.java54 import com.android.deskclock.data.Stopwatch;
336 final Stopwatch.State priorState = getStopwatch().getState(); in doReset()
341 if (priorState == Stopwatch.State.RUNNING) { in doReset()
465 private Stopwatch getStopwatch() { in getStopwatch()
496 final Stopwatch stopwatch = getStopwatch(); in updateTime()
520 final Stopwatch stopwatch = getStopwatch(); in updateUI()
545 final Stopwatch stopwatch = getStopwatch(); in run()
584 public void stopwatchUpdated(Stopwatch before, Stopwatch after) {
DStopwatchCircleView.java33 import com.android.deskclock.data.Stopwatch;
125 final Stopwatch stopwatch = getStopwatch(); in onDraw()
170 private Stopwatch getStopwatch() { in getStopwatch()
DLapsAdapter.java31 import com.android.deskclock.data.Stopwatch;
181 final Stopwatch stopwatch = getStopwatch(); in getShareText()
333 private Stopwatch getStopwatch() { in getStopwatch()
/packages/modules/NetworkStack/src/android/net/util/
DStopwatch.java25 public class Stopwatch { class
44 public Stopwatch start() { in start()
54 public Stopwatch restart() { in restart()
/packages/apps/Messaging/src/com/android/messaging/util/
DGifTranscoder.java22 import com.google.common.base.Stopwatch;
48 Stopwatch stopwatch = Stopwatch.createStarted(); in transcode()
/packages/modules/NetworkStack/src/com/android/networkstack/util/
DDnsUtils.java26 import android.net.util.Stopwatch;
102 final Stopwatch watch = new Stopwatch().start(); in getAllByName()
/packages/apps/DeskClock/src/com/android/deskclock/controller/
DShortcutController.java39 import com.android.deskclock.data.Stopwatch;
165 public void stopwatchUpdated(Stopwatch before, Stopwatch after) { in stopwatchUpdated()
/packages/modules/DnsResolver/
DDnsTlsDispatcher.cpp34 using android::netdutils::Stopwatch;
106 Stopwatch queryStopwatch; in query()
DDnsProxyListener.cpp70 using netdutils::Stopwatch;
714 Stopwatch s; in run()
910 Stopwatch s; in run()
1145 Stopwatch s; in run()
1313 Stopwatch s; in run()
Dres_send.cpp145 using android::netdutils::Stopwatch;
436 Stopwatch cacheStopwatch; in res_nsend()
532 Stopwatch queryStopwatch; in res_nsend()
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java120 import android.net.util.Stopwatch;
486 private final Stopwatch mEvaluationTimer = new Stopwatch();
1496 final Stopwatch watch = new Stopwatch().start(); in sendPrivateDnsProbe()
2385 final Stopwatch watch = new Stopwatch().start(); in sendDnsProbe()
2430 final Stopwatch probeTimer = new Stopwatch().start(); in sendHttpProbe()
2739 final Stopwatch capportApiWatch = new Stopwatch().start(); in tryCapportApiProbe()
/packages/modules/DnsResolver/tests/
Ddnsresolver_binder_test.cpp49 using android::netdutils::Stopwatch;
76 class TimedOperation : public Stopwatch {
Dresolv_integration_test.cpp96 using android::netdutils::Stopwatch;
113 Stopwatch s; in safe_getaddrinfo_time_taken()
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/TV/libs/m2/
Dguava-28.0-android.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-28.0-jre.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/packages/apps/Messaging/build/gcheckstyle/
Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...

12