/external/mockito/src/main/java/org/mockito/internal/util/ |
Timer.java | 9 public class Timer { 14 public Timer(long durationMillis) { 20 * Informs whether the timer is still counting down. 28 * Starts the timer count down.
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
FakeUid.java | 21 import android.os.BatteryStats.Timer; 48 public Timer getAggregatedPartialWakelockTimer() { 53 public ArrayMap<String, ? extends Timer> getSyncStats() { 58 public ArrayMap<String, ? extends Timer> getJobStats() { 181 public Timer getAudioTurnedOnTimer() { 186 public Timer getVideoTurnedOnTimer() { 191 public Timer getFlashlightTurnedOnTimer() { 196 public Timer getCameraTurnedOnTimer() { 201 public Timer getForegroundActivityTimer() { 211 public Timer getProcessStateTimer(int state) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
TimerTest.java | 22 import java.util.Timer; 39 * Timer is not cancelled. 50 // Should we terminate the timer at a specific timerCounter? 53 // The timer we belong to 54 Timer timer = null; field in class:TimerTest.TimerTestTask 59 public TimerTestTask(Timer t) { 60 timer = t; 70 if (terminateCount == timerCounter && timer != null) { 71 timer.cancel() [all...] |
TimerTaskTest.java | 20 import java.util.Timer; 26 * Timer is not cancelled. 79 Timer t = null; 87 t = new Timer(); 94 t = new Timer(); 113 t = new Timer(); 123 t = new Timer(); 138 t = new Timer(); 150 t = new Timer(); 174 Timer t = null [all...] |
/external/pdfium/testing/ |
embedder_test_timer_handling_delegate.h | 25 struct Timer { 43 std::pair<int, Timer>(msecs + fake_elapsed_msecs_, {id, msecs, fn})); 68 Timer t = iter->second; 71 std::pair<int, Timer>(fake_elapsed_msecs_ + t.interval, t)); 72 t.fn(t.id); // Fire timer. 81 std::multimap<int, Timer> expiry_to_timer_map_; // Keyed by timeout.
|
/external/pdfium/xfa/fwl/ |
cfwl_spinbutton.h | 37 class Timer : public CFWL_Timer { 39 explicit Timer(CFWL_SpinButton* pToolTip); 40 ~Timer() override {} 44 friend class CFWL_SpinButton::Timer; 70 CFWL_SpinButton::Timer m_Timer;
|
/toolchain/binutils/binutils-2.25/gold/ |
parameters.h | 31 class Timer; 61 set_timer(Timer* timer); 77 // Return the timer object. 78 Timer* 79 timer() const function in class:gold::Parameters 192 Timer* timer_; 212 set_parameters_timer(Timer* timer);
|
/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/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();
|
/external/ImageMagick/MagickCore/ |
timer.h | 16 MagickCore timer methods. 38 } Timer; 42 Timer
|
/external/libchrome/components/timers/ |
alarm_timer_chromeos.cc | 85 // alarm timer and then watches that file descriptor to see when it can be read 86 // without blocking, indicating that the timer has fired. 89 // available on a MessageLoopForIO but there is no guarantee the timer is going 90 // to be created on one. To get around this, the timer has a dedicated thread 92 // timer. 101 // Returns true if the system timer managed by this delegate is capable of 105 // Resets the timer to fire after |delay| has passed. Cancels any 109 // Stops the currently running timer. It should be safe to call this even if 110 // the timer is not running. 113 // Sets a hook that will be called when the timer fires and a task has bee [all...] |
/device/linaro/bootloader/OpenPlatformPkg/Chips/TexasInstruments/Omap35xx/Include/Library/ |
OmapLib.h | 27 IN UINTN Timer
33 IN UINTN TImer
|
/device/linaro/bootloader/edk2/EmulatorPkg/TimerDxe/ |
Timer.inf | 2 # Emu Emulation Timer Architectural Protocol Driver as defined in DXE CIS
33 Timer.c
34 Timer.h
|
/device/linaro/bootloader/edk2/Omap35xxPkg/Include/Library/ |
OmapLib.h | 27 IN UINTN Timer
33 IN UINTN TImer
|
/device/linaro/bootloader/edk2/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/ |
DebugTimer.c | 2 Code for debug timer to support debug agent library implementation.
18 Initialize CPU local APIC timer.
20 @param[out] TimerFrequency Local APIC timer frequency returned.
21 @param[in] DumpFlag If TRUE, dump Local APIC timer's parameter.
23 @return 32-bit Local APIC timer init count.
39 // Cpu Local Apic timer interrupt frequency, it is set to 0.1s
51 // Disable Debug Timer interrupt to avoid it is delivered before Debug Port
57 DEBUG ((EFI_D_INFO, "Debug Timer: FSB Clock = %d\n", PcdGet32(PcdFSBClock)));
58 DEBUG ((EFI_D_INFO, "Debug Timer: Divisor = %d\n", ApicTimerDivisor));
59 DEBUG ((EFI_D_INFO, "Debug Timer: Frequency = %d\n", ApicTimerFrequency)); [all...] |
DebugTimer.h | 2 Header file for debug timer to support debug agent library implementation.
19 Initialize CPU local APIC timer.
21 @param[out] TimerFrequency Local APIC timer frequency returned.
22 @param[in] DumpFlag If TRUE, dump Local APIC timer's parameter.
24 @return 32-bit Local APIC timer init count.
33 Check if the timer is time out.
35 @param[in] TimerCycle Timer initial count.
36 @param[in] Timer The start timer from the begin.
39 @return TRUE Timer time out occurs. [all...] |
/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...] |
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
TimerPagerAdapter.java | 17 package com.android.deskclock.timer; 30 import com.android.deskclock.data.Timer; 37 * This adapter produces a {@link TimerItemFragment} for each timer. 43 /** Maps each timer id to the corresponding {@link TimerItemFragment} that draws it. */ 69 final Timer timer = fragment.getTimer(); local 71 final int position = getTimers().indexOf(timer); 82 final Timer timer = getTimers().get(position); local 85 final String tag = getClass().getSimpleName() + timer.getId() [all...] |
ExpiredTimersActivity.java | 15 package com.android.deskclock.timer; 37 import com.android.deskclock.data.Timer; 44 * timers and a single button to reset them all. Each expired timer can also be reset to one minute 45 * with a button in the user interface. All other timer operations are disabled in this activity. 65 final List<Timer> expiredTimers = getExpiredTimers(); 99 for (Timer timer : expiredTimers) { 100 addTimer(timer); 103 // Update views in response to timer data changes. 158 * Create and add a new view that corresponds with the given {@code timer} 254 final Timer timer = DataModel.getDataModel().getTimer(timerItem.getId()); local [all...] |
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));
|
/art/test/059-finalizer-throw/src/ |
Main.java | 17 import java.util.Timer; 38 new Timer(true).schedule(new TimerTask() {
|
/external/jmdns/src/javax/jmdns/impl/tasks/ |
RecordReaper.java | 7 import java.util.Timer; 38 * @see javax.jmdns.impl.tasks.DNSTask#start(java.util.Timer) 41 public void start(Timer timer) { 43 timer.schedule(this, DNSConstants.RECORD_REAPER_INTERVAL, DNSConstants.RECORD_REAPER_INTERVAL);
|
/external/libchrome/base/timer/ |
mock_timer.cc | 5 #include "base/timer/mock_timer.h" 10 : Timer(retain_user_task, is_repeating), 18 : Timer(true, is_repeating),
|
/external/swiftshader/src/Main/ |
Config.cpp | 18 #include "Timer.hpp" 67 static double fpsTime = sw::Timer::seconds(); 69 double time = sw::Timer::seconds();
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/ |
Timer.java | 16 public final class Timer { 28 public Timer start() { 55 public Timer setTimingPeriod(long timingPeriod) { 71 public String toString(Timer other) {
|