/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
H A D | TimestampTest.java | 39 private Date now = new Date(); field in class:TimestampTest 53 new Timestamp(now, null); 59 Timestamp timestamp = new Timestamp(now, cpath); 60 assertEquals("not expected value", now, timestamp.getTimestamp()); 68 Timestamp one = new Timestamp(now, cpath); 69 Timestamp two = new Timestamp(now, cpath); 83 assertSame(new Timestamp(now, cpath).getSignerCertPath(), cpath); 87 Timestamp t = new Timestamp(now, cpath); 88 assertEquals(now, t.getTimestamp()); 89 assertNotSame(now, [all...] |
H A D | CodeSignerTest.java | 39 private Date now = new Date(); field in class:CodeSignerTest 41 private Timestamp ts = new Timestamp(now, cpath);
|
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
H A D | AsciiHprofWriter.java | 69 Date now = new Date(data.getStartMillis()); 72 total, now, now, now, now, now);
|
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | AbstractExecutorService.java | 154 long now = System.nanoTime(); 155 nanos -= now - lastTime; 156 lastTime = now; 248 long now = System.nanoTime(); 249 nanos -= now - lastTime; 250 lastTime = now; 266 long now = System.nanoTime(); 267 nanos -= now - lastTime; 268 lastTime = now;
|
H A D | Exchanger.java | 498 long now = System.nanoTime(); 502 nanos -= now - lastTime; 503 lastTime = now;
|
H A D | FutureTask.java | 387 long now = System.nanoTime(); 388 if ((nanos -= (now - last)) <= 0L) { 392 last = now;
|
H A D | SynchronousQueue.java | 126 * node's link to now point to the node itself. This doesn't arise 414 long now = System.nanoTime(); 415 nanos -= now - lastTime; 416 lastTime = now; 719 long now = System.nanoTime(); 720 nanos -= now - lastTime; 721 lastTime = now;
|
H A D | Phaser.java | 1098 long now = System.nanoTime(); 1099 nanos -= now - lastTime; 1100 lastTime = now;
|
H A D | ForkJoinPool.java | 1052 long now = System.nanoTime(); 1053 nanos -= now - last; 1054 last = now; 1224 * @param now if true, unconditionally terminate, else only 1226 * @return true if now terminating or terminated 1228 private boolean tryTerminate(boolean now) { argument 1231 if (!now) {
|
H A D | LinkedTransferQueue.java | 267 * if the initial head is now off-list, in which case they 327 * already have been removed or is now offlist). But there are two 646 if (p != t) { // update if slack now >= 2 701 long now = System.nanoTime(); 702 if ((nanos -= now - lastTime) > 0) 704 lastTime = now; 733 * stale pointer that is now off the list. 889 * Unsplices (now or later) the given deleted/cancelled node with 917 return; // now empty 922 for (;;) { // sweep now i [all...] |
H A D | ScheduledThreadPoolExecutor.java | 149 final long now() { method in class:ScheduledThreadPoolExecutor 209 return unit.convert(time - now(), NANOSECONDS); 472 return now() +
|
/libcore/luni/src/test/java/libcore/java/util/ |
H A D | OldGregorianCalendarTest.java | 31 Date now = new Date(); 34 gc1.setTime(now); 36 gc2.setTime(now);
|
/libcore/luni/src/main/java/java/util/concurrent/locks/ |
H A D | AbstractQueuedLongSynchronizer.java | 470 * racing acquires/releases, so most need signals now or soon 677 long now = System.nanoTime(); 678 nanosTimeout -= now - lastTime; 679 lastTime = now; 781 long now = System.nanoTime(); 782 nanosTimeout -= now - lastTime; 783 lastTime = now; 838 * @return {@code true} if this object is now in a fully released 1373 * a condition queue, is now waiting to reacquire on sync queue. 1834 long now [all...] |
H A D | AbstractQueuedSynchronizer.java | 699 * racing acquires/releases, so most need signals now or soon 906 long now = System.nanoTime(); 907 nanosTimeout -= now - lastTime; 908 lastTime = now; 1010 long now = System.nanoTime(); 1011 nanosTimeout -= now - lastTime; 1012 lastTime = now; 1067 * @return {@code true} if this object is now in a fully released 1603 * a condition queue, is now waiting to reacquire on sync queue. 2062 long now [all...] |
/libcore/dalvik/src/test/java/dalvik/system/profiler/ |
H A D | SamplingProfilerTest.java | 100 long now = System.currentTimeMillis(); 101 hprofData.setStartMillis(now); 102 assertEquals(now, hprofData.getStartMillis());
|
/libcore/luni/src/test/java/tests/api/java/util/ |
H A D | DateTest.java | 36 long now = new Date().getTime(); 37 assertTrue("Created incorrect date: " + oldTime + " now: " + now, 38 oldTime < now);
|
/libcore/luni/src/main/java/libcore/net/http/ |
H A D | HttpEngine.java | 274 long now = System.currentTimeMillis(); 275 this.responseSource = cachedResponseHeaders.chooseResponseSource(now, requestHeaders);
|
/libcore/support/src/test/java/libcore/java/security/ |
H A D | TestKeyStore.java | 486 long now = System.currentTimeMillis(); 487 Date start = new Date(now - millisPerDay); 488 Date end = new Date(now + millisPerDay);
|