Home
last modified time | relevance | path

Searched refs:currentTime (Results 1 – 6 of 6) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLSessionTest.java114 long currentTime = System.currentTimeMillis(); in test_getCreationTime() local
116 long diff = currentTime - sessionTime; in test_getCreationTime()
117 assertTrue("diff between " + currentTime + " and " + sessionTime + " should be < 10000", in test_getCreationTime()
136 long currentTime = System.currentTimeMillis(); in test_getLastAccessedTime() local
138 long diff = currentTime - sessionTime; in test_getLastAccessedTime()
139 assertTrue("diff between " + currentTime + " and " + sessionTime + " should be < 10000", in test_getLastAccessedTime()
/libcore/luni/src/test/java/tests/java/sql/
DSelectFunctionalityTest.java101 long currentTime = Calendar.getInstance().getTimeInMillis(); in createTestTables() local
102 date = new Date(currentTime); in createTestTables()
103 time = new Time(currentTime); in createTestTables()
105 DatabaseCreator.fillTestTable2(conn, 1, 5, currentTime); in createTestTables()
/libcore/luni/src/main/java/java/util/
DTimer.java220 long currentTime = System.currentTimeMillis(); in run() local
232 timeToSleep = task.when - currentTime; in run()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DOldSocketChannelTest.java274 long currentTime = System.currentTimeMillis(); in assertTimeout() local
275 if ((currentTime - startTime) > timeout) { in assertTimeout()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DDatagramChannelTest.java1302 long currentTime = System.currentTimeMillis(); in assertTimeout() local
1303 if ((currentTime - startTime) > timeout) { in assertTimeout()
DSocketChannelTest.java2103 long currentTime = System.currentTimeMillis(); in assertTimeout() local
2104 if ((currentTime - startTime) > timeout) { in assertTimeout()