/external/jmdns/src/javax/jmdns/impl/tasks/state/ |
Renewer.java | 8 import java.util.Timer; 52 * @see javax.jmdns.impl.tasks.DNSTask#start(java.util.Timer) 55 public void start(Timer timer) { 59 timer.schedule(this, getTTL() * 500, getTTL() * 500);
|
Prober.java | 8 import java.util.Timer; 57 * @see javax.jmdns.impl.tasks.DNSTask#start(java.util.Timer) 60 public void start(Timer timer) { 70 timer.schedule(this, JmDNSImpl.getRandom().nextInt(1 + DNSConstants.PROBE_WAIT_INTERVAL), DNSConstants.PROBE_WAIT_INTERVAL); 72 timer.schedule(this, DNSConstants.PROBE_CONFLICT_INTERVAL, DNSConstants.PROBE_CONFLICT_INTERVAL);
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
Pipeline.java | 50 private Timer timer; field in class:Pipeline 112 this.timer.schedule(this.myTimerTask, this.readTimeout); 122 public Pipeline(InputStream pipe, int readTimeout, Timer timer) { 125 this.timer = timer;
|
/external/v8/tools/testrunner/local/ |
commands.py | 31 from threading import Timer 103 # Pseudo object to communicate with timer thread. 106 timer = Timer(timeout, kill_process, [process, timeout_result]) 107 timer.start() 109 timer.cancel()
|
/external/autotest/client/cros/ |
power_strip.py | 30 threading.Timer(delay, self._do_command, (command, outlet)).start()
|
/external/autotest/contrib/ |
db_optimize.py | 26 timer = autotest_stats.Timer(STATS_KEY) variable 28 @timer.decorate
|
/external/autotest/site_utils/ |
abort_suite.py | 41 _timer = autotest_stats.Timer('abort_suites')
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/sqs/ |
test_bigmessage.py | 28 from threading import Timer
|
/external/jmdns/src/javax/jmdns/impl/ |
DNSTaskStarter.java | 7 import java.util.Timer; 143 * The timer is used to dispatch all outgoing messages of JmDNS. It is also used to dispatch maintenance tasks for the DNS cache. 145 private final Timer _timer; 148 * The timer is used to dispatch maintenance tasks for the DNS cache. 150 private final Timer _stateTimer; 152 public static class StarterTimer extends Timer { 192 * @see java.util.Timer#cancel() 203 * @see java.util.Timer#schedule(java.util.TimerTask, long) 213 * @see java.util.Timer#schedule(java.util.TimerTask, java.util.Date) 223 * @see java.util.Timer#schedule(java.util.TimerTask, long, long [all...] |
/external/libchrome/components/timers/ |
alarm_timer_chromeos.h | 13 #include "base/timer/timer.h" 21 // The class implements a timer that is capable of waking the system up from a 26 // exactly the same way as a regular Timer. 27 class AlarmTimer : public base::Timer { 33 // Sets a hook that will be called when the timer fires and a task has been 38 // Timer overrides. 53 // really should live in a delegated constructor but the way base::Timer's 57 // Will be called by the delegate to indicate that the timer has fired and 64 // Delegate that will manage actually setting the timer [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
SensorPowerCalculator.java | 43 final BatteryStats.Timer timer = sensor.getSensorTime(); local 44 final long sensorTime = timer.getTotalTimeLocked(rawRealtimeUs, statsType) / 1000;
|
WakelockPowerCalculator.java | 44 BatteryStats.Timer timer = wakelock.getWakeTime(BatteryStats.WAKE_TYPE_PARTIAL); local 45 if (timer != null) { 46 wakeLockTimeUs += timer.getTotalTimeLocked(rawRealtimeUs, statsType);
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
timeit.py | 9 Library usage: see the Timer class. 16 -r/--repeat N: how many times to repeat the timer (default 3) 33 The difference in default timer function is because on Windows, 36 time() is much more precise. On either platform, the default timer 64 __all__ = ["Timer"] 71 # On Windows, the best timer is time.clock() 74 # On most other platforms the best timer is time.time() 78 # in Timer.__init__() depend on setup being indented 4 spaces and stmt 95 """Create a timer function. Used if the "statement" is a callable.""" 105 class Timer [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
timeit.py | 9 Library usage: see the Timer class. 16 -r/--repeat N: how many times to repeat the timer (default 3) 33 The difference in default timer function is because on Windows, 36 time() is much more precise. On either platform, the default timer 64 __all__ = ["Timer"] 71 # On Windows, the best timer is time.clock() 74 # On most other platforms the best timer is time.time() 78 # in Timer.__init__() depend on setup being indented 4 spaces and stmt 95 """Create a timer function. Used if the "statement" is a callable.""" 105 class Timer [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
timeit.py | 9 Library usage: see the Timer class. 16 -r/--repeat N: how many times to repeat the timer (default 3) 33 The difference in default timer function is because on Windows, 36 time() is much more precise. On either platform, the default timer 64 __all__ = ["Timer"] 71 # On Windows, the best timer is time.clock() 74 # On most other platforms the best timer is time.time() 78 # in Timer.__init__() depend on setup being indented 4 spaces and stmt 95 """Create a timer function. Used if the "statement" is a callable.""" 105 class Timer [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
timeit.py | 9 Library usage: see the Timer class. 16 -r/--repeat N: how many times to repeat the timer (default 3) 33 The difference in default timer function is because on Windows, 36 time() is much more precise. On either platform, the default timer 64 __all__ = ["Timer"] 71 # On Windows, the best timer is time.clock() 74 # On most other platforms the best timer is time.time() 78 # in Timer.__init__() depend on setup being indented 4 spaces and stmt 95 """Create a timer function. Used if the "statement" is a callable.""" 105 class Timer [all...] |
/external/libchrome/base/timer/ |
timer_unittest.cc | 11 #include "base/timer/timer.h" 20 // The message loops on which each timer should be tested. 127 // This should run before the timer expires. 130 // Now start the timer. 176 // This should run before the timer expires. 179 // Now start the timer. 208 // If Delay is never called, the timer shouldn't go off. 210 base::DelayTimer timer(FROM_HERE, TimeDelta::FromMilliseconds(1), &target, 225 base::DelayTimer timer(FROM_HERE, TimeDelta::FromMilliseconds(1), &target [all...] |
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/ |
PlayerActivity.java | 40 import java.util.Timer; 71 private Timer mSeekbarTimer; 72 private Timer mControllersTimer; 152 mSeekbarTimer = new Timer(); 167 mControllersTimer = new Timer(); 322 mControllersTimer = new Timer();
|
/external/autotest/scheduler/ |
thread_lib.py | 39 with autotest_stats.Timer(self.name): 52 """Initialize a persistent timer. 57 self.timer = None 61 """Create and start a new timer.""" 62 self.timer = autotest_stats.Timer(self.name) 63 self.timer.start() 67 """Stop a previously started timer.""" 69 self.timer.stop() 71 logging.info('Stopping timer %s failed: %s', self.name, e [all...] |
site_drone_manager.py | 19 _timer = autotest_stats.Timer('drone_manager')
|
/external/autotest/server/site_tests/firmware_ECLidSwitch/ |
firmware_ECLidSwitch.py | 5 from threading import Timer 17 t = Timer(seconds, f, args, kargs)
|
/external/jmdns/src/javax/jmdns/impl/tasks/ |
DNSTask.java | 5 import java.util.Timer; 16 * This is the root class for all task scheduled by the timer in JmDNS. 47 * @param timer 48 * task timer. 50 public abstract void start(Timer timer);
|
Responder.java | 9 import java.util.Timer; 62 * @see javax.jmdns.impl.tasks.DNSTask#start(java.util.Timer) 65 public void start(Timer timer) { 91 timer.schedule(this, delay);
|
/packages/apps/Email/tests/src/com/android/email/ |
ThrottleTest.java | 27 import java.util.Timer; 169 * Substitute for {@link Timer} that works based on the provided {@link Clock}. 171 private static class MockTimer extends Timer {
|
/external/autotest/client/common_lib/cros/graphite/ |
es_test_utils.py | 21 'timer': autotest_stats.Timer, 30 # For example, in order for timer to send something, its stop 33 'timer': 'stop', 58 ['timer', 'gauge', 'raw', 'average', 'counter'] 85 if target_type == 'timer':
|