/libcore/jsr166-tests/src/test/java/jsr166/ |
D | SystemTest.java | 28 long m1 = System.currentTimeMillis(); in testNanoTime1() 34 long m2 = System.currentTimeMillis(); in testNanoTime1() 50 long m1 = System.currentTimeMillis(); in testNanoTime2() 52 long m2 = System.currentTimeMillis(); in testNanoTime2()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | TimerTest.java | 311 Date d = new Date(System.currentTimeMillis() + 100); in test_scheduleLjava_util_TimerTaskLjava_util_Date() 323 d = new Date(System.currentTimeMillis() + 100); in test_scheduleLjava_util_TimerTaskLjava_util_Date() 346 d = new Date(System.currentTimeMillis() + 100); in test_scheduleLjava_util_TimerTaskLjava_util_Date() 377 d = new Date(System.currentTimeMillis() + 200); in test_scheduleLjava_util_TimerTaskLjava_util_Date() 386 d = new Date(System.currentTimeMillis() + 100); in test_scheduleLjava_util_TimerTaskLjava_util_Date() 390 d = new Date(System.currentTimeMillis() + 150); in test_scheduleLjava_util_TimerTaskLjava_util_Date() 394 d = new Date(System.currentTimeMillis() + 70); in test_scheduleLjava_util_TimerTaskLjava_util_Date() 398 d = new Date(System.currentTimeMillis() + 10); in test_scheduleLjava_util_TimerTaskLjava_util_Date() 620 Date d = new Date(System.currentTimeMillis() + 100); in test_scheduleLjava_util_TimerTaskLjava_util_DateJ() 631 d = new Date(System.currentTimeMillis() + 100); in test_scheduleLjava_util_TimerTaskLjava_util_DateJ() [all …]
|
D | TimerTaskTest.java | 180 long time = System.currentTimeMillis() + 100; in test_scheduledExecutionTime() 195 long estNow = System.currentTimeMillis() + 100; in test_scheduledExecutionTime()
|
D | WeakHashMapTest.java | 203 long startTime = System.currentTimeMillis(); in test_entrySet() 213 System.currentTimeMillis() - startTime < 5000); in test_entrySet()
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | OldAndroidZipStressTest.java | 43 long t0 = System.currentTimeMillis(); in checkJarCertificates() 52 long t1 = System.currentTimeMillis(); in checkJarCertificates() 79 long time0 = System.currentTimeMillis(); in testZipStressManifest() 93 long time1 = System.currentTimeMillis(); in testZipStressManifest() 98 long time0 = System.currentTimeMillis(); in testZipStressAllFiles() 113 long time1 = System.currentTimeMillis(); in testZipStressAllFiles()
|
/libcore/luni/src/test/java/com/android/org/bouncycastle/crypto/digests/ |
D | DigestTest.java | 61 long t0 = System.currentTimeMillis(); in doTestMessageDigest() 66 long t1 = System.currentTimeMillis(); in doTestMessageDigest() 70 long t2 = System.currentTimeMillis(); in doTestMessageDigest() 75 long t3 = System.currentTimeMillis(); in doTestMessageDigest()
|
/libcore/luni/src/main/java/java/util/ |
D | Timer.java | 220 long currentTime = System.currentTimeMillis(); in run() 270 task.when = System.currentTimeMillis() in run() 435 long delay = when.getTime() - System.currentTimeMillis(); in schedule() 501 long delay = when.getTime() - System.currentTimeMillis(); in schedule() 548 long delay = when.getTime() - System.currentTimeMillis(); in scheduleAtFixedRate() 561 long when = delay + System.currentTimeMillis(); in scheduleImpl()
|
/libcore/luni/src/main/java/libcore/icu/ |
D | TimeZoneNames.java | 61 long start = System.currentTimeMillis(); in create() 69 long nativeStart = System.currentTimeMillis(); in create() 71 long nativeEnd = System.currentTimeMillis(); in create() 77 long end = System.currentTimeMillis(); in create()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldThreadTest.java | 179 long stime = System.currentTimeMillis(); in test_sleepJ() 187 long ftime = System.currentTimeMillis(); in test_sleepJ() 226 long stime = System.currentTimeMillis(); in test_sleepJI() 234 long ftime = System.currentTimeMillis(); in test_sleepJI() 358 long start = System.currentTimeMillis(); in test_getState() 359 while(start + 1000 > System.currentTimeMillis()) {} in test_getState()
|
D | OldDoubleTest.java | 72 long startTime = System.currentTimeMillis(); in test_parseDouble_LString_AndroidRegression() 75 (System.currentTimeMillis() - startTime) < 1000); in test_parseDouble_LString_AndroidRegression()
|
D | ThreadTest.java | 63 long start = System.currentTimeMillis(); in testThreadSleep() 67 long elapsed = System.currentTimeMillis() - start; in testThreadSleep()
|
D | OldSystemTest.java | 159 long firstRead = System.currentTimeMillis(); in test_currentTimeMillis() 164 long secondRead = System.currentTimeMillis(); in test_currentTimeMillis()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | ExpensiveObjectsBenchmark.java | 33 df.format(System.currentTimeMillis()); in timeNewDateFormatTimeInstance() 40 ((DateFormat) df.clone()).format(System.currentTimeMillis()); in timeClonedDateFormatTimeInstance() 48 df.format(System.currentTimeMillis()); in timeReusedDateFormatTimeInstance()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldAndroidFileTest.java | 28 File file = File.createTempFile(String.valueOf(System.currentTimeMillis()), null, null); in testFile()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | InetAddressThreadTest.java | 69 long startTime = System.currentTimeMillis(); in run() 78 && System.currentTimeMillis() - startTime > 240000) { in run()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldAndroidDatagramTest.java | 171 long start = System.currentTimeMillis(); in testDatagramSocketSetSOTimeout() 179 long delay = System.currentTimeMillis() - start; in testDatagramSocketSetSOTimeout()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ThreadTest.java | 699 long firstRead = System.currentTimeMillis(); in test_joinJI() 701 long secondRead = System.currentTimeMillis(); in test_joinJI() 819 stime = System.currentTimeMillis(); in test_sleepJ() 821 ftime = System.currentTimeMillis(); in test_sleepJ() 837 stime = System.currentTimeMillis(); in test_sleepJI() 839 ftime = System.currentTimeMillis(); in test_sleepJI()
|
D | ObjectTest.java | 299 long before = System.currentTimeMillis(); in test_waitJ() 301 long after = System.currentTimeMillis(); in test_waitJ()
|
D | SystemTest.java | 104 long firstRead = System.currentTimeMillis(); in test_currentTimeMillis() 109 long secondRead = System.currentTimeMillis(); in test_currentTimeMillis()
|
/libcore/luni/src/test/java/tests/security/ |
D | SecureRandomTest.java | 67 random.setSeed(System.currentTimeMillis()+counter); in getRandomBytes()
|
/libcore/dalvik/src/test/java/dalvik/system/profiler/ |
D | SamplingProfilerTest.java | 73 long start = System.currentTimeMillis(); in toBeMeasured() 80 long end = System.currentTimeMillis(); in toBeMeasured() 100 long now = System.currentTimeMillis(); in test_HprofData_timeMillis()
|
/libcore/luni/src/test/java/libcore/java/util/regex/ |
D | OldAndroidRegexTest.java | 259 long t0 = System.currentTimeMillis(); in testMonsterRegexPerformance() 262 long t1 = System.currentTimeMillis(); in testMonsterRegexPerformance()
|
/libcore/luni/src/test/java/tests/java/sql/ |
D | StressTest.java | 330 ps.setDate(10, new java.sql.Date(System.currentTimeMillis())); 331 ps.setTime(11, new java.sql.Time(System.currentTimeMillis()));
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
D | ZipOutputStreamTest.java | 61 ze.setTime(System.currentTimeMillis()); in test_closeEntry() 97 ze.setTime(System.currentTimeMillis()); in test_putNextEntryLjava_util_zip_ZipEntry()
|
/libcore/luni/src/main/native/ |
D | java_lang_System.cpp | 136 NATIVE_METHOD(System, currentTimeMillis, "!()J"),
|