Searched refs:run (Results 1 - 25 of 142) sorted by relevance

123456

/libcore/luni/src/main/java/java/lang/
H A DRunnable.java22 * Represents a command that can be executed. Often used to run code in a
32 public void run(); method in interface:Runnable
/libcore/dalvik/src/main/java/dalvik/system/
H A DNativeStart.java38 private static native void run(); method in class:NativeStart
/libcore/luni/src/main/java/java/security/
H A DPrivilegedAction.java24 public T run(); method in interface:PrivilegedAction
H A DPrivilegedExceptionAction.java24 T run() throws Exception; method in interface:PrivilegedExceptionAction
H A DAccessController.java42 * Calls {@code action.run()}.
45 return action.run();
49 * Calls {@code action.run()}.
52 return action.run();
56 * Calls {@code action.run()}.
60 return action.run();
69 * Calls {@code action.run()}.
76 * Calls {@code action.run()}.
79 return action.run();
83 * Calls {@code action.run()}
[all...]
/libcore/luni/src/main/java/java/util/concurrent/
H A DRunnableFuture.java11 * the {@code run} method causes completion of the {@code Future}
24 void run(); method in interface:RunnableFuture
H A DForkJoinWorkerThread.java101 * called explicitly. It performs the main run loop to execute
104 public void run() { method in class:ForkJoinWorkerThread
H A DExecutors.java213 * to run after a given delay, or to execute periodically.
231 * to run after a given delay, or to execute periodically. (Note
251 * Creates a thread pool that can schedule commands to run after a
263 * Creates a thread pool that can schedule commands to run after a
339 * @param task the task to run
353 * @param task the task to run
366 * @param action the privileged action to run
374 public Object call() { return action.run(); }};
381 * @param action the privileged exception action to run
389 public Object call() throws Exception { return action.run(); }};
[all...]
/libcore/support/src/test/java/tests/util/
H A DForEachRunner.java32 void run(T value) throws Exception; method in interface:ForEachRunner.Callback
48 callback.run(nameAndValue.getSecond());
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DPrivilegedActionTest.java17 public String run() { method in class:PrivilegedActionTest.MyPrivilegedAction
26 public String run() { method in class:PrivilegedActionTest.MyPrivilegedAction2
37 assertTrue("run method was not called", action.called);
/libcore/luni/src/main/java/java/util/
H A DTimerTask.java21 * The {@code TimerTask} class represents a task to run at a specified time. The task
22 * may be run once or repeatedly.
102 * have not yet run return an undefined value.
113 * The task to run should be specified in the implementation of the {@code run()}
116 public abstract void run(); method in class:TimerTask
/libcore/benchmarks/src/benchmarks/regression/
H A DDoPrivilegedBenchmark.java39 public String run() {
50 public String run() {
71 public String run() { method in class:DoPrivilegedBenchmark.ReusableAction
/libcore/luni/src/test/java/libcore/java/lang/
H A DOldThreadTest.java31 public void run() { method in class:OldThreadTest.SimpleThread
106 public void run() {
115 public void run() {
158 public void run() {
194 public void run() {
241 public void run() {
295 public void run() { method in class:OldThreadTest.Counter
310 run = true;
315 public void run() {
320 while (run) {}
373 volatile boolean run; field in class:OldThreadTest
[all...]
H A DOldInheritableThreadLocalTest.java39 public void run() {
/libcore/luni/src/test/java/libcore/java/lang/reflect/
H A DProxyTest.java126 instance.run(new EOFException());
131 instance.run(new IOException());
136 instance.run(new Exception());
147 instance.run(new EOFException());
152 instance.run(new SocketException());
163 instance.run(new EOFException());
168 instance.run(new SocketException());
173 instance.run(new IOException());
184 instance.run(new EOFException());
189 instance.run(ne
362 Object run(Throwable toThrow) throws IOException; method in interface:ProxyTest.ThrowsIOException
366 Object run(Throwable toThrow) throws EOFException; method in interface:ProxyTest.ThrowsEOFException
370 String run(Throwable toThrow) throws EOFException; method in interface:ProxyTest.ThrowsEOFExceptionReturnsString
374 Object run(Throwable toThrow) throws SocketException; method in interface:ProxyTest.ThrowsSocketException
378 Object run(Throwable toThrow) throws SocketException, EOFException; method in interface:ProxyTest.ThrowsSocketExceptionAndEOFException
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
H A DLoadLocaleProviderTestHelper.java39 public void run() { method in class:LoadLocaleProviderTestHelper
/libcore/luni/src/test/java/libcore/java/util/
H A DResourceLeakageDetector.java25 * <p>The underlying CloseGuardMonitor is loaded using reflection to ensure that this will run,
87 postTestChecker.run();
H A DAbstractCollectionTest.java32 @Override public void run() {
41 @Override public void run() {
/libcore/support/src/test/java/tests/support/
H A DSupport_ProviderTrust.java54 public Void run() {
H A DSupport_TestProvider.java53 public Void run() {
/libcore/luni/src/test/java/libcore/java/security/
H A DAccessControllerTest.java51 public Void run() {
57 public Void run() {
/libcore/luni/src/test/java/tests/support/
H A DThreadPool.java96 public void run() { method in class:ThreadPool.PooledThread
111 Logger.global.info("Task is run");
112 task.run();
/libcore/luni/src/main/java/java/nio/channels/spi/
H A DAbstractInterruptibleChannel.java43 @Override public void run() {
68 * one thread will run the closure code and the others will be blocked until
/libcore/luni/src/main/java/libcore/io/
H A DDeleteOnExit.java76 public void run() { method in class:DeleteOnExit
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DThreadLocalTest.java57 // The ThreadLocal has to run once for each thread that touches the
80 public void run() {
130 public void run() {

Completed in 762 milliseconds

123456