/libcore/luni/src/test/java/libcore/libcore/util/ |
D | ZoneInfoTest.java | 350 Instant currentTime = afterFirstRealTransitionTime; in testReadTimeZone_Bug118835133_extraFirstTransition() local 367 ZoneInfo oldZoneInfo = createZoneInfo(transitions, types, currentTime); in testReadTimeZone_Bug118835133_extraFirstTransition() 385 ZoneInfo newZoneInfo = createZoneInfo(transitions, types, currentTime); in testReadTimeZone_Bug118835133_extraFirstTransition() 405 Instant currentTime = timeFromSeconds(4000); in testReadTimeZone_Bug118835133_extraLastTransition() local 429 ZoneInfo oldZoneInfo = createZoneInfo(transitions, types, currentTime); in testReadTimeZone_Bug118835133_extraLastTransition() 441 ZoneInfo newZoneInfo = createZoneInfo(transitions, types, currentTime); in testReadTimeZone_Bug118835133_extraLastTransition() 737 private ZoneInfo createZoneInfo(int[][] transitions, int[][] types, Instant currentTime) in createZoneInfo() argument 739 return createZoneInfo(getName(), transitions, types, currentTime); in createZoneInfo() 743 Instant currentTime) throws Exception { in createZoneInfo() argument 748 return createZoneInfo(name, currentTime, builder.build()); in createZoneInfo() [all …]
|
/libcore/luni/src/main/java/java/lang/ref/ |
D | FinalizerReference.java | 167 final long currentTime = System.nanoTime(); in awaitFinalization() local 168 if (currentTime >= endTime) { in awaitFinalization() 171 final long deltaTime = endTime - currentTime; in awaitFinalization()
|
/libcore/ojluni/annotations/hiddenapi/sun/security/util/ |
D | MemoryCache.java | 104 public boolean isValid(long currentTime); in isValid() argument 130 public boolean isValid(long currentTime) { in isValid() argument 163 public boolean isValid(long currentTime) { in isValid() argument
|
/libcore/ojluni/src/main/java/java/util/ |
D | Timer.java | 538 long currentTime, executionTime; in mainLoop() local 545 currentTime = System.currentTimeMillis(); in mainLoop() 547 if (taskFired = (executionTime<=currentTime)) { in mainLoop() 553 task.period<0 ? currentTime - task.period in mainLoop() 559 queue.wait(executionTime - currentTime); in mainLoop()
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | Cache.java | 470 boolean isValid(long currentTime); in isValid() argument 500 public boolean isValid(long currentTime) { in isValid() argument 501 boolean valid = (currentTime <= expirationTime); in isValid() 537 public boolean isValid(long currentTime) { in isValid() argument 538 boolean valid = (currentTime <= expirationTime) && (get() != null); in isValid()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | SSLSessionTest.java | 98 long currentTime = System.currentTimeMillis(); in test_getCreationTime() local 100 long diff = currentTime - sessionTime; in test_getCreationTime() 101 assertTrue("diff between " + currentTime + " and " + sessionTime + " should be < 10000", in test_getCreationTime() 110 long currentTime = System.currentTimeMillis(); in test_getLastAccessedTime() local 112 long diff = currentTime - sessionTime; in test_getLastAccessedTime() 113 assertTrue("diff between " + currentTime + " and " + sessionTime + " should be < 10000", in test_getLastAccessedTime()
|
/libcore/luni/src/test/java/tests/java/sql/ |
D | SelectFunctionalityTest.java | 101 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/test/java/libcore/java/nio/channels/ |
D | OldSocketChannelTest.java | 276 long currentTime = System.currentTimeMillis(); in assertTimeout() local 277 if ((currentTime - startTime) > timeout) { in assertTimeout()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | DatagramChannelTest.java | 1304 long currentTime = System.currentTimeMillis(); in assertTimeout() local 1305 if ((currentTime - startTime) > timeout) { in assertTimeout()
|