Home
last modified time | relevance | path

Searched refs:next_time (Results 1 – 7 of 7) sorted by relevance

/external/chromium/chrome/browser/safe_browsing/
Dprotocol_manager_unittest.cc41 int next_time = pm.GetNextUpdateTime(true) / (60 * 1000); // Minutes in TEST_F() local
42 EXPECT_TRUE(next_time >= 30 && next_time <= 60); in TEST_F()
45 next_time = pm.GetNextUpdateTime(true) / (60 * 1000); in TEST_F()
46 EXPECT_TRUE(next_time >= 60 && next_time <= 120); in TEST_F()
49 next_time = pm.GetNextUpdateTime(true) / (60 * 1000); in TEST_F()
50 EXPECT_TRUE(next_time >= 120 && next_time <= 240); in TEST_F()
53 next_time = pm.GetNextUpdateTime(true) / (60 * 1000); in TEST_F()
54 EXPECT_TRUE(next_time >= 240 && next_time <= 480); in TEST_F()
/external/qemu/hw/
Di8254.c130 uint64_t d, next_time, base; in pit_get_next_transition_time() local
139 next_time = s->count; in pit_get_next_transition_time()
146 next_time = base + s->count; in pit_get_next_transition_time()
148 next_time = base + s->count + 1; in pit_get_next_transition_time()
154 next_time = base + period2; in pit_get_next_transition_time()
156 next_time = base + s->count; in pit_get_next_transition_time()
161 next_time = s->count; in pit_get_next_transition_time()
163 next_time = s->count + 1; in pit_get_next_transition_time()
169 next_time = s->count_load_time + muldiv64(next_time, get_ticks_per_sec(), PIT_FREQ); in pit_get_next_transition_time()
172 if (next_time <= current_time) in pit_get_next_transition_time()
[all …]
Dapic.c85 int64_t initial_count_load_time, next_time; member
481 s->next_time = 0; in apic_init_reset()
618 int64_t next_time, d; in apic_timer_update() local
632 next_time = s->initial_count_load_time + (d << s->count_shift); in apic_timer_update()
633 qemu_mod_timer(s->timer, next_time); in apic_timer_update()
634 s->next_time = next_time; in apic_timer_update()
646 apic_timer_update(s, s->next_time); in apic_timer()
860 qemu_put_be64(f, s->next_time); in apic_save()
896 s->next_time=qemu_get_be64(f); in apic_load()
/external/chromium_org/chrome/test/pyautolib/
Dtimer_queue.py46 next_time = time.time() + interval
48 'next time': next_time, 'args': copy.copy(args)})
/external/wpa_supplicant_8/src/ap/
Dsta_info.c309 unsigned long next_time = 0; in ap_handle_timer() local
344 next_time = hapd->conf->ap_max_inactivity + fuzz; in ap_handle_timer()
352 next_time = hapd->conf->ap_max_inactivity + fuzz - in ap_handle_timer()
375 next_time = hapd->conf->ap_max_inactivity; in ap_handle_timer()
378 if (next_time) { in ap_handle_timer()
381 __func__, MAC2STR(sta->addr), next_time); in ap_handle_timer()
382 eloop_register_timeout(next_time, 0, ap_handle_timer, hapd, in ap_handle_timer()
/external/chromium/base/
Dmessage_pump_mac.mm261 TimeTicks next_time;
262 delegate_->DoDelayedWork(&next_time);
269 bool more_delayed_work = !next_time.is_null();
271 TimeDelta delay = next_time - TimeTicks::Now();
274 ScheduleDelayedWork(next_time);
/external/chromium_org/base/message_loop/
Dmessage_pump_mac.mm491 TimeTicks next_time;
492 delegate_->DoDelayedWork(&next_time);
499 bool more_delayed_work = !next_time.is_null();
501 TimeDelta delay = next_time - TimeTicks::Now();
504 ScheduleDelayedWork(next_time);