Searched refs:timer (Results 1 – 6 of 6) sorted by relevance
| /libcore/ojluni/src/test/java/util/Timer/ |
| D | Purge.java | 38 Timer timer = new Timer(); in main() local 46 timer.schedule(task, i * 60*60*1000); // i hrs. hence. in main() 52 int purged = timer.purge(); in main() 55 purged = timer.purge(); in main() 58 timer.cancel(); in main()
|
| D | DelayOverflow.java | 43 void scheduleNow(Timer timer, TimerTask task, int how) { in scheduleNow() argument 46 timer.schedule(task, new Date(), Long.MAX_VALUE); in scheduleNow() 49 timer.schedule(task, 0L, Long.MAX_VALUE); in scheduleNow() 52 timer.scheduleAtFixedRate(task, new Date(), Long.MAX_VALUE); in scheduleNow() 55 timer.scheduleAtFixedRate(task, 0L, Long.MAX_VALUE); in scheduleNow() 78 final Timer timer = new Timer(); in test() local 87 scheduleNow(timer, task, how); in test() 94 timer.cancel(); in test()
|
| D | NameConstructors.java | 45 public static void test(Timer timer, String expected) throws InterruptedException { in test() argument 55 timer.schedule(task, 0L); // immediately in test() 63 timer.cancel(); in test()
|
| /libcore/ojluni/src/main/java/sun/nio/ch/ |
| D | UnixAsynchronousSocketChannelImpl.java | 598 Future<?> timer = this.writeTimer; in finishWrite() local 637 if (timer != null) in finishWrite() 638 timer.cancel(false); in finishWrite()
|
| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
| D | TimerTest.java | 83 Timer timer = null; field in TimerTest.TimerTestTask 89 timer = t; in TimerTestTask() 99 if (terminateCount == timerCounter && timer != null) { in run() 100 timer.cancel(); in run()
|
| /libcore/ojluni/src/test/resources/data/unicodedata/emoji/ |
| D | emoji-data.txt | 42 23F1..23F2 ; Emoji # E1.0 [2] (⏱️..⏲️) stopwatch..timer clock 822 23F1..23F2 ; Extended_Pictographic# E1.0 [2] (⏱️..⏲️) stopwatch..timer clock
|