/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
|
/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...] |
/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;
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
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...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
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...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
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...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
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...] |
/device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/PL180MciDxe/ |
PL180Mci.c | 97 // Set Data Length & Data Timer
301 UINTN Timer;
312 Timer = MMCI0_TIMEOUT * 100;
365 Timer = MMCI0_TIMEOUT * 60;
369 while (((Status & MCI_STATUS_TXDONE) != MCI_STATUS_TXDONE) && Timer) {
372 while (((Status & MCI_STATUS_CMD_DATAEND) != MCI_STATUS_CMD_DATAEND) && Timer) {
376 Timer--;
382 if (Timer == 0) {
430 // Set Data Length & Data Timer
|
/external/libchrome/base/timer/ |
timer_unittest.cc | 5 #include "base/timer/timer.h" 24 // The message loops on which each timer should be tested. 131 // This should run before the timer expires. 134 // Now start the timer. 180 // This should run before the timer expires. 183 // Now start the timer. 212 // If Delay is never called, the timer shouldn't go off. 214 base::DelayTimer timer(FROM_HERE, TimeDelta::FromMilliseconds(1), &target, 229 base::DelayTimer timer(FROM_HERE, TimeDelta::FromMilliseconds(1), &target [all...] |
/device/linaro/bootloader/OpenPlatformPkg/Platforms/ARM/VExpress/AcpiTables/rtsm_ve-aemv8a/ |
facp.asl | 61 [0004] PM Timer Block Address : 00000001 67 [0001] PM Timer Block Length : 04 98 32-bit PM Timer (V1) : 0 105 Use Platform Timer (V4) : 0 162 [0012] PM Timer Block : [Generic Address Structure]
|
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/ |
SysCalls.c | 766 EFI_EVENT Timer;
770 // Create the timer for the timeout
772 Timer = NULL;
779 &Timer );
782 // Start the timeout timer
786 Status = gBS->SetTimer ( Timer,
797 // Poll until an event is detected or the timer fires
842 if ( NULL != Timer ) {
843 Status = gBS->CheckEvent ( Timer );
858 // Stop the timer
[all...] |
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/ |
MpService.c | 204 UINT64 Timer;
223 for (Timer = StartSyncTimer ();
224 !IsSyncTimerTimeout (Timer) &&
259 for (Timer = StartSyncTimer ();
260 !IsSyncTimerTimeout (Timer) &&
552 UINT64 Timer;
559 for (Timer = StartSyncTimer ();
560 !IsSyncTimerTimeout (Timer) &&
585 for (Timer = StartSyncTimer ();
586 !IsSyncTimerTimeout (Timer) && [all...] |
/external/skia/tests/ |
StrokerTest.cpp | 54 skiatest::Timer timer; local 62 if (FLAGS_timeout && timer.elapsedMs() > MS_TEST_DURATION) { 69 skiatest::Timer timer; local 78 if (FLAGS_timeout && timer.elapsedMs() > MS_TEST_DURATION) { 86 skiatest::Timer timer; local 94 if (FLAGS_timeout && timer.elapsedMs() > MS_TEST_DURATION) { 101 skiatest::Timer timer local 153 skiatest::Timer timer; local 192 skiatest::Timer timer; local 232 skiatest::Timer timer; local 284 skiatest::Timer timer; local 342 skiatest::Timer timer; local 387 skiatest::Timer timer; local [all...] |
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
BatteryStatsBackgroundStatsTest.java | 164 // Start timer 176 // Stop timer 208 // Start timer (optimized) 220 // Stop timer 224 // Start timer (unoptimized) 236 // Stop timer 242 BatteryStats.Timer timer = bi.getUidStats().get(UID).getBluetoothScanTimer(); local 243 BatteryStats.Timer bgTimer = bi.getUidStats().get(UID).getBluetoothScanBackgroundTimer(); 244 BatteryStats.Timer badTimer = bi.getUidStats().get(UID).getBluetoothUnoptimizedScanTimer() 306 BatteryStats.Timer timer = jobs.valueAt(0); local 367 BatteryStats.Timer timer = syncs.valueAt(0); local [all...] |
BatteryStatsSensorTest.java | 55 BatteryStats.Timer sensorTimer = bi.getUidStats().get(UID).getSensorStats() 57 BatteryStats.Timer sensorBgTimer = bi.getUidStats().get(UID).getSensorStats() 86 BatteryStats.Timer sensorTimer = bi.getUidStats().get(UID).getSensorStats() 121 BatteryStats.Timer sensorTimer = bi.getUidStats().get(UID).getSensorStats() 169 BatteryStats.Timer sensorTimer = bi.getUidStats().get(UID).getSensorStats() 202 BatteryStats.Timer sensorTimer = bi.getUidStats().get(UID).getSensorStats() 319 BatteryStats.Timer timer1 = bi.getUidStats().get(UID).getSensorStats() 321 BatteryStats.Timer bgTimer1 = bi.getUidStats().get(UID).getSensorStats() 324 BatteryStats.Timer timer2 = bi.getUidStats().get(UID_2).getSensorStats() 326 BatteryStats.Timer bgTimer2 = bi.getUidStats().get(UID_2).getSensorStats( [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
TimerFragment.java | 17 package com.android.deskclock.timer; 46 import com.android.deskclock.data.Timer; 71 /** Notified when the user swipes vertically to change the visible timer. */ 89 /** {@code true} while this fragment is creating a new timer; {@code false} otherwise. */ 93 * @return an Intent that selects the timers tab with the setup screen for a new timer in place. 127 // If timer setup state is present, retrieve it to be later honored. 158 // A specific timer must be shown; show the list of timers. 161 // No timers exist, a timer is being created, or the last view was timer setup; 162 // show the timer setup view 176 final Timer timer = DataModel.getDataModel().getMostRecentExpiredTimer(); local 182 final Timer timer = DataModel.getDataModel().getTimer(showTimerId); local 201 final Timer timer = DataModel.getDataModel().getTimer(showTimerId); local 241 final Timer timer = getTimer(); local 331 final Timer timer = getTimer(); local 370 final Timer timer = DataModel.getDataModel().addTimer(timerLength, "", false); local 392 final Timer timer = getTimer(); local [all...] |
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/ |
PlayerActivity.java | 40 import java.util.Timer; 71 private Timer mSeekbarTimer; 72 private Timer mControllersTimer; 152 mSeekbarTimer = new Timer(); 167 mControllersTimer = new Timer(); 322 mControllersTimer = new Timer();
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Dhcp4Dxe/ |
Dhcp4Driver.c | 170 if (DhcpSb->Timer != NULL) {
171 gBS->SetTimer (DhcpSb->Timer, TimerCancel, 0);
172 gBS->CloseEvent (DhcpSb->Timer);
174 DhcpSb->Timer = NULL;
226 // Create various resources, UdpIo, Timer, and get Mac address
233 &DhcpSb->Timer
328 Status = gBS->SetTimer (DhcpSb->Timer, TimerPeriodic, TICKS_PER_SECOND);
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Mtftp4Dxe/ |
Mtftp4Driver.c | 165 MtftpSb->Timer = NULL;
172 // Create the timer and a udp to be notified when UDP is uninstalled
179 &MtftpSb->Timer
188 // Create the timer used to time out the procedure which is used to
199 gBS->CloseEvent (MtftpSb->Timer);
214 gBS->CloseEvent (MtftpSb->Timer);
237 gBS->CloseEvent (MtftpSb->Timer);
291 Status = gBS->SetTimer (MtftpSb->Timer, TimerPeriodic, TICKS_PER_SECOND);
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseTimerLibLocalApic/Ia32/ |
X86LocalApicTimerInitialize.asm | 16 ; Initialize Local Apic Timer
|