HomeSort by relevance Sort by last modified time
    Searched refs:runnable (Results 1 - 25 of 89) sorted by null

1 2 3 4

  /external/proguard/src/proguard/gui/
SwingUtil.java 37 * Invokes the given Runnable in the AWT event dispatching thread,
40 * @see SwingUtilities#invokeAndWait(Runnable)
41 * @param runnable the Runnable to be executed.
43 public static void invokeAndWait(Runnable runnable)
50 runnable.run();
54 SwingUtilities.invokeAndWait(runnable);
65 * Invokes the given Runnable in the AWT event dispatching thread, not
68 * @see SwingUtilities#invokeLater(Runnable)
    [all...]
  /external/emma/core/java13/com/vladium/util/exit/
ExitHookManager.java 29 public abstract boolean addExitHook (Runnable runnable);
30 public abstract boolean removeExitHook (Runnable runnable);
61 public synchronized boolean addExitHook (final Runnable runnable)
63 if ((runnable != null) && ! m_exitThreadMap.containsKey (runnable))
65 final Thread exitThread = new Thread (runnable, IAppConstants.APP_NAME + " shutdown handler thread");
70 m_exitThreadMap.put (runnable, exitThread); // TODO: use identity her
    [all...]
  /external/guava/src/com/google/common/util/concurrent/
ExecutionList.java 28 * <p>A list of ({@code Runnable}, {@code Executor}) pairs that guarantees
29 * that every {@code Runnable} that is added using the add method will be
31 * {@code Runnable}s added after {@code run} is called are still guaranteed to
38 public class ExecutionList implements Runnable {
44 // The list of runnable,executor pairs to execute. Only modified within
53 * Add the runnable/executor pair to the list of pairs to execute. Executes
56 public void add(Runnable runnable, Executor executor) {
61 Preconditions.checkNotNull(runnable, "Runnable was null.")
107 final Runnable runnable; field in class:ExecutionList.RunnableExecutorPair
    [all...]
ListenableFutureTask.java 51 * given {@code Runnable}, and arrange that {@code get} will return the
54 * @param runnable the runnable task
59 * new ListenableFutureTask<Object>(runnable, null)}
60 * @throws NullPointerException if runnable is null
62 public ListenableFutureTask(Runnable runnable, V result) {
63 super(runnable, result);
66 public void addListener(Runnable listener, Executor exec) {
  /sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/actions/
ICommonAction.java 38 * Sets the {@link Runnable} that will be executed when the action is triggered.
40 public void setRunnable(Runnable runnable);
ToolItemAction.java 56 * Sets the {@link Runnable} that will be executed when the action is triggered (through
58 * @see ICommonAction#setRunnable(Runnable)
60 public void setRunnable(final Runnable runnable) {
64 runnable.run();
  /frameworks/base/core/tests/coretests/src/android/view/
RunQueue.java 46 view.post(new Runnable() {
52 final Runnable runnable = new Runnable() { local
57 view.post(runnable);
58 view.post(runnable);
59 view.post(runnable);
60 view.post(runnable);
61 view.removeCallbacks(runnable);
  /packages/apps/Launcher2/src/com/android/launcher2/
DeferredHandler.java 34 private LinkedList<Runnable> mQueue = new LinkedList<Runnable>();
40 Runnable r;
59 private class IdleRunnable implements Runnable {
60 Runnable mRunnable;
62 IdleRunnable(Runnable r) {
74 /** Schedule runnable to run after everything that's on the queue right now. */
75 public void post(Runnable runnable) {
77 mQueue.add(runnable);
    [all...]
  /external/apache-xml/src/main/java/org/apache/xml/utils/
ThreadControllerWrapper.java 33 public static Thread runThread(Runnable runnable, int priority)
35 return m_tpool.run(runnable, priority);
38 public static void waitThread(Thread worker, Runnable task)
66 public Thread run(Runnable task, int priority)
87 public void waitThread(Thread worker, Runnable task)
  /packages/apps/Browser/src/com/android/browser/
BackgroundHandler.java 35 public static void execute(Runnable runnable) {
36 mThreadPool.execute(runnable);
GoogleAccountLogin.java 43 public class GoogleAccountLogin implements Runnable,
62 private Runnable mRunnable;
73 Runnable runnable) {
77 mRunnable = runnable;
104 // Runnable
158 mActivity.runOnUiThread(new Runnable() {
215 Runnable runnable) {
218 runnable.run()
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/
CommonAction.java 29 private Runnable mRunnable;
63 * Sets the {@link Runnable}.
64 * @see ICommonAction#setRunnable(Runnable)
66 public void setRunnable(Runnable runnable) {
67 mRunnable = runnable;
  /sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/
SyncProgressHelper.java 38 * a runnable class run with an {@link ISyncProgressMonitor}.
49 * @param runnable The {@link SyncRunnable} to run.
59 public static void run(final SyncRunnable runnable, final String progressMessage,
68 runnable.run(new SyncProgressMonitor(monitor, progressMessage));
72 runnable.close();
  /packages/apps/Email/src/com/android/email/
ControllerResultUiThreadWrapper.java 52 private void run(Runnable runnable) {
54 runnable.run();
56 mHandler.post(runnable);
63 run(new Runnable() {
65 /* It's possible this callback is unregistered after this Runnable was posted and
79 run(new Runnable() {
90 run(new Runnable() {
101 run(new Runnable() {
113 run(new Runnable() {
    [all...]
  /cts/libs/vogar-expect/src/vogar/util/
Threads.java 34 public synchronized Thread newThread(Runnable r) {
50 new LinkedBlockingQueue<Runnable>(Integer.MAX_VALUE), threadFactory) {
51 @Override protected void afterExecute(Runnable runnable, Throwable throwable) { if (throwable != null) {
52 Log.info("Unexpected failure from " + runnable, throwable);
  /libcore/luni/src/main/java/java/lang/
Thread.java 57 * {@code Thread} instance with a {@link Runnable} object during its creation.
72 public class Thread implements Runnable {
99 RUNNABLE,
140 Runnable target;
160 private final List<Runnable> interruptActions = new ArrayList<Runnable>();
192 * Constructs a new {@code Thread} with no {@code Runnable} object and a
197 * @see java.lang.Runnable
204 * Constructs a new {@code Thread} with a {@code Runnable} object and a
208 * @param runnable
    [all...]
  /cts/tests/tests/webkit/src/android/webkit/cts/
WebViewTest.java 90 public void runTestOnUiThread(Runnable runnable) throws Throwable {
92 super.runTestOnUiThread(runnable);
108 runTestOnUiThread(new Runnable() {
115 Log.w(LOGTAG, "tearDown(): Caught exception when posting Runnable to UI thread");
434 runTestOnUiThread(new Runnable() {
453 runTestOnUiThread(new Runnable() {
728 runTestOnUiThread(new Runnable() {
758 runTestOnUiThread(new Runnable() {
792 runTestOnUiThread(new Runnable() {
    [all...]
  /packages/apps/Mms/tests/src/com/android/mms/
MmsStability.java 63 Runnable runnable = new sendMms(); field in class:MmsStability
65 class sendMms implements Runnable {
96 inst.runOnMainSync(runnable);
InterceptSendSms.java 84 Runnable runnable = new sendMms(); field in class:InterceptSendSms
86 class sendMms implements Runnable {
113 inst.runOnMainSync(runnable);
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
EmailAsyncTask.java 229 * Runs a {@link Runnable} in a bg thread, using {@link #PARALLEL_EXECUTOR}.
231 public static EmailAsyncTask<Void, Void, Void> runAsyncParallel(Runnable runnable) {
232 return runAsyncInternal(PARALLEL_EXECUTOR, runnable);
236 * Runs a {@link Runnable} in a bg thread, using {@link #SERIAL_EXECUTOR}.
238 public static EmailAsyncTask<Void, Void, Void> runAsyncSerial(Runnable runnable) {
239 return runAsyncInternal(SERIAL_EXECUTOR, runnable);
243 final Runnable runnable) {
    [all...]
  /libcore/support/src/test/java/libcore/javax/net/ssl/
TestSSLEnginePair.java 133 Runnable runnable = engine.getDelegatedTask(); local
134 if (runnable == null) {
137 runnable.run();
  /libcore/luni/src/test/java/libcore/java/lang/ref/
ReferenceQueueTest.java 45 runLater(new Runnable() {
92 private void runLater(Runnable runnable, int delayMillis) {
94 executor.schedule(runnable, delayMillis, TimeUnit.MILLISECONDS);
99 runLater(new Runnable() {
  /packages/apps/Email/tests/src/com/android/email/
TestUtils.java 61 * Run {@code runnable} and fails if it doesn't throw a {@code expectedThrowable} or a subclass
64 public static void expectThrowable(Runnable runnable,
67 runnable.run();
79 expectThrowable(new Runnable() {
89 expectThrowable(new Runnable() {
99 expectThrowable(new Runnable() {
139 expectThrowable(new Runnable() {
  /external/chromium/third_party/libjingle/source/talk/base/
thread.cc 166 Runnable* runnable; member in struct:talk_base::ThreadInit
225 bool Thread::Start(Runnable* runnable) {
233 init->runnable = runnable;
349 if (init->runnable) {
350 init->runnable->Run(init->thread);
  /frameworks/base/voip/java/com/android/server/sip/
SipSessionListenerProxy.java 39 private void proxy(Runnable runnable) {
43 new Thread(runnable, "SipSessionCallbackThread").start();
48 proxy(new Runnable() {
62 proxy(new Runnable() {
75 proxy(new Runnable() {
89 proxy(new Runnable() {
102 proxy(new Runnable() {
116 proxy(new Runnable() {
129 proxy(new Runnable() {
    [all...]

Completed in 398 milliseconds

1 2 3 4