Home
last modified time | relevance | path

Searched refs:t0 (Results 1 – 12 of 12) sorted by relevance

/libcore/luni/src/test/java/com/android/org/bouncycastle/crypto/digests/
DDigestTest.java61 long t0 = System.currentTimeMillis(); in doTestMessageDigest() local
68 oldTime = oldTime + (t1 - t0); in doTestMessageDigest()
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLSessionTest.java61 long t0 = System.currentTimeMillis() / 1000; in test_SSLSession_getCreationTime() local
68 assertTrue(sTime + " >= " + t0, sTime >= t0); in test_SSLSession_getCreationTime()
72 assertTrue(cTime + " >= " + t0, cTime >= t0); in test_SSLSession_getCreationTime()
/libcore/jsr166-tests/src/test/java/jsr166/
DLinkedTransferQueueTest.java270 long t0 = System.nanoTime(); in testInterruptedTimedPoll()
272 assertTrue(millisElapsedSince(t0) < SMALL_DELAY_MS); in testInterruptedTimedPoll()
274 long t0 = System.nanoTime(); in testInterruptedTimedPoll()
280 assertTrue(millisElapsedSince(t0) < MEDIUM_DELAY_MS); in testInterruptedTimedPoll()
301 long t0 = System.nanoTime(); in testTimedPollAfterInterrupt()
303 assertTrue(millisElapsedSince(t0) < SMALL_DELAY_MS); in testTimedPollAfterInterrupt()
945 long t0 = System.nanoTime(); in testTryTransfer6()
948 assertTrue(millisElapsedSince(t0) >= timeoutMillis()); in testTryTransfer6()
987 long t0 = System.nanoTime(); in testTryTransfer8() local
989 assertTrue(millisElapsedSince(t0) >= timeoutMillis()); in testTryTransfer8()
DForkJoinTaskTest.java94 long t0 = System.nanoTime(); in checkCompletedNormally() local
96 assertTrue(millisElapsedSince(t0) < SMALL_DELAY_MS); in checkCompletedNormally() argument
102 long t0 = System.nanoTime(); in checkCompletedNormally()
104 assertTrue(millisElapsedSince(t0) < SMALL_DELAY_MS); in checkCompletedNormally()
137 long t0 = System.nanoTime();
139 assertTrue(millisElapsedSince(t0) < SMALL_DELAY_MS);
175 long t0 = System.nanoTime();
177 assertTrue(millisElapsedSince(t0) < SMALL_DELAY_MS);
DPriorityBlockingQueueTest.java378 long t0 = System.nanoTime(); in testInterruptedTimedPoll()
380 assertTrue(millisElapsedSince(t0) < SMALL_DELAY_MS); in testInterruptedTimedPoll()
382 long t0 = System.nanoTime(); in testInterruptedTimedPoll()
388 assertTrue(millisElapsedSince(t0) < MEDIUM_DELAY_MS); in testInterruptedTimedPoll()
DCountedCompleterTest.java93 long t0 = System.nanoTime(); in checkCompletedNormally() local
95 assertTrue(millisElapsedSince(t0) < SMALL_DELAY_MS); in checkCompletedNormally()
101 long t0 = System.nanoTime(); in checkCompletedNormally()
103 assertTrue(millisElapsedSince(t0) < SMALL_DELAY_MS); in checkCompletedNormally()
136 long t0 = System.nanoTime();
138 assertTrue(millisElapsedSince(t0) < SMALL_DELAY_MS);
174 long t0 = System.nanoTime();
176 assertTrue(millisElapsedSince(t0) < SMALL_DELAY_MS);
DLinkedBlockingQueueTest.java422 long t0 = System.nanoTime(); in testInterruptedTimedPoll()
424 assertTrue(millisElapsedSince(t0) < SMALL_DELAY_MS); in testInterruptedTimedPoll()
426 long t0 = System.nanoTime(); in testInterruptedTimedPoll()
432 assertTrue(millisElapsedSince(t0) < MEDIUM_DELAY_MS); in testInterruptedTimedPoll()
DArrayBlockingQueueTest.java433 long t0 = System.nanoTime(); in testInterruptedTimedPoll()
435 assertTrue(millisElapsedSince(t0) < SMALL_DELAY_MS); in testInterruptedTimedPoll()
437 long t0 = System.nanoTime(); in testInterruptedTimedPoll()
443 assertTrue(millisElapsedSince(t0) < MEDIUM_DELAY_MS); in testInterruptedTimedPoll()
DLinkedBlockingDequeTest.java732 long t0 = System.nanoTime(); in testInterruptedTimedPoll()
734 assertTrue(millisElapsedSince(t0) < SMALL_DELAY_MS); in testInterruptedTimedPoll()
736 long t0 = System.nanoTime(); in testInterruptedTimedPoll()
742 assertTrue(millisElapsedSince(t0) < MEDIUM_DELAY_MS); in testInterruptedTimedPoll()
/libcore/luni/src/test/java/libcore/java/util/zip/
DOldAndroidZipStressTest.java43 long t0 = System.currentTimeMillis(); in checkJarCertificates() local
53 System.out.println("loadCertificates() took " + (t1 - t0) + " ms"); in checkJarCertificates()
/libcore/luni/src/test/java/libcore/java/util/regex/
DOldAndroidRegexTest.java259 long t0 = System.currentTimeMillis(); in testMonsterRegexPerformance() local
263 System.out.println("RegEx performance test finished, took " + (t1 - t0) + " ms."); in testMonsterRegexPerformance()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DSelectorTest.java278 long t0 = System.nanoTime(); in test_selectJ_Empty_Keys() local
282 long waitMs = (t1 - t0) / 1000L / 1000L; in test_selectJ_Empty_Keys()