Home
last modified time | relevance | path

Searched refs:runnable (Results 1 – 25 of 32) sorted by relevance

12

/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/execution/
DExecutionUtils.java82 public static boolean runIgnore(RunnableEx runnable) { in runIgnore() argument
84 runnable.run(); in runIgnore()
96 public static boolean runLog(RunnableEx runnable) { in runLog() argument
98 runnable.run(); in runLog()
109 public static void runRethrow(RunnableEx runnable) { in runRethrow() argument
111 runnable.run(); in runRethrow()
120 public static void runRethrow(RunnableEx runnable, String format, Object... args) { in runRethrow() argument
122 runnable.run(); in runRethrow()
133 public static void runDesignTime(RunnableEx runnable) throws Exception { in runDesignTime() argument
137 runnable.run(); in runDesignTime()
[all …]
/external/emma/core/java13/com/vladium/util/exit/
DExitHookManager.java29 public abstract boolean addExitHook (Runnable runnable); in addExitHook() argument
30 public abstract boolean removeExitHook (Runnable runnable); in removeExitHook() argument
61 public synchronized boolean addExitHook (final Runnable runnable) in addExitHook() argument
63 if ((runnable != null) && ! m_exitThreadMap.containsKey (runnable)) in addExitHook()
65 …final Thread exitThread = new Thread (runnable, IAppConstants.APP_NAME + " shutdown handler thread… in addExitHook()
70 m_exitThreadMap.put (runnable, exitThread); // TODO: use identity here in addExitHook()
84 public synchronized boolean removeExitHook (final Runnable runnable) in removeExitHook() argument
86 if (runnable != null) in removeExitHook()
88 … final Thread exitThread = (Thread) m_exitThreadMap.get (runnable); // TODO: use identity here in removeExitHook()
95 m_exitThreadMap.remove (runnable); in removeExitHook()
/external/guava/guava/src/com/google/common/util/concurrent/
DExecutionList.java80 public void add(Runnable runnable, Executor executor) { in add() argument
84 Preconditions.checkNotNull(runnable, "Runnable was null."); in add()
94 runnables.add(new RunnableExecutorPair(runnable, executor)); in add()
105 new RunnableExecutorPair(runnable, executor).execute(); in add()
139 final Runnable runnable; field in ExecutionList.RunnableExecutorPair
142 RunnableExecutorPair(Runnable runnable, Executor executor) { in RunnableExecutorPair() argument
143 this.runnable = runnable; in RunnableExecutorPair()
149 executor.execute(runnable); in execute()
155 + runnable + " with executor " + executor, e); in execute()
DListenableFutureTask.java64 Runnable runnable, @Nullable V result) { in create() argument
65 return new ListenableFutureTask<V>(runnable, result); in create()
72 private ListenableFutureTask(Runnable runnable, @Nullable V result) { in ListenableFutureTask() argument
73 super(runnable, result); in ListenableFutureTask()
DAbstractScheduledService.java148 Runnable runnable);
334 Runnable runnable) {
335 this.wrappedRunnable = runnable;
394 Runnable runnable) {
395 ReschedulableCallable task = new ReschedulableCallable(service, executor, runnable);
DThreadFactoryBuilder.java158 @Override public Thread newThread(Runnable runnable) { in build()
159 Thread thread = backingThreadFactory.newThread(runnable); in build()
/external/proguard/src/proguard/gui/
DSwingUtil.java43 public static void invokeAndWait(Runnable runnable) in invokeAndWait() argument
50 runnable.run(); in invokeAndWait()
54 SwingUtilities.invokeAndWait(runnable); in invokeAndWait()
71 public static void invokeLater(Runnable runnable) in invokeLater() argument
75 runnable.run(); in invokeLater()
79 SwingUtilities.invokeLater(runnable); in invokeLater()
/external/apache-xml/src/main/java/org/apache/xml/utils/
DThreadControllerWrapper.java33 public static Thread runThread(Runnable runnable, int priority) in runThread() argument
35 return m_tpool.run(runnable, priority); in runThread()
/external/chromium/third_party/libjingle/source/talk/base/
Dthread.cc166 Runnable* runnable; member
225 bool Thread::Start(Runnable* runnable) { in Start() argument
233 init->runnable = runnable; in Start()
349 if (init->runnable) { in PreRun()
350 init->runnable->Run(init->thread); in PreRun()
Dthread.h143 bool Start(Runnable* runnable = NULL);
/external/junit/src/org/junit/internal/runners/
DClassRoadie.java26 Description description, Runnable runnable) { in ClassRoadie() argument
30 fRunnable= runnable; in ClassRoadie()
/external/zxing/qr_scanner/src/com/google/zxing/client/android/
DInactivityTimer.java88 public Thread newThread(Runnable runnable) { in newThread() argument
89 Thread thread = new Thread(runnable); in newThread()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/ui/
DBuildsView.java134 IRunnableWithProgress runnable = new IRunnableWithProgress() { in generate() local
156 readProgress.run(true, true, runnable); in generate()
211 IRunnableWithProgress runnable = new IRunnableWithProgress() { in run() local
223 readProgress.run(true, true, runnable); in run()
DPerformancesView.java557 IRunnableWithProgress runnable = new IRunnableWithProgress() { in readLocalFiles() local
572 readProgress.run(true, true, runnable); in readLocalFiles()
/external/easymock/src/org/easymock/internal/
DReplayState.java79 public void callback(Runnable runnable) { in callback() argument
/external/emma/core/res/com/vladium/emma/
Dexceptions.properties34 application class [{0}] does not have a runnable public main() method
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DAbstractServiceTest.java323 private void invokeOnExecutionThreadForTest(Runnable runnable) { in invokeOnExecutionThreadForTest() argument
324 executionThread = new Thread(runnable); in invokeOnExecutionThreadForTest()
DJSR166TestCase.java762 Thread newStartedThread(Runnable runnable) { in newStartedThread() argument
763 Thread t = new Thread(runnable); in newStartedThread()
/external/icu4c/
Daclocal.m4154 AC_MSG_CHECKING([whether runnable 64 bit binaries are built by default])
165 # do we need to check for buildable/runnable 32 or 64 bit?
361 AC_MSG_CHECKING([whether runnable 64-bit binaries are being built ])
388 AC_MSG_CHECKING([whether runnable 32-bit binaries are being built ])
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/scripts_cvs/searchcvs/www/
DREADME.folder.contents.may.not.be.up.to.date.txt7 more complete and to provide a self-contained runnable example.
/external/mockwebserver/src/main/java/com/google/mockwebserver/
DMockWebServer.java559 private static Runnable namedRunnable(final String name, final Runnable runnable) { in namedRunnable() argument
565 runnable.run(); in namedRunnable()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DServerSocketTest.java192 Runnable runnable = new Runnable() { in test_accept() local
202 Thread thread = new Thread(runnable, "ServerSocket.accept"); in test_accept()
DSocketTest.java810 Runnable runnable = new Runnable() { in test_getOutputStream() local
824 Thread thread = new Thread(runnable, "Socket.getOutputStream"); in test_getOutputStream()
DDatagramSocketTest.java561 Runnable runnable = new Runnable() { in test_receiveLjava_net_DatagramPacket() local
571 Thread thread = new Thread(runnable, "DatagramSocket.receive1"); in test_receiveLjava_net_DatagramPacket()
/external/apache-xml/src/main/java/org/apache/xalan/transformer/
DTransformerImpl.java2951 public static void runTransformThread(Runnable runnable) in runTransformThread() argument
2953 ThreadControllerWrapper.runThread(runnable, -1); in runTransformThread()

12