Searched refs:now (Results 1 - 25 of 44) sorted by relevance

12

/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);
H A DCodeSource2Test.java85 Date now = new Date();
87 Timestamp ts = new Timestamp(now, cpath);
/dalvik/libcore/luni/src/main/java/java/lang/ref/
H A DReferenceQueue.java119 long now = System.currentTimeMillis();
120 long wakeupTime = now + timeout + 1L;
121 while (head == null && now < wakeupTime) {
122 wait(wakeupTime - now);
123 now = System.currentTimeMillis();
/dalvik/vm/
H A DMisc.c488 struct timespec now; local
489 clock_gettime(CLOCK_MONOTONIC, &now);
490 return (u8)now.tv_sec*1000000000LL + now.tv_nsec;
492 struct timeval now;
493 gettimeofday(&now, NULL);
494 return (u8)now.tv_sec*1000000000LL + now.tv_usec * 1000LL;
506 struct timespec now; local
507 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &now);
[all...]
H A DSignalCatcher.c147 time_t now = time(NULL); local
151 ptm = localtime_r(&now, &tmbuf);
153 ptm = localtime(&now);
/dalvik/vm/jdwp/
H A DJdwpMain.c285 LOGE("JDWP thread no longer in VMWAIT (now %d); resetting\n",
321 /* if we had stuff suspended, resume it now */
394 struct timespec now; local
395 clock_gettime(CLOCK_MONOTONIC, &now);
396 *pSec = now.tv_sec;
397 *pMsec = now.tv_nsec / 1000000;
399 struct timeval now;
400 gettimeofday(&now, NULL);
401 *pSec = now.tv_sec;
402 *pMsec = now
431 s8 now = (s8)nowSec * 1000 + nowMsec; local
[all...]
/dalvik/vm/alloc/
H A DHeapWorker.c127 u8 now = dvmGetRelativeTimeUsec(); local
128 u8 delta = now - heapWorkerInterpStartTime;
147 heapWorkerInterpStartTime = now; /* reset timer */
335 /* We're done running interpreted code for now. */
345 struct timeval now; local
347 gettimeofday(&now, NULL);
348 if (trimtime.tv_sec < now.tv_sec ||
349 (trimtime.tv_sec == now.tv_sec &&
350 trimtime.tv_nsec <= now.tv_usec * 1000))
477 * than timeoutSec seconds from now
495 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;
/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/
H A DAbstractExecutorService.java95 long now = System.nanoTime();
96 nanos -= now - lastTime;
97 lastTime = now;
191 long now = System.nanoTime();
192 nanos -= now - lastTime;
193 lastTime = now;
209 long now = System.nanoTime();
210 nanos -= now - lastTime;
211 lastTime = now;
H A DScheduledThreadPoolExecutor.java60 final long now() { method in class:ScheduledThreadPoolExecutor
110 long d = unit.convert(time - now(), TimeUnit.NANOSECONDS);
151 time = now() - p;
288 long triggerTime = now() + unit.toNanos(delay);
301 long triggerTime = now() + unit.toNanos(delay);
317 long triggerTime = now() + unit.toNanos(initialDelay);
336 long triggerTime = now() + unit.toNanos(initialDelay);
/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/hprof/
H A DHprofOutput.c72 struct timeval now; local
89 if (gettimeofday(&now, NULL) < 0) {
92 nowMs = (u8)now.tv_sec * 1000 + now.tv_usec / 1000;
/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/mterp/armv4t/
H A DOP_SGET_WIDE.S32 EXPORT_PC() @ resolve() could throw, so export now
H A DOP_SPUT_WIDE.S33 EXPORT_PC() @ resolve() could throw, so export now
/dalvik/vm/mterp/armv5te/
H A DOP_INVOKE_DIRECT.S27 beq .L${opcode}_resolve @ not resolved, do it now
H A DOP_SGET.S32 EXPORT_PC() @ resolve() could throw, so export now
H A DOP_SGET_WIDE.S31 EXPORT_PC() @ resolve() could throw, so export now
H A DOP_SPUT.S32 EXPORT_PC() @ resolve() could throw, so export now
H A DOP_SPUT_WIDE.S32 EXPORT_PC() @ resolve() could throw, so export now
/dalvik/vm/mterp/x86/
H A DOP_INVOKE_DIRECT.S29 je .L${opcode}_resolve # not resolved, do it now
H A DOP_MUL_LONG.S35 leal (%ecx,%edx),%edx # full result now in %edx:%eax
H A DOP_MUL_LONG_2ADDR.S33 leal (%ecx,%edx),%edx # full result now in %edx:%eax
/dalvik/vm/native/
H A Ddalvik_system_VMDebug.c537 struct timespec now; local
538 clock_gettime(CLOCK_THREAD_CPUTIME_ID, &now);
539 result = (jlong) (now.tv_sec*1000000000LL + now.tv_nsec);

Completed in 1044 milliseconds

12