/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/luni/src/main/native/ |
H A D | java_lang_System.cpp | 105 timeval now; local 106 gettimeofday(&now, NULL); 107 jlong when = now.tv_sec * 1000LL + now.tv_usec / 1000; 113 timespec now; local 114 clock_gettime(CLOCK_MONOTONIC, &now); 115 return now.tv_sec * 1000000000LL + now.tv_nsec; 117 timeval now; 118 gettimeofday(&now, NUL [all...] |
H A D | libcore_icu_TimeZoneNames.cpp | 75 const UDate now(Calendar::getNow()); 91 names->getDisplayName(zone_id.unicodeString(), UTZNM_LONG_STANDARD, now, long_std); 93 names->getDisplayName(zone_id.unicodeString(), UTZNM_SHORT_STANDARD, now, short_std); 95 names->getDisplayName(zone_id.unicodeString(), UTZNM_LONG_DAYLIGHT, now, long_dst); 97 names->getDisplayName(zone_id.unicodeString(), UTZNM_SHORT_DAYLIGHT, now, short_dst); 137 const UDate now(Calendar::getNow()); 138 names->getDisplayName(tz.unicodeString(), UTZNM_EXEMPLAR_LOCATION, now, s);
|
/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/test/java/libcore/java/util/ |
H A D | OldGregorianCalendarTest.java | 31 Date now = new Date(); 34 gc1.setTime(now); 36 gc2.setTime(now);
|
/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/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | DateTest.java | 36 long now = new Date().getTime(); 37 assertTrue("Created incorrect date: " + oldTime + " now: " + now, 38 oldTime < now);
|
H A D | FormatterTest.java | 1719 Date now = new Date(1147327147578L); 2410 f.format("%-10ta", now); //$NON-NLS-2$ 2414 f.format("%10000000000000000000000000000000001ta", now); //$NON-NLS-2$
|
/libcore/luni/src/main/java/libcore/icu/ |
H A D | DateIntervalFormat.java | 223 Calendar now = Calendar.getInstance(c.getTimeZone()); 224 return c.get(Calendar.YEAR) == now.get(Calendar.YEAR);
|
/libcore/libart/src/main/java/java/lang/ |
H A D | Thread.java | 1033 long now = System.nanoTime(); 1034 long elapsed = now - start; 1041 start = now;
|
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | ScheduledThreadPoolExecutor.java | 148 final long now() { method in class:ScheduledThreadPoolExecutor 208 return unit.convert(time - now(), NANOSECONDS); 470 return now() +
|
H A D | ForkJoinPool.java | 2197 * @param now if true, unconditionally terminate, else only 2200 * @return true if now terminating or terminated 2202 private boolean tryTerminate(boolean now, boolean enable) { argument 2225 if (!now) { // check if idle & no tasks 2585 // a task to run ForkJoinTask.invokeAll, but now external
|
/libcore/support/src/test/java/libcore/java/security/ |
H A D | TestKeyStore.java | 550 long now = System.currentTimeMillis(); 551 Date start = new Date(now - millisPerDay); 552 Date end = new Date(now + millisPerDay);
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
H A D | X509CertificateTest.java | 397 Date now = new Date(); 398 assertTrue(now.after(dates[0])); 399 assertTrue(now.before(dates[1]));
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
H A D | SerializationStressTest2.java | 1165 Date now = new Date(); 1168 twoObjects[1] = now;
|
/libcore/benchmarks/libs/ |
H A D | caliper.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ... |