/libcore/ojluni/src/main/java/java/lang/ |
H A D | Runnable.java | 31 * class must define a method of no arguments called <code>run</code>. 41 * <code>Runnable</code> can run without subclassing <code>Thread</code> 44 * be used if you are only planning to override the <code>run()</code> 60 * <code>run</code> method to be called in that separately executing 63 * The general contract of the method <code>run</code> is that it may 66 * @see java.lang.Thread#run() 68 public abstract void run(); method in interface:Runnable
|
H A D | Shutdown.java | 47 /* Should we run all finalizers upon exit? */ 69 static void setRunFinalizersOnExit(boolean run) { argument 71 runFinalizersOnExit = run; 126 if (hook != null) hook.run(); 155 * run the hooks and then halt. Instead we need to keep track of whether 159 * if on-exit finalizers are enabled they're run iff the shutdown is 160 * initiated by an exit(0); they're never run on exit(n) for n != 0 or in
|
/libcore/dalvik/src/main/java/dalvik/system/ |
H A D | NativeStart.java | 38 private static native void run(); method in class:NativeStart
|
/libcore/ojluni/src/main/java/java/security/ |
H A D | PrivilegedAction.java | 35 T run(); method in interface:PrivilegedAction
|
H A D | PrivilegedExceptionAction.java | 34 T run() throws Exception; method in interface:PrivilegedExceptionAction
|
H A D | AccessController.java | 38 * Calls {@code action.run()}. 41 return action.run(); 45 * Calls {@code action.run()}. 48 return action.run(); 53 * Calls {@code action.run()}. 57 return action.run(); 61 * Calls {@code action.run()}. 67 return action.run(); 77 * Calls {@code action.run()}. 86 * Calls {@code action.run()} [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | RunnableFuture.java | 11 * the {@code run} method causes completion of the {@code Future} 24 void run(); method in interface:RunnableFuture
|
/libcore/ojluni/src/main/java/sun/security/action/ |
H A D | GetBooleanAction.java | 69 public Boolean run() { method in class:GetBooleanAction
|
H A D | LoadLibraryAction.java | 66 public Void run() { method in class:LoadLibraryAction
|
H A D | GetIntegerAction.java | 107 public Integer run() { method in class:GetIntegerAction
|
H A D | GetPropertyAction.java | 83 public String run() { method in class:GetPropertyAction
|
H A D | PutAllAction.java | 51 public Void run() { method in class:PutAllAction
|
/libcore/support/src/test/java/tests/util/ |
H A D | ForEachRunner.java | 32 void run(T value) throws Exception; method in interface:ForEachRunner.Callback 48 callback.run(nameAndValue.getSecond());
|
/libcore/ojluni/src/main/java/java/util/ |
H A D | TimerTask.java | 92 public abstract void run(); method in class:TimerTask 96 * execution and has not yet run, or has not yet been scheduled, it will 97 * never run. If the task has been scheduled for repeated execution, it 98 * will never run again. (If the task is running when this call occurs, 99 * the task will run to completion, but will never run again.) 101 * <p>Note that calling this method from within the <tt>run</tt> method of 103 * not run again. 109 * not yet run, or this task is scheduled for repeated execution. 111 * and has already run, o [all...] |
/libcore/ojluni/src/main/java/java/text/ |
H A D | Bidi.java | 52 * by indexing to get the start, limit, and level of a run. The level represents 53 * both the direction and the 'nesting level' of a directional run. Odd levels 56 * level 2 represents left-to-right text embedded in a right-to-left run. 219 * and right-to-left text, or the base direction differs from the direction of the only run of text. 290 * Return the level of the nth logical run in this line. 291 * @param run the index of the run, between 0 and <code>getRunCount()</code> 292 * @return the level of the run 294 public int getRunLevel(int run) { argument 295 // Paper over a the ICU4J behaviour of strictly enforcing run mus 309 getRunStart(int run) argument 325 getRunLimit(int run) argument [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
H A D | PrivilegedActionTest.java | 17 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/ojluni/src/main/java/sun/security/util/ |
H A D | ResourcesMgr.java | 45 public java.util.ResourceBundle run() { 62 public java.util.ResourceBundle run() {
|
/libcore/ojluni/src/main/java/java/net/ |
H A D | NetUtil.java | 56 public String run() {
|
/libcore/benchmarks/src/benchmarks/regression/ |
H A D | DoPrivilegedBenchmark.java | 36 public String run() { 47 public String run() { 68 public String run() { method in class:DoPrivilegedBenchmark.ReusableAction
|
/libcore/luni/src/test/java/libcore/util/ |
H A D | NativeAllocationRegistryTest.java | 44 // Verify that NativeAllocations and their referents are freed before we run 113 public void run() { 129 // Running the cleaner should cause the native finalizer to run. 130 cleaner.run(); 135 cleaner.run(); 151 public void run() { 158 public void run() { 165 public void run() { 188 runnable.run();
|
/libcore/luni/src/test/java/libcore/java/lang/ |
H A D | OldThreadTest.java | 31 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...] |
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
H A D | ProxyTest.java | 126 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/ojluni/src/main/java/sun/net/www/http/ |
H A D | KeepAliveStreamCleaner.java | 66 public Integer run() { 74 public Integer run() { 91 public void run() method in class:KeepAliveStreamCleaner
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
H A D | LoadLocaleProviderTestHelper.java | 39 public void run() { method in class:LoadLocaleProviderTestHelper
|
/libcore/luni/src/test/java/libcore/java/util/ |
H A D | ResourceLeakageDetector.java | 25 * <p>The underlying CloseGuardMonitor is loaded using reflection to ensure that this will run, 87 postTestChecker.run();
|