HomeSort by relevance Sort by last modified time
    Searched defs:now (Results 176 - 200 of 1392) sorted by null

1 2 3 4 5 6 78 91011>>

  /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...]
  /device/moto/shamu/camera/QCamera/HAL/core/src/
QCameraHWI_Record.cpp 288 nsecs_t now = systemTime(); local
289 nsecs_t diff = now - mLastFpsTime;
293 mLastFpsTime = now;
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
CodeSignerTest.java 40 private Date now = new Date(); field in class:CodeSignerTest
42 private Timestamp ts = new Timestamp(now, cpath);
TimestampTest.java 39 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-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/avahi/avahi-core/
cache.c 238 time_t now; local
249 now = time(NULL);
251 if (now >= c->last_rand_timestamp + 10) {
253 c->last_rand_timestamp = now;
294 struct timeval now; local
296 gettimeofday(&now, NULL);
308 t = avahi_timeval_diff(&now, &e->timestamp);
367 e->timestamp = now;
418 struct timeval now; local
424 gettimeofday(&now, NULL)
444 struct timeval now; local
    [all...]
  /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/
lib582.c 174 struct timeval now; local
176 now = tutil_tvnow();
177 result = (timeout->tv_sec - now.tv_sec) * 1000000 +
178 timeout->tv_usec - now.tv_usec;
284 /* 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/quota/
quotaio.c 78 time_t now; local
80 time(&now);
85 now + q->dq_h->qh_info.dqi_bgrace;
94 now + q->dq_h->qh_info.dqi_igrace;
121 inode.i_dtime = fs->now ? fs->now : time(0);
263 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/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/
CalendarTests.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 121 UDate now = Calendar::getNow(); local
126 tryDate(now);
129 tryDate(now + 6.0*30*ONEDAY);
131 UDate limit = now * 10; // Arbitrary limit
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
CalendarTests.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 68 Date now = new Date(); local
69 pw.println("# Generated by " + IndexGenerator.class.getName() + " on " + fmt.format(now));
71 pw.println(copyfmt.format(now));
  /external/ipsec-tools/src/racoon/
schedule.c 83 time_t now, delta; local
86 now = current_time();
94 if (now < p->xtime) {
114 now = current_time();
116 delta = p->xtime - now;
  /external/jmdns/src/javax/jmdns/impl/tasks/state/
Prober.java 61 long now = System.currentTimeMillis(); local
62 if (now - this.getDns().getLastThrottleIncrement() < DNSConstants.PROBE_THROTTLE_COUNT_INTERVAL) {
67 this.getDns().setLastThrottleIncrement(now);
  /external/libchrome/base/files/
file_unittest.cc 338 base::Time now = base::Time::Now() + base::TimeDelta::FromSeconds(2); local
342 EXPECT_LE(info.last_accessed.ToInternalValue(), now.ToInternalValue());
343 EXPECT_LE(info.last_modified.ToInternalValue(), now.ToInternalValue());
344 EXPECT_LE(info.creation_time.ToInternalValue(), now.ToInternalValue());
464 static const char kData[] = "now is a good time.";
  /external/libmicrohttpd/src/microspdy/
daemon.c 396 unsigned long long now; local
403 now = SPDYF_monotonic_time();
422 if (earliest_deadline <= now)
425 *timeout = earliest_deadline - now;

Completed in 2525 milliseconds

1 2 3 4 5 6 78 91011>>