Searched defs:now (Results 1 - 25 of 760) sorted by path

1234567891011>>

/external/android-clat/
H A Dclatd.c347 logmsg(ANDROID_LOG_WARN,"ipv4mtu now set to = %d",Global_Clatd_Config.ipv4mtu);
443 time_t now = time(NULL); local
444 if(last_interface_poll < (now - INTERFACE_POLL_FREQUENCY)) {
446 last_interface_poll = now;
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
H A DCodeSignerTest.java40 private Date now = new Date(); field in class:CodeSignerTest
42 private Timestamp ts = new Timestamp(now, cpath);
H A DTimestampTest.java39 private Date now = new Date(); field in class:TimestampTest
53 new Timestamp(now, null);
64 Timestamp one = new Timestamp(now, cpath);
65 Timestamp two = new Timestamp(now, cpath);
79 assertSame(new Timestamp(now, cpath).getSignerCertPath(), cpath);
83 Timestamp t = new Timestamp(now, cpath);
84 assertEquals(now, t.getTimestamp());
85 assertNotSame(now, t.getTimestamp());
92 new Timestamp(now, cpath).toString();
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/
H A DCodeSigner_ImplTest.java39 private Date now = new Date(); field in class:CodeSigner_ImplTest
41 private Timestamp ts = new Timestamp(now, cpath);
H A DTimestamp_ImplTest.java39 private Date now = new Date(); field in class:Timestamp_ImplTest
46 assertTrue(new Timestamp(now, cpath).hashCode() == (now.hashCode() ^ cpath
/external/apache-http/src/org/apache/http/impl/conn/
H A DIdleConnectionHandler.java152 long now = System.currentTimeMillis();
154 log.debug("Checking for expired connections, now: " + now);
163 if(times.timeExpires <= now) {
182 * @param now The current time in milliseconds
186 TimeValues(long now, long validDuration, TimeUnit validUnit) { argument
187 this.timeAdded = now;
189 this.timeExpires = now + validUnit.toMillis(validDuration);
/external/bison/lib/
H A Dtimevar.c200 get_time (now)
201 struct timevar_time_def *now;
203 now->user = 0;
204 now->sys = 0;
205 now->wall = 0;
213 now->wall = times (&tms) * ticks_to_msec;
215 now->user = tms.tms_utime * ticks_to_msec;
216 now->sys = tms.tms_stime * ticks_to_msec;
218 now->user = (tms.tms_utime + tms.tms_cutime) * ticks_to_msec;
219 now
289 struct timevar_time_def now; local
340 struct timevar_time_def now; local
401 struct timevar_time_def now; local
423 struct timevar_time_def now; local
453 struct timevar_time_def now; local
[all...]
/external/blktrace/
H A Dblktrace.c504 struct timeval now; local
506 gettimeofday(&now, NULL);
507 tsp->tv_sec = now.tv_sec;
508 tsp->tv_nsec = 1000L * now.tv_usec;
/external/blktrace/btreplay/
H A Dbtreplay.c543 cpu_set_t now; local
545 (void)sched_getaffinity(getpid(), sizeof(now), &now); local
548 fprintf(tip->vfp, "%1d", CPU_ISSET(i, &now));
/external/blktrace/btt/
H A Diostat.c63 static void update_tot_qusz(struct d_info *dip, double now) argument
65 dip->stats.tot_qusz += ((now - dip->stats.last_qu_change) *
67 dip->all_stats.tot_qusz += ((now - dip->all_stats.last_qu_change) *
70 dip->stats.last_qu_change = dip->all_stats.last_qu_change = now;
73 static void update_idle_time(struct d_info *dip, double now, int force) argument
76 dip->stats.idle_time += (now - dip->stats.last_dev_change);
78 (now - dip->all_stats.last_dev_change);
80 dip->stats.last_dev_change = dip->all_stats.last_dev_change = now;
88 double now = TO_SEC(stamp); local
100 update_idle_time(dip, now,
257 double now = TO_SEC(iop->t.time); local
268 double now = TO_SEC(c_iop->t.time); local
[all...]
H A Dplat.c69 double now = TO_SEC(ts); local
76 pp->first_ts = pp->last_ts = now;
79 } else if ((now - pp->first_ts) >= plat_freq) {
85 pp->first_ts = pp->last_ts = now;
89 pp->last_ts = now;
H A Dtrace.c25 time_t now = time(NULL); local
30 if (verbose && ((now - last_vtrace) > 0)) {
34 last_vtrace = now;
/external/bluetooth/bluedroid/audio_a2dp_hw/
H A Daudio_a2dp_hw.c158 struct timespec now; local
165 clock_gettime(CLOCK_MONOTONIC, &now);
167 now_us = now.tv_sec*USEC_PER_SEC + now.tv_nsec/1000;
171 diff_us = (now.tv_sec - prev.tv_sec) * USEC_PER_SEC + (now.tv_nsec - prev.tv_nsec)/1000;
172 *pprev_opt = now;
177 diff_us = (now.tv_sec - prev.tv_sec) * USEC_PER_SEC + (now.tv_nsec - prev.tv_nsec)/1000;
178 prev = now;
[all...]
/external/bluetooth/bluedroid/btif/src/
H A Dbtif_hf.c312 struct timespec now, conn_time_delta; local
315 clock_gettime(CLOCK_MONOTONIC, &now);
316 conn_time_delta.tv_sec = now.tv_sec;
322 if ((now.tv_sec - btif_hf_cb[i].connected_timestamp.tv_sec)
326 now.tv_sec - btif_hf_cb[i].connected_timestamp.tv_sec;
588 /* TODO: Some of these commands may need to be sent to app. For now respond with error */
1387 struct timespec now; local
1389 clock_gettime(CLOCK_MONOTONIC, &now);
1390 if (now.tv_sec < btif_hf_cb[0].call_end_timestamp.tv_sec +
1427 ** It will not send codec setting cmd to the controller now
[all...]
/external/bluetooth/bluedroid/gki/ulinux/
H A Dgki_ulinux.c124 const UINT64 now = now_us(); local
125 alarm_service.timer_started_us = now;
129 prev_timer_delay = now - alarm_service.timer_last_expired_us;
708 /* adjust btld scheduling scheme now */
/external/bluetooth/bluedroid/osi/src/
H A Dalarm.c63 static period_ms_t now(void);
127 alarm->deadline = now() + deadline;
187 static period_ms_t now(void) { function
249 int64_t next_exp = next->deadline - now();
/external/chromium_org/android_webview/browser/
H A Ddeferred_gpu_command_service.cc118 const base::Time now = base::Time::Now(); local
125 // Only run old tasks if we are not really idle right now.
126 base::TimeDelta age(now - idle_tasks_.front().first);
/external/chromium_org/ash/system/date/
H A Ddate_view.cc87 base::Time now = base::Time::Now(); local
88 UpdateTextInternal(now);
90 SetTimer(now);
97 void BaseDateTimeView::SetTimer(const base::Time& now) { argument
102 now.LocalExplode(&exploded);
105 // 60 seconds from now.
168 void DateView::UpdateTextInternal(const base::Time& now) { argument
170 base::TimeFormatFriendlyDate(now) +
173 now, hour_type_, base::kKeepAmPm));
176 IDS_ASH_STATUS_TRAY_DATE, FormatDayOfWeek(now), FormatDat
227 UpdateTextInternal(const base::Time& now) argument
[all...]
/external/chromium_org/ash/wm/
H A Dvideo_detector.cc32 base::TimeTicks now) {
42 update_times_[(buffer_start_ + buffer_size_) % kMinFramesPerSecond] = now;
46 (now - update_times_[buffer_start_]).InSecondsF() <= 1.0;
96 base::TimeTicks now = local
98 if (info->RecordUpdateAndCheckForVideo(damage_rect_in_dip, now))
99 MaybeNotifyObservers(window, now);
114 base::TimeTicks now) {
116 (now - last_observer_notification_time_).InSecondsF() <
152 last_observer_notification_time_ = now;
31 RecordUpdateAndCheckForVideo(const gfx::Rect& region, base::TimeTicks now) argument
113 MaybeNotifyObservers(aura::Window* window, base::TimeTicks now) argument
H A Dvideo_detector.h63 void set_now_for_test(base::TimeTicks now) { now_for_test_ = now; } argument
86 void MaybeNotifyObservers(aura::Window* window, base::TimeTicks now);
/external/chromium_org/athena/system/
H A Dtime_view.cc42 void TimeView::SetTimer(base::Time now) { argument
47 now.LocalExplode(&exploded);
50 // 60 seconds from now.
66 base::Time now = base::Time::Now(); local
68 now, base::k12HourClock, base::kKeepAmPm));
69 SetTimer(now);
/external/chromium_org/athena/wm/
H A Dwindow_list_provider_impl_unittest.cc32 // Return a string which defines the order of windows in |now| using the indices
36 const aura::Window::Windows& now) {
37 if (original.size() != now.size())
40 for (aura::Window::Windows::const_iterator it = now.begin();
41 it != now.end(); ++it) {
35 GetWindowOrder(const aura::Window::Windows& original, const aura::Window::Windows& now) argument
/external/chromium_org/base/debug/
H A Dtrace_event.h116 // free(str); // Trace system now has dangling pointer
1371 base::TimeTicks now = base::TimeTicks::NowFromSystemTraceTime(); local
1373 name, id, thread_id, now, flags);
1407 base::TimeTicks now = base::TimeTicks::NowFromSystemTraceTime(); local
1409 name, id, thread_id, now, flags,
1450 base::TimeTicks now = base::TimeTicks::NowFromSystemTraceTime(); local
1452 name, id, thread_id, now, flags,
1509 // For now the category_group must be "gpu".
H A Dtrace_event_android.cc189 TimeTicks now = TimeTicks::NowFromSystemTraceTime(); local
190 double now_in_seconds = now.ToInternalValue() / 1000000.0;
H A Dtrace_event_impl.cc632 void TraceEvent::UpdateDuration(const TimeTicks& now,
635 duration_ = now - timestamp_;
1161 TimeTicks now = trace_log_->OffsetNow();
1162 TimeDelta overhead = now - event_timestamp;
1172 trace_event->UpdateDuration(now, thread_now);
1378 // Update the max index now.
1876 base::TimeTicks now = base::TimeTicks::NowFromSystemTraceTime(); local
1878 name, id, thread_id, now,
1914 TimeTicks now = OffsetTimestamp(timestamp); local
1987 trace_event->Initialize(thread_id, now, thread_no
2125 TimeTicks now = OffsetNow(); local
[all...]

Completed in 3854 milliseconds

1234567891011>>