/external/jmdns/src/javax/jmdns/impl/tasks/resolver/ |
DNSResolverTask.java | 5 import java.util.Timer; 45 * @see javax.jmdns.impl.tasks.DNSTask#start(java.util.Timer) 48 public void start(Timer timer) { 50 timer.schedule(this, DNSConstants.QUERY_WAIT_INTERVAL, DNSConstants.QUERY_WAIT_INTERVAL);
|
/ndk/tests/device/test-gnustl-full/unit/cppunit/ |
cppunit_timer.h | 24 class Timer { 26 Timer() {
|
/ndk/tests/device/test-stlport/unit/cppunit/ |
cppunit_timer.h | 24 class Timer { 26 Timer() {
|
/system/core/init/ |
util.h | 40 class Timer { 42 Timer() : t0(gettime_ns()) {
|
/external/autotest/frontend/client/src/autotest/common/ |
PaddedJsonRpcProxy.java | 8 import com.google.gwt.user.client.Timer; 36 private Timer timeoutTimer; 48 timeoutTimer = new Timer() { 84 * See the implementation of com.google.gwt.user.client.Timer.fire(), from which this
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
TimerItem.java | 17 package com.android.deskclock.timer; 29 import com.android.deskclock.data.Timer; 32 * This view is a visual representation of a {@link Timer}. 39 /** Displays timer progress as a color circle that changes from white to red. */ 42 /** A button that either resets the timer or adds time to it, depending on its state. */ 45 /** Displays the label associated with the timer. Tapping it presents an edit dialog. */ 48 /** The last state of the timer that was rendered; used to avoid expensive operations. */ 49 private Timer.State mLastState; 73 * Updates this view to display the latest state of the {@code timer}. 75 void update(Timer timer) [all...] |
TimerFragment.java | 17 package com.android.deskclock.timer; 43 import com.android.deskclock.data.Timer; 67 /** Notified when the user swipes vertically to change the visible timer. */ 90 * @return an Intent that selects the timers tab with the setup screen for a new timer in place. 131 // If timer setup state is present, retrieve it to be later honored. 165 // A specific timer must be shown; show the list of timers. 168 // No timers exist, a timer is being created, or the last view was timer setup; 169 // show the timer setup view. 181 // If the intent did not specify a timer to show, show the last timer that expired 183 final Timer timer = DataModel.getDataModel().getMostRecentExpiredTimer(); local 189 final Timer timer = DataModel.getDataModel().getTimer(showTimerId); local 239 final Timer timer = getTimer(); local 269 final Timer timer = getTimer(); local 312 final Timer timer = getTimer(); local 671 final Timer timer = DataModel.getDataModel().addTimer(length, "", false); local [all...] |
TimerCircleView.java | 17 package com.android.deskclock.timer; 30 import com.android.deskclock.data.Timer; 33 * Custom view that draws timer progress as a circle. 37 /** The size of the dot indicating the progress through the timer. */ 43 /** The color indicating the remaining portion of the timer. */ 46 /** The color indicating the completed portion of the timer. */ 49 /** The size of the stroke that paints the timer circle. */ 56 private Timer mTimer; 84 void update(Timer timer) { [all...] |
TimerService.java | 17 package com.android.deskclock.timer; 27 import com.android.deskclock.data.Timer; 31 * <p>This service exists solely to allow {@link android.app.AlarmManager} and timer notifications 52 public static Intent createTimerExpiredIntent(Context context, Timer timer) { 53 final int timerId = timer == null ? -1 : timer.getId(); 103 // Look up the timer in question. 105 final Timer timer = DataModel.getDataModel().getTimer(timerId) local [all...] |
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/tests/performance/ |
concatenation.py | 34 t = timeit.Timer(statement, "from __main__ import " + statement)
|
/system/core/metricsd/include/metrics/ |
timer_mock.h | 24 #include "metrics/timer.h" 28 class TimerMock : public Timer {
|
/external/autotest/client/common_lib/cros/graphite/ |
autotest_stats.py | 63 class Timer(_statsd.Timer): 64 """Wrapper around _statsd.Timer"""
|
/external/autotest/server/site_tests/firmware_FAFTSetup/ |
firmware_FAFTSetup.py | 6 from threading import Timer 59 Timer(self.KEY_PRESS_DELAY, press_action).start()
|
/external/jmdns/src/javax/jmdns/impl/tasks/state/ |
Canceler.java | 8 import java.util.Timer; 52 * @see javax.jmdns.impl.tasks.DNSTask#start(java.util.Timer) 55 public void start(Timer timer) { 56 timer.schedule(this, 0, DNSConstants.ANNOUNCE_WAIT_INTERVAL);
|
Announcer.java | 8 import java.util.Timer; 54 * @see javax.jmdns.impl.tasks.DNSTask#start(java.util.Timer) 57 public void start(Timer timer) { 59 timer.schedule(this, DNSConstants.ANNOUNCE_WAIT_INTERVAL, DNSConstants.ANNOUNCE_WAIT_INTERVAL);
|
/external/nist-sip/java/gov/nist/javax/sip/clientauthutils/ |
CredentialsCache.java | 27 private Timer timer; field in class:CredentialsCache 48 CredentialsCache (Timer timer) { 49 this.timer = timer; 85 this.timer.schedule(timeoutTask, cacheTime*1000);
|
/libcore/ojluni/src/main/java/java/util/ |
Timer.java | 35 * <p>Corresponding to each <tt>Timer</tt> object is a single background 36 * thread that is used to execute all of the timer's tasks, sequentially. 37 * Timer tasks should complete quickly. If a timer task takes excessive time 38 * to complete, it "hogs" the timer's task execution thread. This can, in 43 * <p>After the last live reference to a <tt>Timer</tt> object goes away 44 * <i>and</i> all outstanding tasks have completed execution, the timer's task 49 * wants to terminate a timer's task execution thread rapidly, the caller 50 * should invoke the timer's <tt>cancel</tt> method. 52 * <p>If the timer's task execution thread terminates unexpectedly, fo [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
MapMaker.java | 20 import com.google.gwt.user.client.Timer; 113 Timer timer = new Timer() { local 119 timer.schedule((int) expirationMillis);
|
/frameworks/base/services/core/java/com/android/server/location/ |
LocationBasedCountryDetector.java | 33 import java.util.Timer; 56 protected Timer mTimer; 199 mTimer = new Timer();
|
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/ |
MainActivity.java | 28 import java.util.Timer;
43 private Timer mTimer;
77 mTimer = new Timer();
|
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/ |
RSTestCore.java | 25 import java.util.Timer; 52 /* Periodic timer for ensuring future tests get scheduled */ 53 private Timer mTimer; 113 mTimer = new Timer();
|
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/ |
RSTestCore.java | 25 import java.util.Timer; 52 /* Periodic timer for ensuring future tests get scheduled */ 53 private Timer mTimer; 117 mTimer = new Timer();
|
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/ |
RSTestCore.java | 25 import java.util.Timer; 52 /* Periodic timer for ensuring future tests get scheduled */ 53 private Timer mTimer; 117 mTimer = new Timer();
|
/packages/apps/UnifiedEmail/src/com/android/mail/perf/ |
Timer.java | 36 * Timer.startTiming("myEvent"); 38 * Timer.stopTiming("myEvent"); 41 * The other way is to instantiate a timer that can be passed around, and started and paused. The 42 * timer will accumulate the results for each tag, and dump the results when asked. 45 * Timer timer = new Timer(); 48 * timer.start("tagA"); 50 * timer.pause("tagA"); 54 * timer.dumpResults() [all...] |
/system/connectivity/shill/ |
metrics.h | 27 #include <metrics/timer.h> [all...] |