/libcore/luni/src/test/java/com/google/coretests/ |
D | CoreTestResult.java | 122 CoreTestRunnable runnable = new CoreTestRunnable( in runProtected() local 126 Thread thread = new Thread(runnable); in runProtected() 135 runnable.stop(); in runProtected() 148 runnable.run(); in runProtected()
|
/libcore/luni/src/main/java/org/apache/xml/utils/ |
D | ThreadControllerWrapper.java | 33 public static Thread runThread(Runnable runnable, int priority) in runThread() argument 35 return m_tpool.run(runnable, priority); in runThread()
|
/libcore/luni/src/main/java/java/lang/ |
D | Thread.java | 220 public Thread(Runnable runnable) { in Thread() argument 221 create(null, runnable, null, 0); in Thread() 238 public Thread(Runnable runnable, String threadName) { in Thread() argument 243 create(null, runnable, threadName, 0); in Thread() 287 public Thread(ThreadGroup group, Runnable runnable) { in Thread() argument 288 create(group, runnable, null, 0); in Thread() 312 public Thread(ThreadGroup group, Runnable runnable, String threadName) { in Thread() argument 317 create(group, runnable, threadName, 0); in Thread() 372 public Thread(ThreadGroup group, Runnable runnable, String threadName, long stackSize) { in Thread() argument 376 create(group, runnable, threadName, stackSize); in Thread() [all …]
|
/libcore/luni/src/test/java/tests/api/java/util/concurrent/ |
D | ScheduledExecutorTest.java | 27 TrackedShortRunnable runnable =new TrackedShortRunnable(); in testExecute() local 29 p1.execute(runnable); in testExecute() 30 assertFalse(runnable.done); in testExecute() 34 assertTrue(runnable.done); in testExecute() 59 TrackedShortRunnable runnable = new TrackedShortRunnable(); in testSchedule3() local 61 p1.schedule(runnable, SMALL_DELAY_MS, MILLISECONDS); in testSchedule3() 63 assertFalse(runnable.done); in testSchedule3() 65 assertTrue(runnable.done); in testSchedule3() 74 TrackedShortRunnable runnable = new TrackedShortRunnable(); in testSchedule4() local 76 …ScheduledFuture h = p1.scheduleAtFixedRate(runnable, SHORT_DELAY_MS, SHORT_DELAY_MS, MILLISECONDS); in testSchedule4() [all …]
|
D | ScheduledExecutorSubclassTest.java | 80 TrackedShortRunnable runnable =new TrackedShortRunnable(); in testExecute() local 82 p1.execute(runnable); in testExecute() 83 assertFalse(runnable.done); in testExecute() 87 assertTrue(runnable.done); in testExecute() 112 TrackedShortRunnable runnable = new TrackedShortRunnable(); in testSchedule3() local 114 p1.schedule(runnable, SMALL_DELAY_MS, MILLISECONDS); in testSchedule3() 116 assertFalse(runnable.done); in testSchedule3() 118 assertTrue(runnable.done); in testSchedule3() 127 TrackedShortRunnable runnable = new TrackedShortRunnable(); in testSchedule4() local 129 …ScheduledFuture h = p1.scheduleAtFixedRate(runnable, SHORT_DELAY_MS, SHORT_DELAY_MS, MILLISECONDS); in testSchedule4() [all …]
|
D | JSR166TestCase.java | 493 Thread newStartedThread(Runnable runnable) { in newStartedThread() argument 494 Thread t = new Thread(runnable); in newStartedThread()
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
D | TestSSLEnginePair.java | 133 Runnable runnable = engine.getDelegatedTask(); in handshakeCompleted() local 134 if (runnable == null) { in handshakeCompleted() 137 runnable.run(); in handshakeCompleted()
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | FutureTask.java | 63 public FutureTask(Runnable runnable, V result) { in FutureTask() argument 64 sync = new Sync(Executors.callable(runnable, result)); in FutureTask()
|
D | AbstractExecutorService.java | 60 protected <T> RunnableFuture<T> newTaskFor(Runnable runnable, T value) { in newTaskFor() argument 61 return new FutureTask<T>(runnable, value); in newTaskFor()
|
D | ScheduledThreadPoolExecutor.java | 369 Runnable runnable, RunnableScheduledFuture<V> task) { in decorateTask() argument
|
/libcore/luni/src/main/java/org/apache/xalan/transformer/ |
D | TransformerImpl.java | 2951 public static void runTransformThread(Runnable runnable) in runTransformThread() argument 2953 ThreadControllerWrapper.runThread(runnable, -1); in runTransformThread()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldDatagramSocketTest.java | 911 Runnable runnable = new Runnable() { in test_receiveLjava_net_DatagramPacket() local 922 Thread thread = new Thread(runnable, "DatagramSocket.receive1"); in test_receiveLjava_net_DatagramPacket()
|
/libcore/luni/src/test/java/tests/SQLite/ |
D | DatabaseTest.java | 2024 public void registerException(Runnable runnable, Exception e) {
|