/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);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
InstallerTest.java | 36 private final Timer mManual = new Timer("Manual"); 37 private final Timer mQuota = new Timer("Quota"); 39 private static class Timer { 44 public Timer(String title) {
|
/device/linaro/bootloader/edk2/NetworkPkg/IScsiDxe/ |
IScsiDhcp6.c | 378 EFI_EVENT Timer;
400 Timer = NULL;
460 Status = gBS->CreateEvent (EVT_TIMER, TPL_CALLBACK, NULL, NULL, &Timer);
466 Timer,
477 TimerStatus = gBS->CheckEvent (Timer);
503 if (Timer != NULL) {
504 gBS->CloseEvent (Timer);
|
/libcore/ojluni/src/main/java/java/util/ |
Timer.java | 35 * <p>Corresponding to each <tt>Timer</tt> object is a single background 36 * thread that is used to execute all of the timer's tasks, sequentially. 37 * Timer tasks should complete quickly. If a timer task takes excessive time 38 * to complete, it "hogs" the timer's task execution thread. This can, in 43 * <p>After the last live reference to a <tt>Timer</tt> object goes away 44 * <i>and</i> all outstanding tasks have completed execution, the timer's task 49 * wants to terminate a timer's task execution thread rapidly, the caller 50 * should invoke the timer's <tt>cancel</tt> method. 52 * <p>If the timer's task execution thread terminates unexpectedly, fo [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
MapMaker.java | 20 import com.google.gwt.user.client.Timer; 113 Timer timer = new Timer() { local 119 timer.schedule((int) expirationMillis);
|
/frameworks/base/services/core/java/com/android/server/location/ |
LocationBasedCountryDetector.java | 33 import java.util.Timer; 56 protected Timer mTimer; 199 mTimer = new Timer();
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
MainActivity.java | 36 import java.util.Timer;
49 private Timer mTimer;
64 mTimer = new Timer();
|
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
MainActivity.java | 28 import java.util.Timer;
43 private Timer mTimer;
77 mTimer = new Timer();
|
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/ |
RSTestCore.java | 25 import java.util.Timer; 52 /* Periodic timer for ensuring future tests get scheduled */ 53 private Timer mTimer; 113 mTimer = new Timer();
|
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/ |
RSTestCore.java | 25 import java.util.Timer; 52 /* Periodic timer for ensuring future tests get scheduled */ 53 private Timer mTimer; 117 mTimer = new Timer();
|
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/ |
RSTestCore.java | 25 import java.util.Timer; 52 /* Periodic timer for ensuring future tests get scheduled */ 53 private Timer mTimer; 117 mTimer = new Timer();
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
TimerCircleView.java | 17 package com.android.deskclock.timer; 31 import com.android.deskclock.data.Timer; 34 * Custom view that draws timer progress as a circle. 38 /** The size of the dot indicating the progress through the timer. */ 44 /** The color indicating the remaining portion of the timer. */ 47 /** The color indicating the completed portion of the timer. */ 50 /** The size of the stroke that paints the timer circle. */ 57 private Timer mTimer; 85 void update(Timer timer) { [all...] |
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/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 | 31 from threading import Timer 103 # Pseudo object to communicate with timer thread. 106 timer = Timer(timeout, kill_process, [process, timeout_result]) 107 timer.start() 109 timer.cancel()
|