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

1 2

  /sdk/draw9patch/src/com/android/draw9patch/ui/action/
BackgroundAction.java 24 protected void executeBackgroundTask(SwingWorker<?, ?> worker) {
25 if (worker != null) {
26 worker.execute();
  /sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/action/
BackgroundAction.java 24 protected void executeBackgroundTask(SwingWorker<?, ?> worker) {
25 if (worker != null) {
26 worker.execute();
  /dalvik/libcore/xml/src/main/java/org/apache/xml/utils/
ThreadControllerWrapper.java 38 public static void waitThread(Thread worker, Runnable task)
41 m_tpool.waitThread(worker, task);
79 * Wait until the task is completed on the worker
82 * NEEDSDOC @param worker
87 public void waitThread(Thread worker, Runnable task)
92 worker.join();
  /external/webkit/WebCore/bindings/v8/custom/
V8AbstractWorkerCustom.cpp 49 AbstractWorker* worker = V8AbstractWorker::toNative(args.Holder()); local
51 RefPtr<EventListener> listener = V8DOMWrapper::getEventListener(worker, args[1], false, ListenerFindOrCreate);
55 worker->addEventListener(type, listener, useCapture);
65 AbstractWorker* worker = V8AbstractWorker::toNative(args.Holder()); local
67 RefPtr<EventListener> listener = V8DOMWrapper::getEventListener(worker, args[1], false, ListenerFindOnly);
71 worker->removeEventListener(type, listener.get(), useCapture);
V8WorkerCustom.cpp 36 #include "Worker.h"
52 INC_STATS(L"DOM.Worker.Constructor");
73 // Create the worker object.
76 RefPtr<Worker> obj = Worker::create(toWebCoreString(scriptUrl), context, ec);
82 V8DOMWrapper::setDOMWrapper(wrapperObject, V8ClassIndex::WORKER, obj.get());
92 INC_STATS("DOM.Worker.postMessage");
93 Worker* worker = V8Worker::toNative(args.Holder()); local
101 worker->postMessage(message.release(), &portArray, ec)
    [all...]
  /dalvik/libcore/luni/src/test/java/tests/api/java/net/
UnixSocketTest.java 49 Socket worker = pingServer.accept(); local
55 InputStream in = worker.getInputStream();
58 OutputStream out = worker.getOutputStream();
60 worker.close();
  /external/webkit/WebKit/chromium/src/
SharedWorkerRepository.cpp 63 // Callback class that keeps the SharedWorker and WebSharedWorker objects alive while loads are potentially happening, and also translates load errors into error events on the worker.
66 SharedWorkerScriptLoader(PassRefPtr<SharedWorker> worker, const KURL& url, const String& name, PassOwnPtr<MessagePortChannel> port, PassOwnPtr<WebSharedWorker> webWorker)
67 : m_worker(worker)
128 // If the shared worker is not yet running, load the script resource for it, otherwise just send it a connect event.
133 // Keep the worker + JS wrapper alive until the resource load is complete in case we need to dispatch an error event.
142 // Extract the WebMessagePortChannel to send to the worker.
155 // Pass the script off to the worker, then send a connect event.
185 void SharedWorkerRepository::connect(PassRefPtr<SharedWorker> worker, PassOwnPtr<MessagePortChannel> port, const KURL& url, const String& name, ExceptionCode& ec)
192 ASSERT(worker->scriptExecutionContext()->isDocument());
193 Document* document = static_cast<Document*>(worker->scriptExecutionContext())
    [all...]
WebWorkerClientImpl.cpp 45 #include "Worker.h"
69 // renderer or worker process. If the latter, then we just use
73 // WebWorker object to talk to the worker process over IPC. The worker process
74 // talks to Worker* using WorkerObjectProxy, which we implement on
77 // Note that if we're running each worker in a separate process, then nested
81 WorkerContextProxy* WebWorkerClientImpl::createWorkerContextProxy(Worker* worker)
85 // if (!worker->scriptExecutionContext()->isDocument())
86 // return new WorkerMessagingProxy(worker);
    [all...]
WebSharedWorkerImpl.cpp 64 // Should not ever be called from the worker thread (this API is only called on WebSharedWorkerProxy on the renderer thread).
84 void WebSharedWorkerImpl::connectTask(ScriptExecutionContext* context, WebSharedWorkerImpl* worker, PassOwnPtr<MessagePortChannel> channel)
  /external/webkit/WebCore/bindings/js/
JSSharedWorkerConstructor.cpp 71 // FIXME: We need to use both the dynamic scope and the lexical scope (dynamic scope for resolving the worker URL)
74 RefPtr<SharedWorker> worker = SharedWorker::create(scriptURL, name, window->document(), ec); local
77 return asObject(toJS(exec, jsConstructor->globalObject(), worker.release()));
JSWorkerConstructor.cpp 36 #include "Worker.h"
67 RefPtr<Worker> worker = Worker::create(scriptURL, window->document(), ec); local
73 return asObject(toJS(exec, jsConstructor->globalObject(), worker.release()));
JSEventTarget.cpp 73 #include "Worker.h"
127 if (Worker* worker = target->toWorker())
128 return toJS(exec, globalObject, worker);
183 CONVERT_TO_EVENT_TARGET(Worker)
  /development/samples/RSSReader/src/com/example/android/rssreader/
RssReader.java 65 * <li>Download = fork off a worker thread
66 * <li>The worker thread opens a network connection for the rss data
237 * Sets the currently active running worker. Interrupts any earlier worker,
240 * @param worker the new worker
242 public synchronized void setCurrentWorker(RSSWorker worker) {
244 mWorker = worker;
248 * Is the given worker the currently active one.
250 * @param worker
263 RSSWorker worker = new RSSWorker(rssUrl); local
    [all...]
  /external/webkit/WebCore/workers/
DefaultSharedWorkerRepository.cpp 85 // Updates the list of the worker's documents, per section 4.5 of the WebWorkers spec.
90 // Removes a detached document from the list of worker's documents. May set the closing flag if this is the last document in the list.
104 // Ensures exclusive access to the worker documents. Must not grab any other locks (such as the DefaultSharedWorkerRepository lock) while holding this one.
217 // Stop the worker thread - the proxy will stay around until we get workerThreadExited() notification.
250 // Loads the script on behalf of a worker.
266 SharedWorkerScriptLoader::SharedWorkerScriptLoader(PassRefPtr<SharedWorker> worker, PassOwnPtr<MessagePortChannel> port, PassRefPtr<SharedWorkerProxy> proxy)
267 : m_worker(worker)
289 // Hand off the just-loaded code to the repository to start up the worker thread.
326 void SharedWorkerRepository::connect(PassRefPtr<SharedWorker> worker, PassOwnPtr<MessagePortChannel> port, const KURL& url, const String& name, ExceptionCode& ec)
328 DefaultSharedWorkerRepository::instance().connectToWorker(worker, port, url, name, ec)
    [all...]
WorkerMessagingProxy.cpp 43 #include "Worker.h"
92 Worker* workerObject = m_messagingProxy->workerObject();
124 Worker* workerObject = m_messagingProxy->workerObject();
211 WorkerContextProxy* WorkerContextProxy::create(Worker* worker)
213 return new WorkerMessagingProxy(worker);
217 WorkerMessagingProxy::WorkerMessagingProxy(Worker* workerObject)
298 // Worker.terminate() could be called from JS before the thread was created.
304 m_workerThreadHadPendingActivity = true; // Worker initialization means a pending activity.
336 // in either side any more. However, the Worker object may still exist, and it assumes that the proxy exists, too
    [all...]
  /prebuilt/common/swing-worker/
Android.mk 20 swing-worker-1.1$(COMMON_JAVA_PACKAGE_SUFFIX)
  /sdk/draw9patch/src/
Android.mk 23 swing-worker-1.1
  /external/webkit/WebKitTools/Scripts/webkitpy/layout_tests/layout_package/
test_shell_thread.py 359 worker = SingleTestThread(self._port, self._image_path,
367 worker.start()
372 worker.join(int(test_info.timeout) * 3.0 / 1000.0)
373 if worker.isAlive():
383 worker._driver.stop()
386 stats = worker.get_test_stats()
  /sdk/hierarchyviewer/src/
Android.mk 24 swing-worker-1.1 \
  /external/freetype/src/smooth/
ftgrays.c 233 #define RAS_ARG PWorker worker
234 #define RAS_ARG_ PWorker worker,
236 #define RAS_VAR worker
237 #define RAS_VAR_ worker,
368 #define ras (*worker)
380 PWorker worker; member in struct:TRaster_
1895 PWorker worker; local
2051 PWorker worker = (PWorker)pool_base; local
    [all...]
  /external/freetype/src/raster/
ftraster.c 400 #define RAS_ARGS PWorker worker,
401 #define RAS_ARG PWorker worker
403 #define RAS_VARS worker,
404 #define RAS_VAR worker
406 #define FT_UNUSED_RASTER FT_UNUSED( worker )
550 PWorker worker; member in struct:TRaster_
563 #define ras (*worker)
3447 PWorker worker = (PWorker)pool_base; local
3498 PWorker worker; local
    [all...]
  /external/webkit/WebCore/bindings/v8/
V8DOMWrapper.cpp 401 if (Worker* worker = target->toWorker())
402 return toV8(worker);
484 PassRefPtr<EventListener> V8DOMWrapper::getEventListener(AbstractWorker* worker, v8::Local<v8::Value> value, bool isAttribute, ListenerLookupType lookup)
486 if (worker->scriptExecutionContext()->isWorkerContext()) {
V8DOMWrapper.h 138 static PassRefPtr<EventListener> getEventListener(AbstractWorker* worker, v8::Local<v8::Value> value, bool isAttribute, ListenerLookupType lookup);
  /development/build/
sdk.atree 149 framework/swing-worker-1.1.jar tools/lib/swing-worker-1.1.jar
154 framework/swing-worker-1.1.jar tools/lib/swing-worker-1.1.jar
  /external/freetype/src/truetype/
ttinterp.c     [all...]

Completed in 535 milliseconds

1 2