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

1 2 3 4 5 6 7 8 91011>>

  /prebuilts/jdk/jdk8/darwin-x86/sample/annotations/DependencyChecker/Plugins/src/plugins/
TimerPlugin.java 45 * Timer plug-in is used to support an alarm and a timer. It depends on Display and
53 * Sets timer.
57 public void timer(long time) { method in class:TimerPlugin
58 //start timer
  /prebuilts/jdk/jdk8/linux-x86/sample/annotations/DependencyChecker/Plugins/src/plugins/
TimerPlugin.java 45 * Timer plug-in is used to support an alarm and a timer. It depends on Display and
53 * Sets timer.
57 public void timer(long time) { method in class:TimerPlugin
58 //start timer
  /external/libcxxabi/test/support/
timer.hpp 13 // Define LIBCXXABI_NO_TIMER to disable testing with a timer.
19 class timer class
25 timer() : m_start(Clock::now()) {} function in class:timer
27 timer(timer const &) = delete;
28 timer & operator=(timer const &) = delete;
30 ~timer()
44 class timer class
47 timer() {} function in class:timer
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/timer/
TimerReceiver.java 17 package com.android.deskclock.timer;
25 import com.android.deskclock.data.Timer;
28 * This broadcast receiver exists to handle timer expiry scheduled in 4.2.1 and prior. It must exist
30 * beyond 4.2.1. After 4.2.1, all timer expiration is directed to TimerService.
35 LogUtils.e("TimerReceiver", "Received legacy timer broadcast: %s", intent.getAction());
38 final int timerId = intent.getIntExtra("timer.intent.extra", -1);
39 final Timer timer = DataModel.getDataModel().getTimer(timerId); local
40 context.startService(TimerService.createTimerExpiredIntent(context, timer));
TimerItem.java 17 package com.android.deskclock.timer;
33 import com.android.deskclock.data.Timer;
39 * This view is a visual representation of a {@link Timer}.
46 /** Formats and displays the text in the timer. */
49 /** Displays timer progress as a color circle that changes from white to red. */
52 /** A button that either resets the timer or adds time to it, depending on its state. */
55 /** Displays the label associated with the timer. Tapping it presents an edit dialog. */
58 /** The last state of the timer that was rendered; used to avoid expensive operations. */
59 private Timer.State mLastState;
87 * Updates this view to display the latest state of the {@code timer}
    [all...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++abi/test/support/
timer.hpp 13 // Define LIBCXXABI_NO_TIMER to disable testing with a timer.
19 class timer class
25 timer() : m_start(Clock::now()) {} function in class:timer
27 timer(timer const &) = delete;
28 timer & operator=(timer const &) = delete;
30 ~timer()
44 class timer class
47 timer() {} function in class:timer
    [all...]
  /external/universal-tween-engine/java/applets/src/aurelienribon/utils/swing/
DrawingCanvas.java 6 import javax.swing.Timer;
12 private final Timer timer; field in class:DrawingCanvas
17 timer = new Timer(1000/60, loop);
18 timer.setRepeats(true);
25 timer.start();
30 timer.stop();
  /bionic/libc/kernel/uapi/linux/netfilter/
xt_IDLETIMER.h 26 struct idletimer_tg * timer __attribute__((aligned(8))); member in struct:idletimer_tg_info
  /external/kernel-headers/original/uapi/linux/netfilter/
xt_IDLETIMER.h 5 * Header file for Xtables timer target module.
43 struct idletimer_tg *timer __attribute__((aligned(8))); member in struct:idletimer_tg_info
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/netfilter/
xt_IDLETIMER.h 4 * Header file for Xtables timer target module.
42 struct idletimer_tg *timer __attribute__((aligned(8))); member in struct:idletimer_tg_info
  /cts/tests/tests/os/src/android/os/health/cts/
TimerStatTest.java 35 TimerStat timer = new TimerStat(); local
37 Assert.assertEquals(0, timer.getCount());
38 Assert.assertEquals(0, timer.getTime());
46 TimerStat timer = new TimerStat(Integer.MAX_VALUE, Long.MAX_VALUE); local
48 Assert.assertEquals(Integer.MAX_VALUE, timer.getCount());
50 timer.setCount(12);
52 Assert.assertEquals(12, timer.getCount());
53 Assert.assertEquals(Long.MAX_VALUE, timer.getTime());
61 TimerStat timer = new TimerStat(Integer.MAX_VALUE, Long.MAX_VALUE); local
63 Assert.assertEquals(Integer.MAX_VALUE, timer.getCount())
76 TimerStat timer = new TimerStat(Integer.MAX_VALUE, Long.MAX_VALUE); local
    [all...]
  /external/mockito/src/test/java/org/mockito/internal/util/
TimerTest.java 22 Timer timer = new Timer(duration); local
25 timer.start();
28 Assertions.assertThat(timer.isCounting()).isTrue();
34 Timer timer = new Timer(0); local
35 timer.start();
41 Assertions.assertThat(timer.isCounting()).isFalse()
    [all...]
  /tools/tradefederation/core/src/com/android/tradefed/device/metric/
ScheduledDeviceMetricCollector.java 32 import java.util.Timer;
53 private Timer timer; field in class:ScheduledDeviceMetricCollector
59 timer = new Timer();
69 timer.cancel();
78 timer.scheduleAtFixedRate(timerTask, 0, mIntervalMs);
80 timer.schedule(timerTask, 0, mIntervalMs);
87 if (timer != null) {
88 timer.cancel()
    [all...]
  /frameworks/base/core/tests/coretests/src/com/android/internal/os/
BatteryStatsSamplingTimerTest.java 31 final BatteryStatsImpl.SamplingTimer timer = new BatteryStatsImpl.SamplingTimer(clocks, local
34 timer.onTimeStarted(100, 100, 100);
37 timer.update(10, 1);
39 timer.update(20, 2);
41 assertEquals(1, timer.getCountLocked(BatteryStats.STATS_SINCE_CHARGED));
42 assertEquals(10, timer.getTotalTimeLocked(200, BatteryStats.STATS_SINCE_CHARGED));
44 timer.endSample();
46 assertEquals(1, timer.getCountLocked(BatteryStats.STATS_SINCE_CHARGED));
47 assertEquals(10, timer.getTotalTimeLocked(200, BatteryStats.STATS_SINCE_CHARGED));
49 timer.onTimeStopped(200, 200, 200)
59 final BatteryStatsImpl.SamplingTimer timer = new BatteryStatsImpl.SamplingTimer(clocks, local
103 BatteryStatsImpl.SamplingTimer timer = new BatteryStatsImpl.SamplingTimer(clocks, timeBase); local
146 BatteryStatsImpl.SamplingTimer timer = new BatteryStatsImpl.SamplingTimer(clocks, timeBase); local
    [all...]
BatteryStatsDurationTimerTest.java 39 final BatteryStatsImpl.DurationTimer timer = new BatteryStatsImpl.DurationTimer(clocks, local
42 // TimeBase running, timer not running: current and max are 0
44 assertFalse(timer.isRunningLocked());
45 assertEquals(0, timer.getCurrentDurationMsLocked(300));
46 assertEquals(0, timer.getMaxDurationMsLocked(301));
47 assertEquals(0, timer.getTotalDurationMsLocked(301));
49 // Start timer: current, total, and max advance
50 timer.startRunningLocked(700);
51 assertTrue(timer.isRunningLocked());
52 assertEquals(800, timer.getCurrentDurationMsLocked(1500))
112 final BatteryStatsImpl.DurationTimer timer = new BatteryStatsImpl.DurationTimer(clocks, local
    [all...]
BatteryStatsStopwatchTimerTest.java 35 final BatteryStatsImpl.StopwatchTimer timer = new BatteryStatsImpl.StopwatchTimer(clocks, local
43 timer.startRunningLocked(updateTime(clocks, 100)); // start
45 assertEquals(expectedCount, timer.getCountLocked(BatteryStats.STATS_SINCE_CHARGED));
46 timer.startRunningLocked(updateTime(clocks, 110)); // start
47 assertEquals(expectedCount, timer.getCountLocked(BatteryStats.STATS_SINCE_CHARGED));
48 timer.stopRunningLocked(updateTime(clocks, 120)); // stop
49 assertEquals(expectedCount, timer.getCountLocked(BatteryStats.STATS_SINCE_CHARGED));
50 timer.stopRunningLocked(updateTime(clocks, 130)); // stop
51 assertEquals(expectedCount, timer.getCountLocked(BatteryStats.STATS_SINCE_CHARGED));
54 timer.startRunningLocked(updateTime(clocks, 200)); // star
    [all...]
  /external/autotest/frontend/client/src/autotest/common/
CommonClassFactory.java 4 import com.google.gwt.user.client.Timer;
12 Timer timer = new Timer() { local
20 timer.scheduleRepeating(10 * 60 * 1000);
  /external/eigen/bench/
basicbenchmark.h 51 Eigen::BenchTimer timer; local
55 timer.start();
57 timer.stop();
60 return timer.value();
  /external/iptables/include/linux/netfilter/
xt_IDLETIMER.h 4 * Header file for Xtables timer target module.
50 struct idletimer_tg *timer __attribute__((aligned(8))); member in struct:idletimer_tg_info
  /external/ltp/testcases/kernel/syscalls/timer_getoverrun/
timer_getoverrun01.c 50 int timer; local
60 TEST(ltp_syscall(__NR_timer_create, CLOCK_REALTIME, &ev, &timer));
63 tst_brkm(TBROK | TERRNO, cleanup, "Failed to create timer");
68 TEST(ltp_syscall(__NR_timer_getoverrun, timer));
  /external/ltp/testcases/kernel/syscalls/timer_gettime/
timer_gettime01.c 52 int timer; local
61 TEST(ltp_syscall(__NR_timer_create, CLOCK_REALTIME, &ev, &timer));
64 tst_brkm(TBROK | TERRNO, cleanup, "Failed to create timer");
69 TEST(ltp_syscall(__NR_timer_gettime, timer, &spec));
85 TEST(ltp_syscall(__NR_timer_gettime, timer, NULL));
  /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;
  /external/mockito/src/main/java/org/mockito/internal/verification/
VerificationOverTimeImpl.java 8 import org.mockito.internal.util.Timer;
22 private final Timer timer; field in class:VerificationOverTimeImpl
36 this(pollingPeriodMillis, delegate, returnOnSuccess, new Timer(durationMillis));
48 * @param timer Checker of whether the duration of the verification is still acceptable
50 public VerificationOverTimeImpl(long pollingPeriodMillis, VerificationMode delegate, boolean returnOnSuccess, Timer timer) {
54 this.timer = timer;
75 timer.start()
    [all...]
  /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);

Completed in 1760 milliseconds

1 2 3 4 5 6 7 8 91011>>