/external/libnfc-nxp/Linux_x86/ |
phOsalNfc_Timer.c | 57 static struct phOsalNfc_Timer timers[MAX_NO_TIMERS] = variable in typeref:struct:phOsalNfc_Timer 88 if(timers[timer_msg->TimerId].ptr != NULL) 90 phOsalNfc_FreeMemory(timers[timer_msg->TimerId].ptr); 91 timers[timer_msg->TimerId].ptr = NULL; 100 * This callback is called by Linux whenever one the timers expires. It 109 if((timerid < MAX_NO_TIMERS)&&(timers[timerid].nIsStopped == 1)) 139 timer_msg->pCallBck = timers[timerid].callback; 140 timer_msg->pContext = timers[timerid].pContext; 150 timers[timerid].ptr = osal_defer_msg; 155 (timers[timerid].callback)(timerid, timers[timerid].pContext) [all...] |
/external/chromium_org/third_party/WebKit/ManualTests/ |
input-starved-by-timers.html | 8 var multiplyFactor = 2; // Create this many timers in every timer callback. 9 var targetLatency = 10000; // Multiply timers until it takes this much to fire all their callbacks. 17 log("No more timers - UI should be responsive now."); 21 // Create more timers. Capture the current time so when callbacks are fired, 30 // stop multplying them and keep the number of timers constant. 38 setTimeout("multiplyFactor = 0; log('Finishing. Started to drain timers.');", 10000); 44 This test will create enough timers to freeze browser UI. After 10 seconds, it 45 will start drain the timers so the UI becomes responsive again in a few seconds.
|
js-timers-beneath-modal-dialog.html | 1 <p>JS timers should be paused while a modal dialog (or alert) is displayed.</p>
|
/external/chromium/chrome/common/extensions/docs/examples/extensions/fx/ |
content.js | 11 // Timers to trigger "stopEvent" for coalescing events. 12 var timers = {}; 15 timers[type] = 0; 28 var timerId = timers[type]; 32 timers[type] = 0; 36 timers[type] = setTimeout(stopEvent, 300, type);
|
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/fx/ |
content.js | 11 // Timers to trigger "stopEvent" for coalescing events. 12 var timers = {}; 15 timers[type] = 0; 28 var timerId = timers[type]; 32 timers[type] = 0; 36 timers[type] = setTimeout(stopEvent, 300, type);
|
/external/chromium_org/chrome/test/pyautolib/ |
timer_queue.py | 10 """Executes timers at a given interval. 19 timers = TimerQueue() 20 timers.addTimer(self._fooPrinter, 15, args=('hello',)) 21 timers.start() 35 self.timers = [] 47 self.timers.append({'method': method, 'interval': interval, 62 for timer in self.timers: 64 self.timers.remove(timer) 77 for timer in self.timers:
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
Timers.java | 22 public class Timers { 49 public static TimerObj findTimer(ArrayList<TimerObj> timers, int timerId) { 50 Iterator<TimerObj> i = timers.iterator(); 59 public static TimerObj findExpiredTimer(ArrayList<TimerObj> timers) { 60 Iterator<TimerObj> i = timers.iterator(); 70 public static ArrayList<TimerObj> timersInUse(ArrayList<TimerObj> timers) { 71 ArrayList<TimerObj> result = (ArrayList<TimerObj>) timers.clone(); 82 public static ArrayList<TimerObj> timersInTimesUp(ArrayList<TimerObj> timers) { 83 ArrayList<TimerObj> result = (ArrayList<TimerObj>) timers.clone();
|
TimerReceiver.java | 49 if (Timers.LOGGING) { 53 // This action does not need the timers data 54 if (Timers.NOTIF_IN_USE_CANCEL.equals(actionType)) { 59 // Get the updated timers data. 66 // These actions do not provide a timer ID, but do use the timers data 67 if (Timers.NOTIF_IN_USE_SHOW.equals(actionType)) { 70 } else if (Timers.NOTIF_TIMES_UP_SHOW.equals(actionType)) { 73 } else if (Timers.NOTIF_TIMES_UP_CANCEL.equals(actionType)) { 79 if (!intent.hasExtra(Timers.TIMER_INTENT_EXTRA)) { 86 int timerId = intent.getIntExtra(Timers.TIMER_INTENT_EXTRA, -1) [all...] |
TimerObj.java | 242 SharedPreferences prefs, ArrayList<TimerObj> timers) { 250 timers.add(t); 252 Collections.sort(timers, new Comparator<TimerObj>() { 262 SharedPreferences prefs, ArrayList<TimerObj> timers, int match) { 271 timers.add(t); 278 SharedPreferences prefs, ArrayList<TimerObj> timers) { 279 if (timers.size() > 0) { 280 for (int i = 0; i < timers.size(); i++) { 281 TimerObj t = timers.get(i); 282 timers.get(i).writeToSharedPref(prefs) 301 ArrayList<TimerObj> timers = new ArrayList<TimerObj>(); local [all...] |
/external/chromium_org/content/test/data/npapi/ |
schedule_timer.html | 15 Tests that a plugin can schedule and unschedule timers.<P>
|
/external/pixman/pixman/ |
pixman-timer.c | 32 static pixman_timer_t *timers; variable 39 for (timer = timers; timer != NULL; timer = timer->next) 62 timer->next = timers; 63 timers = timer;
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
time.h | 35 * Names of the interval timers, and structure 53 * The IDs of the various system clocks (for POSIX.1b interval timers): 69 * The various flags for setting POSIX.1b interval timers:
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
time.h | 35 * Names of the interval timers, and structure 53 * The IDs of the various system clocks (for POSIX.1b interval timers): 69 * The various flags for setting POSIX.1b interval timers:
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
time.h | 35 * Names of the interval timers, and structure 53 * The IDs of the various system clocks (for POSIX.1b interval timers): 69 * The various flags for setting POSIX.1b interval timers:
|
/libcore/luni/src/main/java/java/util/ |
Timer.java | 21 * Timers schedule one-shot or recurring {@link TimerTask tasks} for execution. 45 * releases the timer's thread and other resources. Timers not explicitly 59 private TimerTask[] timers = new TimerTask[DEFAULT_HEAP_SIZE]; field in class:Timer.TimerImpl.TimerHeap 66 return timers[0]; 74 if (timers.length == size) { 76 System.arraycopy(timers, 0, appendedTimers, 0, size); 77 timers = appendedTimers; 79 timers[size++] = task; 86 timers[pos] = timers[--size] [all...] |
/bionic/libc/upstream-netbsd/libc/isc/ |
ev_timers.c | 20 /* ev_timers.c - implement timers for the eventlib 230 if (heap_insert(ctx->timers, id) < 0) 238 evPrintf(ctx, 7, "timers after evSetTimer:\n"); 239 (void) heap_for_each(ctx->timers, print_timer, (void *)ctx); 262 if (heap_element(ctx->timers, del->index) != del) 265 if (heap_delete(ctx->timers, del->index) < 0) 270 evPrintf(ctx, 7, "timers after evClearTimer:\n"); 271 (void) heap_for_each(ctx->timers, print_timer, (void *)ctx); 289 if (heap_element(ctx->timers, timer->index) != timer) 315 if (heap_element(ctx->timers, timer->index) != timer [all...] |
/external/chromium_org/third_party/WebKit/ManualTests/inspector/ |
forzen-ui-while-paused.html | 3 var timeout = setTimeout(function() { alert("This should not happen. If you do see this alert, then timers on the page are firing while paused!") }, 0);
|
/external/chromium_org/webkit/glue/ |
webkit_glue_unittest.cc | 16 // Derives WebKitPlatformSupportImpl for testing shared timers. 74 // Suspend timers immediately so the above timer wouldn't be fired. 79 // Set a mock time after 1 second to simulate timers suspended for 1 second. 82 // Resume timers so that the timer set above will be set again to fire
|
/bionic/libc/bionic/ |
pthread-timers.c | 42 // Normal (i.e. non-SIGEV_THREAD) timers are created directly by the kernel 46 // timers. See the following pages for additional details: 58 // the timers of the child process should be disarmed, but not deleted. 60 // stops all timers before the fork, and only re-start them in case of error 123 thr_timer_t timers[ MAX_THREAD_TIMERS ]; member in struct:thr_timer_table 126 /** GLOBAL TABLE OF THREAD TIMERS 138 t->timers[nn].id = TIMER_ID_NONE; 140 t->free_timer = &t->timers[0]; 142 t->timers[nn-1].next = &t->timers[nn] [all...] |
/external/chromium_org/chrome/test/functional/ |
chromeos_longterm_test.py | 113 timers = timer_queue.TimerQueue() 114 timers.AddTimer(self._ConfigureNewWindow, 90, args=(flash_pages,)) 115 timers.AddTimer(self._RefreshLongTermWindow, 30, args=(long_term_pages,)) 116 timers.AddTimer(self._ConfigureNewWindow, 15, args=(incognito_pages, True)) 117 timers.start() 120 if not timers.is_alive(): 126 # Kill the timers 127 timers.Stop()
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
ContentViewStatics.java | 30 * Suspends Webkit timers in all renderers. 34 * @param suspend true if timers should be suspended.
|
/external/chromium_org/third_party/WebKit/Source/core/platform/ |
ThreadTimers.cpp | 41 // Fire timers for this length of time, and then quit to let the run loop process user input events. 43 // This is to prevent UI freeze when there are too many timers or machine performance is low. 46 // Timers are created, started and fired on the same thread, and each thread has its own ThreadTimers 47 // copy to keep the heap and a set of currently firing timers. 64 // A worker thread may initialize SharedTimer after some timers are created. 65 // Also, SharedTimer can be replaced with 0 before all timers are destroyed. 136 // Catch the case where the timer asked timers to fire in a nested event loop, or we are over time limit. 148 // Reset the reentrancy guard so the timers can fire again.
|
/external/iptables/extensions/ |
libxt_IDLETIMER.man | 2 certain period of time. Timers are identified by labels and are created when 10 /sys/class/xt_idletimer/timers/<label>
|
/external/chromium_org/ui/message_center/ |
message_center_impl.h | 30 // that timers never cause a callback on a destructed object. 72 // A class that manages all the timers running for individual notification popup 74 // timers expire. 91 // Pauses all running timers. 94 // Continues all managed timers. 97 // Removes all managed timers. 119 // The PopupTimerCollection contains all the managed timers by their ID. They
|
/external/llvm/include/llvm/Support/ |
Timer.h | 77 /// when its TimerGroup is destroyed. Timers do not print their information 86 Timer **Prev, *Next; // Doubly linked list of timers in the group. 91 assert(RHS.TG == 0 && "Can only copy uninitialized timers"); 94 assert(TG == 0 && T.TG == 0 && "Can only assign uninit timers"); 145 /// time, all in one statement. All timers with the same name are merged. This 156 /// The TimerGroup class is used to group together related timers into a single 158 /// destroy a TimerGroup object before all of the Timers in it are gone. A 175 /// print - Print any started timers in this group and zero them. 178 /// printAll - This static method prints all timers and clears them all out.
|