Searched defs:now (Results 1 - 15 of 15) sorted by relevance

/dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/
H A DTimestampTest.java49 private Date now = new Date(); field in class:TimestampTest
69 new Timestamp(now, null);
75 Timestamp timestamp = new Timestamp(now, cpath);
76 assertEquals("not expected value", now, timestamp.getTimestamp());
90 Timestamp one = new Timestamp(now, cpath);
91 Timestamp two = new Timestamp(now, cpath);
111 assertSame(new Timestamp(now, cpath).getSignerCertPath(), cpath);
121 Timestamp t = new Timestamp(now, cpath);
122 assertEquals(now, t.getTimestamp());
123 assertNotSame(now,
[all...]
H A DCodeSignerTest.java54 private Date now = new Date(); field in class:CodeSignerTest
56 private Timestamp ts = new Timestamp(now, cpath);
/dalvik/libcore/luni/src/test/java/com/google/coretests/
H A DStatsStore.java41 public static long now; field in class:StatsStore
98 a.bestRes = 0; a.lastBestAt = now;
103 a.bestRes = 0; a.lastBestAt = now;
108 a.bestRes = 0; a.lastBestAt = now;
116 a.bestRes = 0; a.lastBestAt = now;
175 insertDetStmt.setLong(pos, now); pos++;
183 insertEventStmt.setLong(pos, now); pos++;
/dalvik/vm/
H A DSignalCatcher.c109 time_t now = time(NULL); local
113 ptm = localtime_r(&now, &tmbuf);
115 ptm = localtime(&now);
217 * (The HPROF dump generation is not all that useful now that we have
H A DMisc.c537 struct timespec now; local
538 clock_gettime(CLOCK_MONOTONIC, &now);
539 return (u8)now.tv_sec*1000000000LL + now.tv_nsec;
541 struct timeval now;
542 gettimeofday(&now, NULL);
543 return (u8)now.tv_sec*1000000000LL + now.tv_usec * 1000LL;
555 struct timespec now; local
556 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &now);
[all...]
H A DProfile.c232 LOGD("+++ active profiler count now %d\n", newValue);
703 u8 now = getClock(); local
704 clockDiff = (u4) (now - self->cpuClockBase);
/dalvik/vm/jdwp/
H A DJdwpMain.c289 LOGE("JDWP thread no longer in VMWAIT (now %d); resetting\n",
328 /* if we had threads suspended, resume them now */
399 struct timespec now; local
400 clock_gettime(CLOCK_MONOTONIC, &now);
401 *pSec = now.tv_sec;
402 *pMsec = now.tv_nsec / 1000000;
404 struct timeval now;
405 gettimeofday(&now, NULL);
406 *pSec = now.tv_sec;
407 *pMsec = now
436 s8 now = (s8)nowSec * 1000 + nowMsec; local
[all...]
/dalvik/libcore/luni/src/test/java/tests/api/java/io/
H A DObjectStreamClassTest.java217 static final long now; field in class:ObjectStreamClassTest.Foo
221 now = System.currentTimeMillis();
/dalvik/vm/alloc/
H A DHeapWorker.c128 u8 now = dvmGetRelativeTimeUsec(); local
129 u8 delta = now - heapWorkerInterpStartTime;
148 gDvm.gcHeap->heapWorkerInterpStartTime = now; /* reset timer */
169 gDvm.gcHeap->heapWorkerInterpStartTime = now;
324 /* We're done running interpreted code for now. */
334 struct timespec now; local
337 clock_gettime(CLOCK_MONOTONIC, &now); // relative time
341 now.tv_sec = tvnow.tv_sec;
342 now.tv_nsec = tvnow.tv_usec * 1000;
345 if (trimtime.tv_sec < now
498 struct timeval now; local
[all...]
H A DDdmHeap.c59 struct timeval now; local
89 if (gettimeofday(&now, NULL) < 0) {
92 nowMs = (u8)now.tv_sec * 1000 + now.tv_usec / 1000;
H A DHeap.c399 /* Most allocations should have succeeded by now, so the heap
737 u8 now; local
764 now = dvmGetRelativeTimeUsec();
766 timeSinceLastGc = (now - gcHeap->gcStartTime) / 1000;
770 gcHeap->gcStartTime = now;
932 /* All strongly-reachable objects have now been marked.
/dalvik/vm/hprof/
H A DHprofOutput.c96 struct timeval now; local
113 if (gettimeofday(&now, NULL) < 0) {
116 nowMs = (u8)now.tv_sec * 1000 + now.tv_usec / 1000;
/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/
H A DScheduledThreadPoolExecutor.java102 * used as an offset by now() to avoid wraparound of time values
110 static long now() { method in class:ScheduledThreadPoolExecutor
170 long d = time - now();
211 time = now() - p;
392 long now = now();
394 return now; // avoid negative trigger times
395 else if ((triggerTime = now + unit.toNanos(delay)) < 0)
/dalvik/vm/native/
H A Ddalvik_system_VMDebug.c62 /* probably OOM; drop out now */
651 struct timespec now; local
652 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &now);
653 result = (jlong) (now.tv_sec*1000000000LL + now.tv_nsec);
/dalvik/dx/etc/
H A Djasmin.jarMETA-INF/ META-INF/MANIFEST.MF jas/ jas/AnnotDefAttr.class AnnotDefAttr.java package jas ...

Completed in 278 milliseconds