/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/ |
Timer.java | 13 public final class Timer { 25 public Timer start() { 52 public Timer setTimingPeriod(long timingPeriod) { 68 public String toString(Timer other) {
|
/external/llvm/lib/Support/ |
Timer.cpp | 1 //===-- Timer.cpp - Interval Timing Support -------------------------------===// 14 #include "llvm/Support/Timer.h" 49 cl::desc("File to append -stats and -timer output to"), 95 // Timer Implementation 98 void Timer::init(StringRef N) { 102 void Timer::init(StringRef N, TimerGroup &tg) { 103 assert(!TG && "Timer already initialized"); 110 Timer::~Timer() { 138 static ManagedStatic<std::vector<Timer*> > ActiveTimers [all...] |
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/ |
SuspendStateMonitor.java | 5 import java.util.Timer; 24 Timer sleepMonitoringTimer = new Timer();
|
/external/skia/platform_tools/android/examples/hello_skia_app/src/com/example/ |
HelloSkiaActivity.java | 3 import java.util.Timer; 38 // Set a timer that will periodically request an update of the SkiaDrawView 39 Timer fAnimationTimer = new Timer(); 46 }, 0, 5); // 0 means no delay before the timer starts; 5 means repeat every 5 milliseconds
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
DataModel.java | 59 /** The model from which timer data are fetched. */ 264 public List<Timer> getTimers() { 272 public List<Timer> getExpiredTimers() { 278 * @param timerId identifies the timer to return 279 * @return the timer with the given {@code timerId} 281 public Timer getTimer(int timerId) { 287 * @return the timer that last expired and is still expired now; {@code null} if no timers are 290 public Timer getMostRecentExpiredTimer() { 296 * @param length the length of the timer in milliseconds 297 * @param label describes the purpose of the timer [all...] |
TimerDAO.java | 24 import com.android.deskclock.data.Timer.State; 32 import static com.android.deskclock.data.Timer.State.RESET; 35 * This class encapsulates the transfer of data between {@link Timer} domain objects and their 40 // Key to a preference that stores the set of timer ids. 43 // Key to a preference that stores the id to assign to the next timer. 46 // Prefix for a key to a preference that stores the state of the timer. 49 // Prefix for a key to a preference that stores the length of the timer when it was created. 52 // Prefix for a key to a preference that stores the total length of the timer with additions. 55 // Prefix for a key to a preference that stores the last start time of the timer. 61 // Prefix for a key to a preference that stores the label of the timer [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
TimerItemFragment.java | 17 package com.android.deskclock.timer; 29 import com.android.deskclock.data.Timer; 40 public static TimerItemFragment newInstance(Timer timer) { 43 args.putInt(KEY_TIMER_ID, timer.getId()); 67 * @return {@code true} iff the timer is in a state that requires continuous updates 72 final Timer timer = getTimer(); local 73 view.update(timer); 74 return !timer.isReset() 91 final Timer timer = getTimer(); local [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
Throttle.java | 22 import java.util.Timer; 44 private static Timer TIMER = new Timer(); 47 private final Timer mTimer; 80 this(name, callback, handler, minTimeout, maxTimeout, Clock.INSTANCE, TIMER); 86 int maxTimeout, Clock clock, Timer timer) { 93 mTimer = timer; 148 * Timer task called on timeout [all...] |
/art/tools/dexfuzz/src/dexfuzz/fuzzers/ |
Fuzzer.java | 21 import dexfuzz.Timer; 79 private Timer totalTimer = new Timer("Total Time"); 80 private Timer timerDexInput = new Timer("DEX Input"); 81 private Timer timerProgGen = new Timer("Program Generation"); 82 private Timer timerMutation = new Timer("Mutation Time"); 83 private Timer timerDexOutput = new Timer("DEX Output") [all...] |
/external/autotest/client/common_lib/cros/graphite/ |
stats.py | 135 class Timer(statsd.Timer): 136 """Wrapper around statsd.Timer.""" 140 statsd.Timer.stop(self, subname) 151 statsd.Timer.send(self, subname, value) 165 self.Timer = Timer
|
statsd_mock.py | 33 class Timer(stats_es_mock.mock_class_base): 34 """Mock class for statsd.Timer."""
|
statsd_mock_unittest.py | 38 """Test mock class Timer""" 39 timer = statsd.Timer('timer') 40 timer.start() 41 timer.stop() 44 """Test class to test timer decorator.""" 45 test_timer = statsd.Timer('test') 49 """Test function to apply timer decorator to.""" 53 self.assertTrue(dt.f(), 'timer decorator failed.' [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
ServRespTestCase.java | 18 import java.util.Timer; 34 private Timer mTimer; 42 mTimer = new Timer(true);
|
/developers/build/prebuilts/gradle/JumpingJack/Wearable/src/main/java/com/example/android/wearable/jumpingjack/fragments/ |
CounterFragment.java | 31 import java.util.Timer; 41 private Timer mAnimationTimer; 76 mAnimationTimer = new Timer();
|
/developers/samples/android/wearable/wear/JumpingJack/Wearable/src/main/java/com/example/android/wearable/jumpingjack/fragments/ |
CounterFragment.java | 31 import java.util.Timer; 41 private Timer mAnimationTimer; 76 mAnimationTimer = new Timer();
|
/development/samples/browseable/JumpingJack/src/com.example.android.wearable.jumpingjack/fragments/ |
CounterFragment.java | 31 import java.util.Timer; 41 private Timer mAnimationTimer; 76 mAnimationTimer = new Timer();
|
/external/autotest/server/site_tests/firmware_ECPowerButton/ |
firmware_ECPowerButton.py | 7 from threading import Timer 53 Timer(3, self.servo.power_key, [0.001]).start() 65 Timer(wake_delay,
|
/external/opencv3/samples/python2/ |
gabor_threads.py | 49 from common import Timer 64 with Timer('running single-threaded'): 66 with Timer('running multi-threaded'):
|
/ndk/tests/device/test-gnustl-full/unit/cppunit/ |
test_main.cpp | 57 name, Timer::supported() ? " [-m]": ""); 61 if (Timer::supported()) 96 else if (Timer::supported() && !strncmp(argv[i], "-m", 2)) {
|
/ndk/tests/device/test-stlport/unit/cppunit/ |
test_main.cpp | 57 name, Timer::supported() ? " [-m]": ""); 61 if (Timer::supported()) 96 else if (Timer::supported() && !strncmp(argv[i], "-m", 2)) {
|
/external/libchrome/base/timer/ |
mock_timer.h | 8 #include "base/timer/timer.h" 12 class BASE_EXPORT MockTimer : public Timer { 21 // base::Timer implementation.
|
/frameworks/base/core/java/com/android/internal/os/ |
CameraPowerCalculator.java | 38 final BatteryStats.Timer timer = u.getCameraTurnedOnTimer(); local 39 if (timer != null) { 40 final long totalTime = timer.getTotalTimeLocked(rawRealtimeUs, statsType) / 1000;
|
FlashlightPowerCalculator.java | 36 final BatteryStats.Timer timer = u.getFlashlightTurnedOnTimer(); local 37 if (timer != null) { 38 final long totalTime = timer.getTotalTimeLocked(rawRealtimeUs, statsType) / 1000;
|
/device/google/contexthub/firmware/src/ |
timer.c | 24 #include <timer.h> 30 #define MAX_INTERNAL_EVENTS 32 //also used for external app timer() calls 32 struct Timer { 46 static struct Timer mTimers[MAX_TIMERS]; 55 static struct Timer *timFindTimerById(uint32_t timId) /* no locks taken. be careful what you do with this */ 71 static void timCallFunc(struct Timer *tim) 96 struct Timer *tim; 134 //we loop while loop does something, or while (if next timer exists), it is due by the time loop ends, or platform code fails to set an alarm to wake us for it 150 struct Timer *t; 156 /* generate next timer ID * [all...] |
/external/autotest/client/cros/faft/utils/ |
firmware_check_keys.py | 8 from threading import Timer 46 Timer(0, self._keyboard_input).start()
|