/external/qemu/hw/android/goldfish/ |
timer.c | 13 #include "qemu/timer.h" 34 QEMUTimer *timer; member in struct:timer_state 43 qemu_put_be64(f, s->now_ns); /* in case the kernel is in the middle of a timer read */ 70 timer_mod(s->timer, alarm_tks); 103 timer_mod(s->timer, alarm_ns); 111 timer_del(s->timer); 239 timer_state.timer = timer_new(QEMU_CLOCK_VIRTUAL, SCALE_NS, goldfish_timer_tick, &timer_state);
|
/external/qemu/hw/arm/ |
armv7m_nvic.c | 14 #include "qemu/timer.h" 41 QEMUTimer *timer; member in struct:__anon33384::__anon33385 55 /* Conversion factor from qemu timer to SysTick frequencies. */ 69 timer_mod(s->systick.timer, s->systick.tick); 143 /* The interrupt in triggered when the timer reaches zero. 280 timer_mod(s->systick.timer, s->systick.tick); 285 timer_del(s->systick.timer); 291 /* This is a hack. Force the timer to be reloaded 299 case 0x18: /* SysTick Current Value. Writes reload the timer. */ 375 timer_put(f, s->systick.timer); [all...] |
/external/qemu/telephony/ |
test2.c | 28 SysTimer timer = _timer; local 34 sys_timer_set( timer, now + DELAY, timer_func, timer ); 36 sys_timer_destroy( timer ); 196 SysTimer timer; local 202 /* create timer and register it */ 203 timer = sys_timer_create(); 204 sys_timer_set( timer, sys_time_ms() + INITIAL_DELAY, timer_func, timer );
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
CountDownTimerTest.java | 63 CountDownTimer timer = shadowCountDownTimer.start(); local 64 assertThat(timer, notNullValue()); 70 CountDownTimer timer = shadowCountDownTimer.start(); local 71 assertThat(timer, notNullValue());
|
/external/srtp/crypto/test/ |
cipher_driver.c | 424 clock_t timer; local 435 timer = clock(); 445 timer = clock() - timer; 449 if (timer == 0) { 454 return CLOCKS_PER_SEC * num_trials * 8 * octets_in_buffer / timer;
|
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/ |
wpagui.h | 99 QTimer *timer; member in class:WpaGui
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
TimerView.java | 17 package com.android.deskclock.timer;
|
TimerReceiver.java | 17 package com.android.deskclock.timer; 66 // These actions do not provide a timer ID, but do use the timers data 78 // Remaining actions provide a timer Id 81 Log.e(TAG, "got intent without Timer data"); 85 // Get the timer out of the Intent 88 Log.d(TAG, "OnReceive:intent without Timer data for " + actionType); 94 // Find the timer (if it doesn't exists, it was probably deleted). 96 Log.d(TAG, " timer not found in list - do nothing"); 127 // Find the timer (if it doesn't exists, it was probably deleted). 129 Log.d(TAG, "timer to stop not found in list - do nothing") 257 TimerObj timer = timersInUse.get(0); local 267 TimerObj timer = getNextRunningTimer(timersInUse, false, now); local [all...] |
/bionic/libc/upstream-netbsd/lib/libc/isc/ |
ev_timers.c | 67 evTimer * timer; member in struct:__anon1024 251 ctx->cur->type == Timer && 252 ctx->cur->u.timer.this == del) { 253 evPrintf(ctx, 8, "deferring delete of timer (executing)\n"); 256 * clean up the timer. 284 evTimer *timer = id.opaque; local 289 if (heap_element(ctx->timers, timer->index) != timer) 293 timer->mode |= EV_TMR_RATE; 295 timer->mode &= ~EV_TMR_RATE 311 evTimer *timer = id.opaque; local 408 evTimer *timer = opaqueID.opaque; local 461 evTimer *timer; local [all...] |
/developers/samples/android/wearable/wear/Timer/Wearable/src/main/java/com/example/android/timer/ |
SetTimerActivity.java | 17 package com.example.android.timer; 35 import com.example.android.timer.util.Constants; 36 import com.example.android.timer.util.TimerFormat; 38 /** This class sets a timer. */ 92 // Register with the alarm manager to display a notification when the timer is done. 112 // Create intent that gets fired when timer expires. 128 * @param duration the duration of the timer. 133 // Intent to restart a timer. 139 // Intent to delete a timer.
|
/development/samples/ToyVpn/src/com/example/android/toyvpn/ |
ToyVpnService.java | 167 // We use a timer to determine the status of the tunnel. It 170 int timer = 0; local 189 if (timer < 1) { 190 timer = 1; 208 if (timer > 0) { 209 timer = 0; 218 // Increase the timer. This is inaccurate but good enough, 220 timer += (timer > 0) ? 100 : -100; 223 if (timer < -15000) [all...] |
/development/samples/wearable/Timer/Wearable/src/main/java/com/example/android/wearable/timer/ |
SetTimerActivity.java | 17 package com.example.android.wearable.timer; 35 import com.example.android.wearable.timer.util.Constants; 36 import com.example.android.wearable.timer.util.TimerFormat; 38 /** This class sets a timer. */ 92 // Register with the alarm manager to display a notification when the timer is done. 112 // Create intent that gets fired when timer expires. 128 * @param duration the duration of the timer. 133 // Intent to restart a timer. 139 // Intent to delete a timer.
|
/external/chromium_org/ash/display/ |
resolution_notification_controller.cc | 129 // The timer to invoke OnTimerTick() every second. This cannot be 132 base::RepeatingTimer<ResolutionNotificationController> timer; member in struct:ash::ResolutionNotificationController::ResolutionChangeInfo 311 change_info_->timer.Start(FROM_HERE,
|
/external/chromium_org/ash/wm/ |
system_gesture_event_filter_unittest.cc | 23 #include "base/timer/timer.h" 204 base::OneShotTimer<LongPressAffordanceHandler>* timer = local 206 EXPECT_TRUE(timer->IsRunning()); 210 timer->user_task().Run(); 211 timer->Stop(); 224 EXPECT_TRUE(timer->IsRunning()); 225 timer->user_task().Run(); 226 timer->Stop();
|
/external/chromium_org/chrome/browser/chromeos/login/ |
existing_user_controller_browsertest.cc | 551 // Don't assert that timer is running: with the short delay sometimes 553 // the timer starts when it should. 555 // Wait for the timer to fire. 557 base::OneShotTimer<base::RunLoop> timer; local 558 timer.Start(FROM_HERE, 579 // Log in and check that it stopped the timer. 588 // Timer should still be stopped after login completes. 609 // Login and check that it stopped the timer. 618 // Timer should still be stopped after login completes. 637 // Check that login completes and stops the timer [all...] |
/external/chromium_org/chrome/browser/chromeos/login/users/wallpaper/ |
wallpaper_manager.h | 168 // This method is usually triggered by timer to actually load request. 185 base::OneShotTimer<WallpaperManager::PendingWallpaper> timer; member in class:chromeos::WallpaperManager::PendingWallpaper
|
/external/chromium_org/chrome/browser/net/ |
predictor_unittest.cc | 14 #include "base/timer/timer.h" 41 HelperTimer* timer, int checks_until_quit) 44 timer_(timer), 99 HelperTimer* timer = new HelperTimer(); local 101 timer->Start(FROM_HERE, TimeDelta::FromMilliseconds(100), 102 new WaitForResolutionHelper(predictor, hosts, timer, 600), 109 HelperTimer* timer = new HelperTimer(); local 110 timer->Start(FROM_HERE, TimeDelta::FromMilliseconds(100), 111 new WaitForResolutionHelper(predictor, hosts, timer, limit) [all...] |
/external/chromium_org/chrome/browser/ui/ |
hung_plugin_tab_helper.cc | 232 base::Timer timer; member in struct:HungPluginTabHelper::PluginState 238 // Since the scope of the timer manages our callback, this struct should 252 timer(false, false) { 337 // Schedule the timer to re-show the infobar if the plugin continues to be 339 state->timer.Start(FROM_HERE, state->next_reshow_delay, 398 // The timer should have been cancelled if the record isn't in our map
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
ExecutionContext.cpp | 211 DOMTimer* timer = result.storedValue->value.get(); local 213 timer->suspendIfNeeded(); 215 return timer->timeoutID();
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
Timer.cpp | 28 #include "platform/Timer.h" 45 // This allows us to efficiently determine which timer needs to fire the soonest. 46 // Then we set a single shared system timer to fire at that time. 48 // When a timer's "next fire time" changes, we need to move it around in the priority queue. 80 inline TimerHeapReference& TimerHeapReference::operator=(TimerBase* timer) 82 m_reference = timer; 83 Vector<TimerBase*>& heap = timer->timerHeap(); 85 timer->m_heapIndex = &m_reference - heap.data(); 91 TimerBase* timer = b; local 92 return *this = timer; [all...] |
/external/chromium_org/third_party/libsrtp/srtp/crypto/test/ |
cipher_driver.c | 460 clock_t timer; local 472 timer = clock(); 485 timer = clock() - timer; 489 if (timer == 0) { 494 return (uint64_t)CLOCKS_PER_SEC * num_trials * 8 * octets_in_buffer / timer;
|
/external/chromium_org/third_party/libvpx/source/libvpx/examples/ |
vpx_temporal_svc_encoder.c | 597 struct vpx_usec_timer timer; local 611 vpx_usec_timer_start(&timer); 616 vpx_usec_timer_mark(&timer); 617 cx_time += vpx_usec_timer_elapsed(&timer);
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
profile-handler.cc | 66 // Callback function to be invoked on receiving a profile timer interrupt. 77 // have a separate interval timer for each thread, this function starts the 78 // timer for the current thread. 85 // unconditionally start the timer. However, if this function determines 86 // that timers are shared, then it will stop the timer if no callbacks are 90 // Registers a callback routine to receive profile timer ticks. The returned 103 // Unregisters all the callbacks, stops the timer if shared, disables the 149 // No timer initialization attempted yet. 151 // First thread has registered and set timer. 185 // Starts the interval timer. If the thread library shares timers betwee 423 struct itimerval timer; local 434 struct itimerval timer; local [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
profile-handler.cc | 66 // Callback function to be invoked on receiving a profile timer interrupt. 77 // have a separate interval timer for each thread, this function starts the 78 // timer for the current thread. 85 // unconditionally start the timer. However, if this function determines 86 // that timers are shared, then it will stop the timer if no callbacks are 90 // Registers a callback routine to receive profile timer ticks. The returned 103 // Unregisters all the callbacks, stops the timer if shared, disables the 149 // No timer initialization attempted yet. 151 // First thread has registered and set timer. 185 // Starts the interval timer. If the thread library shares timers betwee 423 struct itimerval timer; local 434 struct itimerval timer; local [all...] |
/external/chromium_org/ui/keyboard/resources/elements/ |
kb-keyboard.js | 57 * The timer for the delay before repeating behaviour begins. 60 timer: undefined, 63 * The interval timer for issuing keypresses of a repeating key. 78 clearTimeout(this.timer); 80 this.timer = undefined; 514 repeatKey.timer = setTimeout(function() { 515 repeatKey.timer = undefined;
|