HomeSort by relevance Sort by last modified time
    Searched defs:now (Results 276 - 300 of 2052) sorted by null

<<11121314151617181920>>

  /libcore/ojluni/src/test/java/time/tck/java/time/
TCKLocalDate.java 227 // now()
230 public void now() { method in class:TCKLocalDate
231 LocalDate expected = LocalDate.now(Clock.systemDefaultZone());
232 LocalDate test = LocalDate.now();
237 expected = LocalDate.now(Clock.systemDefaultZone());
238 test = LocalDate.now();
244 // now(ZoneId)
248 LocalDate.now((ZoneId) null);
254 LocalDate expected = LocalDate.now(Clock.system(zone));
255 LocalDate test = LocalDate.now(zone)
    [all...]
  /packages/apps/DocumentsUI/src/com/android/documentsui/base/
Shared.java 144 Time now = new Time(); local
145 now.setToNow();
150 if (then.year != now.year) {
152 } else if (then.yearDay != now.yearDay) {
  /art/libartbase/base/
time_utils.cc 118 time_t now = time(nullptr); local
120 tm* ptm = localtime_r(&now, &tmbuf);
128 timespec now; local
129 clock_gettime(CLOCK_MONOTONIC, &now);
130 return static_cast<uint64_t>(now.tv_sec) * UINT64_C(1000) + now.tv_nsec / UINT64_C(1000000);
132 timeval now;
133 gettimeofday(&now, nullptr);
134 return static_cast<uint64_t>(now.tv_sec) * UINT64_C(1000) + now.tv_usec / UINT64_C(1000)
140 timespec now; local
152 timespec now; local
164 timespec now; local
175 timespec now; local
    [all...]
  /cts/tests/app/app/src/android/app/stubs/
MockService.java 89 long now = SystemClock.elapsedRealtime(); local
90 final long endTime = now + timeout;
92 while (!sStarted && now < endTime) {
94 sBlocker.wait(endTime - now);
97 now = SystemClock.elapsedRealtime();
111 long now = SystemClock.elapsedRealtime(); local
112 final long endTime = now + timeout;
114 while (!sDestroyed && now < endTime) {
116 sBlocker.wait(endTime - now);
119 now = SystemClock.elapsedRealtime()
    [all...]
  /cts/tests/app/src/android/app/cts/android/app/cts/tools/
ServiceConnectionHandler.java 83 final long now = SystemClock.uptimeMillis(); local
84 if (now >= endTime) {
88 wait(endTime - now);
108 final long now = SystemClock.uptimeMillis(); local
109 if (now >= endTime) {
113 wait(endTime - now);
  /cts/tests/tests/location/src/android/location/cts/psedorange/
GpsTime.java 122 public static GpsTime now() { method in class:GpsTime
124 ZonedDateTime current = ZonedDateTime.now(zone);
151 ZonedDateTime current = ZonedDateTime.now(zone);
225 ZonedDateTime current = ZonedDateTime.now(zone);
  /external/adhd/cras/src/common/
cras_util.c 176 struct timespec now; local
208 clock_gettime(CLOCK_MONOTONIC_RAW, &now);
209 subtract_timespecs(&future, &now, timeout);
  /external/apache-http/src/org/apache/http/impl/conn/
IdleConnectionHandler.java 152 long now = System.currentTimeMillis(); local
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) {
187 this.timeAdded = now;
189 this.timeExpires = now + validUnit.toMillis(validDuration);
  /external/blktrace/btt/
iostat.c 63 static void update_tot_qusz(struct d_info *dip, double now)
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)
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, 1)
257 double now = TO_SEC(iop->t.time); local
268 double now = TO_SEC(c_iop->t.time); local
    [all...]
  /external/curl/tests/libtest/
lib1900.c 169 struct timeval now; local
178 now = tutil_tvnow();
179 if(tutil_tvdiff(now, last_handle_add) >= urltime[handlenum]) {
182 last_handle_add = now;
lib582.c 174 struct timeval now; local
176 now = tutil_tvnow();
177 result = (ssize_t)((timeout->tv_sec - now.tv_sec) * 1000000 +
178 timeout->tv_usec - now.tv_usec);
281 /* now specify which file to upload */
  /external/dhcpcd-6.8.2/
auth.c 116 time_t now; local
286 if (time(&now) == -1)
288 if (t->expire < now) {
481 time_t now; local
496 if (time(&now) == -1)
498 if (t->expire < now) {
common.c 249 time_t now; local
253 now = tv.tv_sec;
254 localtime_r(&now, &tmnow);
eloop.c 160 /* Now populate the structure and add it to the list */
262 struct timespec now, w; local
265 get_monotonic(&now);
266 timespecadd(&now, when, &w);
268 if (timespeccmp(&w, &now, <)) {
460 struct timespec now; local
463 if (get_monotonic(&now) == -1)
524 struct timespec now, ts, *tsp; local
547 get_monotonic(&now);
548 if (timespeccmp(&now, &t->when, >))
    [all...]
  /external/dng_sdk/source/
dng_mutex.cpp 336 struct timespec now; local
338 dng_pthread_now (&now);
340 timeoutSecs += now.tv_sec;
341 timeoutSecs += now.tv_nsec / 1000000000.0;
343 now.tv_sec = (long) timeoutSecs;
344 now.tv_nsec = (long) ((timeoutSecs - now.tv_sec) * 1000000000);
346 timedOut = (pthread_cond_timedwait (&fPthreadCondition, &mutex.fPthreadMutex, &now) == ETIMEDOUT);
  /external/e2fsprogs/lib/support/
quotaio.c 86 time_t now; local
88 time(&now);
93 now + q->dq_h->qh_info.dqi_bgrace;
102 now + q->dq_h->qh_info.dqi_igrace;
135 inode.i_dtime = fs->now ? fs->now : time(0);
311 inode.i_ctime = fs->now ? fs->now : time(0);
  /external/fio/engines/
guasi.c 135 struct timeval now; local
141 fio_gettime(&now, NULL);
144 memcpy(&io_u->issue_time, &now, sizeof(now));
posixaio.c 46 struct timespec now; local
48 if (fill_timespec(&now))
51 sec = now.tv_sec - t->tv_sec;
52 nsec = now.tv_nsec - t->tv_nsec;
  /external/fio/
steadystate.c 199 struct timeval now; local
223 fio_gettime(&now, NULL);
229 if (utime_since(&td->epoch, &now) >= (ss->ramp_time + 1000000L))
240 rate_time = mtime_since(&ss->prev_time, &now);
241 memcpy(&ss->prev_time, &now, sizeof(now));
  /external/guava/guava/src/com/google/common/base/
Suppliers.java 188 long now = Platform.systemNanoTime(); local
189 if (nanos == 0 || now - nanos >= 0) {
194 nanos = now + durationNanos;
  /external/guava/guava-bootstrap/src/java/util/concurrent/
AbstractExecutorService.java 73 long now = System.nanoTime(); local
74 nanos -= now - lastTime;
75 lastTime = now;
167 long now = System.nanoTime(); local
168 nanos -= now - lastTime;
169 lastTime = now;
185 long now = System.nanoTime(); local
186 nanos -= now - lastTime;
187 lastTime = now;
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
CalendarHandler.java 57 long now = System.currentTimeMillis(); local
59 cal_a.setTimeInMillis(now);
62 cal_b.setTimeInMillis(now);
  /external/icu/icu4c/source/test/intltest/
tsdate.cpp 124 UDate now = Calendar::getNow(); local
129 tryDate(now);
132 tryDate(now + 6.0*30*ONEDAY);
134 UDate limit = now * 10; // Arbitrary limit
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
CalendarHandler.java 56 long now = System.currentTimeMillis(); local
58 cal_a.setTimeInMillis(now);
61 cal_b.setTimeInMillis(now);
  /external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/index/
IndexGenerator.java 70 Date now = new Date(); local
71 pw.println("# Generated by " + IndexGenerator.class.getName() + " on " + fmt.format(now));
73 pw.println(copyfmt.format(now));

Completed in 1176 milliseconds

<<11121314151617181920>>