/device/linaro/bootloader/edk2/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/ |
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));
|
TimerItemFragment.java | 17 package com.android.deskclock.timer; 29 import com.android.deskclock.data.Timer; 41 public static TimerItemFragment newInstance(Timer timer) { 44 args.putInt(KEY_TIMER_ID, timer.getId()); 59 final Timer timer = getTimer(); local 60 if (timer == null) { 68 view.update(timer); 74 * @return {@code true} iff the timer is in a state that requires continuous update 79 final Timer timer = getTimer(); local 98 final Timer timer = getTimer(); local [all...] |
/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) {
|
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/ |
Timer.java | 15 public final class Timer { 27 public Timer start() { 54 public Timer setTimingPeriod(long timingPeriod) { 70 public String toString(Timer other) {
|
/external/pdfium/xfa/fwl/ |
cfwl_caret.cpp | 28 m_pTimer(new CFWL_Caret::Timer(this)), 97 CFWL_Caret::Timer::Timer(CFWL_Caret* pCaret) : CFWL_Timer(pCaret) {} 99 void CFWL_Caret::Timer::Run(CFWL_TimerInfo* pTimerInfo) {
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
Timer.cpp | 1 //===-- Timer.cpp - Interval Timing Support -------------------------------===// 14 #include "llvm/Support/Timer.h" 52 cl::desc("File to append -stats and -timer output to"), 100 // Timer Implementation 103 void Timer::init(StringRef N) { 104 assert(TG == 0 && "Timer already initialized"); 111 void Timer::init(StringRef N, TimerGroup &tg) { 112 assert(TG == 0 && "Timer already initialized"); 119 Timer::~Timer() { [all...] |
/system/core/base/ |
chrono_utils.cpp | 36 std::ostream& operator<<(std::ostream& os, const Timer& t) {
|
/cts/tests/sensor/src/android/hardware/cts/helpers/ |
SuspendStateMonitor.java | 5 import java.util.Timer; 24 Timer sleepMonitoringTimer = new Timer();
|
/device/linaro/bootloader/edk2/ArmPkg/Library/ArmLib/ArmV7/ |
ArmV7ArchTimerSupport.S | 52 mrc p15, 0, r0, c14, c1, 0 @ Read CNTK_CTL (Timer PL1 Control Register)
56 mcr p15, 0, r0, c14, c1, 0 @ Write to CNTK_CTL (Timer PL1 Control Register)
60 mrc p15, 0, r0, c14, c2, 0 @ Read CNTP_TVAL (PL1 physical timer value register)
64 mcr p15, 0, r0, c14, c2, 0 @ Write to CNTP_TVAL (PL1 physical timer value register)
68 mrc p15, 0, r0, c14, c2, 1 @ Read CNTP_CTL (PL1 Physical Timer Control Register)
72 mcr p15, 0, r0, c14, c2, 1 @ Write to CNTP_CTL (PL1 Physical Timer Control Register)
76 mrc p15, 0, r0, c14, c3, 0 @ Read CNTV_TVAL (Virtual Timer Value register)
80 mcr p15, 0, r0, c14, c3, 0 @ Write to CNTV_TVAL (Virtual Timer Value register)
84 mrc p15, 0, r0, c14, c3, 1 @ Read CNTV_CTL (Virtual Timer Control Register)
88 mcr p15, 0, r0, c14, c3, 1 @ Write to CNTV_CTL (Virtual Timer Control Register) [all...] |
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Smm/DxeSmm/QncSmmDispatcher/QNC/ |
QNCSmmPeriodicTimer.c | 2 File to contain all the hardware specific stuff for the Periodical Timer dispatch protocol.
81 UINTN NumChildren; // number of children using this timer
83 UINTN CurrentSetting; // interval this timer is set at right now (index into interval table)
115 // Determine which timer this child is using
128 // (2) the timer interval table is corrupt
144 // Figure out which timer the child is requesting and
197 // The timer will be restarted on the "ClearSource" call.
222 SUPPORTED_TIMER Timer;
228 // Find the minimum required interval for each timer
230 for (Timer = (SUPPORTED_TIMER)0; Timer < NUM_TIMERS; Timer++) { [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
TimerDAO.java | 21 import com.android.deskclock.data.Timer.State; 29 import static com.android.deskclock.data.Timer.State.RESET; 32 * This class encapsulates the transfer of data between {@link Timer} domain objects and their 37 /** Key to a preference that stores the set of timer ids. */ 40 /** Key to a preference that stores the id to assign to the next timer. */ 43 /** Prefix for a key to a preference that stores the state of the timer. */ 46 /** Prefix for a key to a preference that stores the original timer length at creation. */ 49 /** Prefix for a key to a preference that stores the total timer length with additions. */ 52 /** Prefix for a key to a preference that stores the last start time of the timer. */ 55 /** Prefix for a key to a preference that stores the epoch time when the timer last started. * [all...] |
/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
ScheduledDeviceMetricCollector.java | 21 import java.util.Timer; 42 private Timer timer; field in class:ScheduledDeviceMetricCollector 48 timer = new Timer(); 56 timer.cancel(); 65 timer.scheduleAtFixedRate(timerTask, 0, mIntervalMs); 67 timer.schedule(timerTask, 0, mIntervalMs); 73 if (timer != null) { 74 timer.cancel() [all...] |
/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 void Timer::startTimer() [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...] |
/device/google/contexthub/firmware/os/core/ |
timer.c | 24 #include <timer.h> 32 #define MAX_INTERNAL_EVENTS 32 //also used for external app timer() calls 35 osLog(LOG_INFO, "%s " fmt, "[timer]", ##__VA_ARGS__); \ 40 struct Timer { 54 static struct Timer mTimers[MAX_TIMERS]; 62 static struct Timer *timFindTimerById(uint32_t timId) /* no locks taken. be careful what you do with this */ 78 static void timCallFunc(struct Timer *tim) 92 ERROR_PRINT("Could not enqueue private timer event\n"); 107 struct Timer *tim; 146 //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 i [all...] |
/prebuilts/go/darwin-x86/src/time/ |
sleep.go | 15 // Must be in sync with ../runtime/time.go:/^type timer 43 // The Timer type represents a single event. 44 // When the Timer expires, the current time will be sent on C, 45 // unless the Timer was created by AfterFunc. 46 // A Timer must be created with NewTimer or AfterFunc. 47 type Timer struct { 52 // Stop prevents the Timer from firing. 53 // It returns true if the call stops the timer, false if the timer has already 58 // To prevent a timer created with NewTimer from firing after a call to Stop [all...] |
/prebuilts/go/linux-x86/src/time/ |
sleep.go | 15 // Must be in sync with ../runtime/time.go:/^type timer 43 // The Timer type represents a single event. 44 // When the Timer expires, the current time will be sent on C, 45 // unless the Timer was created by AfterFunc. 46 // A Timer must be created with NewTimer or AfterFunc. 47 type Timer struct { 52 // Stop prevents the Timer from firing. 53 // It returns true if the call stops the timer, false if the timer has already 58 // To prevent a timer created with NewTimer from firing after a call to Stop [all...] |