/libcore/jsr166-tests/src/test/java/jsr166/ |
D | SystemTest.java | 38 long m1 = System.currentTimeMillis(); in testNanoTime1() 44 long m2 = System.currentTimeMillis(); in testNanoTime1() 60 long m1 = System.currentTimeMillis(); in testNanoTime2() 62 long m2 = System.currentTimeMillis(); in testNanoTime2()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | TimerTest.java | 315 Date d = new Date(System.currentTimeMillis() + 100); in test_scheduleLjava_util_TimerTaskLjava_util_Date() 327 d = new Date(System.currentTimeMillis() + 100); in test_scheduleLjava_util_TimerTaskLjava_util_Date() 350 d = new Date(System.currentTimeMillis() + 100); in test_scheduleLjava_util_TimerTaskLjava_util_Date() 381 d = new Date(System.currentTimeMillis() + 200); in test_scheduleLjava_util_TimerTaskLjava_util_Date() 390 d = new Date(System.currentTimeMillis() + 100); in test_scheduleLjava_util_TimerTaskLjava_util_Date() 394 d = new Date(System.currentTimeMillis() + 150); in test_scheduleLjava_util_TimerTaskLjava_util_Date() 398 d = new Date(System.currentTimeMillis() + 70); in test_scheduleLjava_util_TimerTaskLjava_util_Date() 402 d = new Date(System.currentTimeMillis() + 10); in test_scheduleLjava_util_TimerTaskLjava_util_Date() 624 Date d = new Date(System.currentTimeMillis() + 100); in test_scheduleLjava_util_TimerTaskLjava_util_DateJ() 635 d = new Date(System.currentTimeMillis() + 100); in test_scheduleLjava_util_TimerTaskLjava_util_DateJ() [all …]
|
D | TimerTaskTest.java | 183 long time = System.currentTimeMillis() + 100; in test_scheduledExecutionTime() 201 long estNow = System.currentTimeMillis() + 200; in test_scheduledExecutionTime()
|
D | WeakHashMapTest.java | 202 long startTime = System.currentTimeMillis(); in test_entrySet() 212 System.currentTimeMillis() - startTime < 5000); in test_entrySet() 310 long startTime = System.currentTimeMillis(); in test_keySet() 326 System.currentTimeMillis() - startTime < timeout); in test_keySet() 396 long startTime = System.currentTimeMillis(); in test_values() 406 System.currentTimeMillis() - startTime < 5000); in test_values()
|
/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()
|
D | ZipOutputStreamTest.java | 111 long timeBeforeZip = System.currentTimeMillis() / 2000 * 2000; in testPutNextEntryUsingCurrentTime() 124 long timeAfterZip = System.currentTimeMillis(); in testPutNextEntryUsingCurrentTime()
|
/libcore/ojluni/src/main/java/java/io/ |
D | ExpiringCache.java | 96 entry.setTimestamp(System.currentTimeMillis()); in put() 99 map.put(key, new Entry(System.currentTimeMillis(), val)); in put() 110 long delta = System.currentTimeMillis() - entry.timestamp(); in entryFor()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldThreadTest.java | 180 long stime = System.currentTimeMillis(); in test_sleepJ() 188 long ftime = System.currentTimeMillis(); in test_sleepJ() 227 long stime = System.currentTimeMillis(); in test_sleepJI() 235 long ftime = System.currentTimeMillis(); in test_sleepJI() 359 long start = System.currentTimeMillis(); in test_getState() 360 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 | OldSystemTest.java | 161 long firstRead = System.currentTimeMillis(); in test_currentTimeMillis() 166 long secondRead = System.currentTimeMillis(); in test_currentTimeMillis()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | ExpensiveObjectsBenchmark.java | 35 df.format(System.currentTimeMillis()); in timeNewDateFormatTimeInstance() 42 ((DateFormat) df.clone()).format(System.currentTimeMillis()); in timeClonedDateFormatTimeInstance() 50 df.format(System.currentTimeMillis()); in timeReusedDateFormatTimeInstance()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Timer.java | 200 sched(task, System.currentTimeMillis()+delay, 0); in schedule() 255 sched(task, System.currentTimeMillis()+delay, -period); in schedule() 335 sched(task, System.currentTimeMillis()+delay, period); in scheduleAtFixedRate() 545 currentTime = System.currentTimeMillis(); in mainLoop()
|
/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/ojluni/src/main/java/sun/nio/ch/ |
D | SocketAdaptor.java | 117 long st = System.currentTimeMillis(); in connect() 122 to -= System.currentTimeMillis() - st; in connect() 220 long st = System.currentTimeMillis(); in read() 226 to -= System.currentTimeMillis() - st; in read()
|
D | ServerSocketAdaptor.java | 115 long st = System.currentTimeMillis(); in accept() 119 to -= System.currentTimeMillis() - st; in accept()
|
/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/luni/src/test/java/libcore/java/net/ |
D | SocketTimeoutTest.java | 62 long startingTime = System.currentTimeMillis(); in checkOperationTimesOut() 67 long timeElapsed = System.currentTimeMillis() - startingTime; in checkOperationTimesOut()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ThreadTest.java | 705 long firstRead = System.currentTimeMillis(); in test_joinJI() 707 long secondRead = System.currentTimeMillis(); in test_joinJI() 825 stime = System.currentTimeMillis(); in test_sleepJ() 827 ftime = System.currentTimeMillis(); in test_sleepJ() 843 stime = System.currentTimeMillis(); in test_sleepJI() 845 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()
|
/libcore/ojluni/src/main/java/sun/util/calendar/ |
D | Gregorian.java | 65 return getCalendarDate(System.currentTimeMillis(), newCalendarDate()); in getCalendarDate()
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKClock_System.java | 88 long systemMillis = System.currentTimeMillis(); in test_instant() 102 long systemMillis = System.currentTimeMillis(); in test_millis()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | SelectorTest.java | 190 long start = System.currentTimeMillis(); in test28318596() 196 long end = System.currentTimeMillis(); in test28318596()
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | Cache.java | 324 long time = System.currentTimeMillis(); in expungeExpiredEntries() 363 System.currentTimeMillis() + lifetime; in put() 391 long time = (lifetime == 0) ? 0 : System.currentTimeMillis(); in get()
|
/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/dalvik/src/main/java/dalvik/system/ |
D | ZygoteHooks.java | 129 Math.setRandomSeedInternal(System.currentTimeMillis()); in postForkChild()
|