/packages/apps/DeskClock/src/com/android/deskclock/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...] |
TimerService.java | 17 package com.android.deskclock.timer; 27 import com.android.deskclock.data.Timer; 34 * <p>This service exists solely to allow {@link android.app.AlarmManager} and timer notifications 48 /** Shows the tab with timers; scrolls to a specific timer. */ 52 /** Starts the sole timer. */ 54 /** Resets the timer. */ 56 /** Adds an extra minute to the timer. */ 59 /** Extra for many actions specific to a given timer. */ 73 public static Intent createTimerExpiredIntent(Context context, Timer timer) { 138 final Timer timer = DataModel.getDataModel().getTimer(timerId); local [all...] |
/packages/apps/Settings/src/com/android/settings/fuelgauge/anomaly/checker/ |
WakeLockAnomalyDetector.java | 113 BatteryStats.Timer timer = uid.getAggregatedPartialWakelockTimer(); local 115 return timer != null ? timer.getCurrentDurationMsLocked(elapsedRealtimeMs) : 0; 120 BatteryStats.Timer timer = uid.getAggregatedPartialWakelockTimer(); local 121 BatteryStats.Timer subTimer = timer != null ? timer.getSubTimer() : null;
|
/packages/apps/UnifiedEmail/src/com/android/mail/perf/ |
Timer.java | 36 * Timer.startTiming("myEvent"); 38 * Timer.stopTiming("myEvent"); 41 * The other way is to instantiate a timer that can be passed around, and started and paused. The 42 * timer will accumulate the results for each tag, and dump the results when asked. 45 * Timer timer = new Timer(); 48 * timer.start("tagA"); 50 * timer.pause("tagA"); 54 * timer.dumpResults() [all...] |
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/ |
Thunk.c | 22 Sets the counter value for Timer #0 in a legacy 8254 timer.
24 @param Count - The 16-bit counter value to program into Timer #0 of the legacy 8254 timer.
209 // Save current rate of DXE Timer
211 Private->Timer->GetTimerPeriod (Private->Timer, &TimerPeriod);
214 // Disable DXE Timer while executing in real mode
216 Private->Timer->SetTimerPeriod (Private->Timer, 0); [all...] |
/device/linaro/bootloader/OpenPlatformPkg/Chips/TexasInstruments/Omap35xx/Library/Omap35xxTimerLib/ |
TimerLib.c | 32 UINTN Timer = PcdGet32(PcdOmap35xxFreeTimer);
33 UINT32 TimerBaseAddress = TimerBase(Timer);
46 // Start Timer
49 // Disable OMAP Watchdog timer (WDT2)
123 // Timer starts with the reload value
128 // Timer counts up to 0xFFFFFFFF
|
/device/linaro/bootloader/OpenPlatformPkg/Platforms/TexasInstruments/BeagleBoard/Sec/ |
Sec.c | 49 UINTN Timer = FixedPcdGet32(PcdOmap35xxFreeTimer);
50 UINT32 TimerBaseAddress = TimerBase(Timer);
62 // Start Timer
65 //Disable OMAP Watchdog timer (WDT2)
162 // Start up a free running timer so that the timer lib will work
|
/device/linaro/bootloader/edk2/BeagleBoardPkg/Sec/ |
Sec.c | 49 UINTN Timer = FixedPcdGet32(PcdOmap35xxFreeTimer);
50 UINT32 TimerBaseAddress = TimerBase(Timer);
62 // Start Timer
65 //Disable OMAP Watchdog timer (WDT2)
162 // Start up a free running timer so that the timer lib will work
|
/device/linaro/bootloader/edk2/Omap35xxPkg/Library/Omap35xxTimerLib/ |
TimerLib.c | 32 UINTN Timer = PcdGet32(PcdOmap35xxFreeTimer);
33 UINT32 TimerBaseAddress = TimerBase(Timer);
46 // Start Timer
49 // Disable OMAP Watchdog timer (WDT2)
123 // Timer starts with the reload value
128 // Timer counts up to 0xFFFFFFFF
|
/external/jmdns/src/javax/jmdns/impl/tasks/state/ |
Announcer.java | 8 import java.util.Timer; 54 * @see javax.jmdns.impl.tasks.DNSTask#start(java.util.Timer) 57 public void start(Timer timer) { 59 timer.schedule(this, DNSConstants.ANNOUNCE_WAIT_INTERVAL, DNSConstants.ANNOUNCE_WAIT_INTERVAL);
|
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);
|
/external/mockito/src/test/java/org/mockito/verification/ |
TimeoutTest.java | 11 import org.mockito.internal.util.Timer; 25 Timer timer; field in class:TimeoutTest 31 Timeout t = new Timeout(1, mode, timer); 33 when(timer.isCounting()).thenReturn(true); 38 InOrder inOrder = inOrder(timer); 39 inOrder.verify(timer).start(); 40 inOrder.verify(timer).isCounting(); 45 Timeout t = new Timeout(1, mode, timer); 47 when(timer.isCounting()).thenReturn(true, true, true, false) [all...] |
/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 | 32 from threading import Timer 112 # Pseudo object to communicate with timer thread. 115 timer = Timer(timeout, kill_process, [process, timeout_result]) 116 timer.start() 118 timer.cancel()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
TestTimer.java | 23 import java.util.Timer; 27 * A {@link Timer} for testing that can dial its clock hands to any future time. 29 public class TestTimer extends Timer {
|
/prebuilts/go/darwin-x86/test/fixedbugs/ |
issue8158.go | 38 time.Sleep(10 * time.Millisecond) // overwrote Panic struct with Timer struct
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
issue8158.go | 38 time.Sleep(10 * time.Millisecond) // overwrote Panic struct with Timer struct
|
/system/core/init/ |
firmware_handler.cpp | 32 using android::base::Timer; 118 Timer t;
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
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/autotest/client/cros/ |
power_strip.py | 30 threading.Timer(delay, self._do_command, (command, outlet)).start()
|
/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 | 15 #include "base/timer/timer.h" 23 // The class implements a timer that is capable of waking the system up from a 28 // exactly the same way as a regular Timer. 29 class AlarmTimer : public base::Timer { 35 // Sets a hook that will be called when the timer fires and a task has been 40 // Timer overrides. 55 // really should live in a delegated constructor but the way base::Timer's 59 // Will be called by the delegate to indicate that the timer has fired and 66 // Delegate that will manage actually setting the timer [all...] |
/external/python/cpython2/Lib/ |
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...] |
/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;
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
AlwaysDiscoverable.java | 30 import java.util.Timer;
|