/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | TimestampTest.java | 39 private Date now = new Date(); field in TimestampTest 53 new Timestamp(now, null); in testTimestamp() 59 Timestamp timestamp = new Timestamp(now, cpath); in testTimestamp() 60 assertEquals("not expected value", now, timestamp.getTimestamp()); in testTimestamp() 68 Timestamp one = new Timestamp(now, cpath); in testEqualsObject() 69 Timestamp two = new Timestamp(now, cpath); in testEqualsObject() 83 assertSame(new Timestamp(now, cpath).getSignerCertPath(), cpath); in testGetSignerCertPath() 87 Timestamp t = new Timestamp(now, cpath); in testGetTimestamp() 88 assertEquals(now, t.getTimestamp()); in testGetTimestamp() 89 assertNotSame(now, t.getTimestamp()); in testGetTimestamp() [all …]
|
D | CodeSignerTest.java | 39 private Date now = new Date(); field in CodeSignerTest 41 private Timestamp ts = new Timestamp(now, cpath);
|
/libcore/luni/src/main/native/ |
D | java_lang_System.cpp | 105 timeval now; in System_currentTimeMillis() local 106 gettimeofday(&now, NULL); in System_currentTimeMillis() 107 jlong when = now.tv_sec * 1000LL + now.tv_usec / 1000; in System_currentTimeMillis() 113 timespec now; in System_nanoTime() local 114 clock_gettime(CLOCK_MONOTONIC, &now); in System_nanoTime() 115 return now.tv_sec * 1000000000LL + now.tv_nsec; in System_nanoTime() 117 timeval now; in System_nanoTime() 118 gettimeofday(&now, NULL); in System_nanoTime() 119 return static_cast<jlong>(now.tv_sec) * 1000000000LL + now.tv_usec * 1000LL; in System_nanoTime()
|
D | libcore_icu_TimeZoneNames.cpp | 75 const UDate now(Calendar::getNow()); in TimeZoneNames_fillZoneStrings() local 91 names->getDisplayName(zone_id.unicodeString(), UTZNM_LONG_STANDARD, now, long_std); in TimeZoneNames_fillZoneStrings() 93 names->getDisplayName(zone_id.unicodeString(), UTZNM_SHORT_STANDARD, now, short_std); in TimeZoneNames_fillZoneStrings() 95 names->getDisplayName(zone_id.unicodeString(), UTZNM_LONG_DAYLIGHT, now, long_dst); in TimeZoneNames_fillZoneStrings() 97 names->getDisplayName(zone_id.unicodeString(), UTZNM_SHORT_DAYLIGHT, now, short_dst); in TimeZoneNames_fillZoneStrings() 137 const UDate now(Calendar::getNow()); in TimeZoneNames_getExemplarLocation() local 138 names->getDisplayName(tz.unicodeString(), UTZNM_EXEMPLAR_LOCATION, now, s); in TimeZoneNames_getExemplarLocation()
|
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
D | AsciiHprofWriter.java | 69 Date now = new Date(data.getStartMillis()); in write() local 72 total, now, now, now, now, now); in write()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | OldGregorianCalendarTest.java | 31 Date now = new Date(); in testGetHour() local 34 gc1.setTime(now); in testGetHour() 36 gc2.setTime(now); in testGetHour()
|
/libcore/dalvik/src/test/java/dalvik/system/profiler/ |
D | SamplingProfilerTest.java | 100 long now = System.currentTimeMillis(); in test_HprofData_timeMillis() local 101 hprofData.setStartMillis(now); in test_HprofData_timeMillis() 102 assertEquals(now, hprofData.getStartMillis()); in test_HprofData_timeMillis()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | DateTest.java | 36 long now = new Date().getTime(); in test_Constructor() local 37 assertTrue("Created incorrect date: " + oldTime + " now: " + now, in test_Constructor() 38 oldTime < now); in test_Constructor()
|
D | FormatterTest.java | 1719 Date now = new Date(1147327147578L); in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion() local 2410 f.format("%-10ta", now); //$NON-NLS-2$ in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion() 2414 f.format("%10000000000000000000000000000000001ta", now); //$NON-NLS-2$ in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion()
|
/libcore/luni/src/main/java/libcore/icu/ |
D | DateIntervalFormat.java | 223 Calendar now = Calendar.getInstance(c.getTimeZone()); in isThisYear() local 224 return c.get(Calendar.YEAR) == now.get(Calendar.YEAR); in isThisYear()
|
/libcore/libart/src/main/java/java/lang/ |
D | Thread.java | 1033 long now = System.nanoTime(); in sleep() local 1034 long elapsed = now - start; in sleep() 1041 start = now; in sleep()
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | ScheduledThreadPoolExecutor.java | 148 final long now() { in now() method in ScheduledThreadPoolExecutor 208 return unit.convert(time - now(), NANOSECONDS); in getDelay() 470 return now() + in triggerTime()
|
D | ForkJoinPool.java | 2202 private boolean tryTerminate(boolean now, boolean enable) { in tryTerminate() argument 2225 if (!now) { // check if idle & no tasks in tryTerminate()
|
/libcore/support/src/test/java/libcore/java/security/ |
D | TestKeyStore.java | 579 long now = System.currentTimeMillis(); in createCertificate() local 580 Date start = new Date(now - millisPerDay); in createCertificate() 581 Date end = new Date(now + millisPerDay); in createCertificate()
|
/libcore/expectations/ |
D | brokentests.txt | 112 description: "Suffers from DH slowness, disabling for now.",
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | X509CertificateTest.java | 397 Date now = new Date(); in checkValidity() local 398 assertTrue(now.after(dates[0])); in checkValidity() 399 assertTrue(now.before(dates[1])); in checkValidity()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | SerializationStressTest2.java | 1165 Date now = new Date(); in test_OptionalDataNotRead() local 1168 twoObjects[1] = now; in test_OptionalDataNotRead()
|
/libcore/benchmarks/libs/ |
D | caliper.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |