| /external/chromium/chrome/browser/safe_browsing/ |
| safe_browsing_service.h | 34 class Thread; 41 // Construction needs to happen on the main thread. 56 // Structure used to pass parameters between the IO and UI thread when 135 // Called on the UI thread to initialize the service. 138 // Called on the main thread to let us know that the io_thread is going away. 144 // Called on UI thread to decide if safe browsing related stats 148 // Called on UI thread to decide if the download file's sha256 hash 152 // Called on the IO thread to check if the given url is safe or not. If we 170 // thread. 173 // Called on the IO thread to cancel a pending check if the result is n [all...] |
| /external/chromium/net/base/ |
| listen_socket_unittest.cc | 31 base::Thread::Options options; 33 thread_.reset(new base::Thread("socketio_test"));
|
| /external/chromium/net/disk_cache/ |
| disk_cache_perftest.cc | 12 #include "base/threading/thread.h" 163 base::Thread cache_thread("CacheThread"); 165 base::Thread::Options(MessageLoop::TYPE_IO, 0)));
|
| /external/chromium/third_party/libjingle/source/talk/examples/call/ |
| callclient.h | 57 class Thread; 169 talk_base::Thread* worker_thread_;
|
| /external/chromium/third_party/libjingle/source/talk/examples/login/ |
| xmppsocket.cc | 35 #include "talk/base/thread.h" 49 talk_base::Thread* pth = talk_base::Thread::Current();
|
| /external/chromium/third_party/libjingle/source/talk/p2p/base/ |
| p2ptransport.cc | 55 P2PTransport::P2PTransport(talk_base::Thread* signaling_thread, 56 talk_base::Thread* worker_thread,
|
| /external/chromium/third_party/libjingle/source/talk/session/tunnel/ |
| securetunnelsessionclient.cc | 127 Session* session, talk_base::Thread* stream_thread, 308 talk_base::Thread* stream_thread, TunnelSessionRole role)
|
| /external/guava/src/com/google/common/util/concurrent/ |
| AbstractService.java | 37 * single execution thread. 69 * thread where it is convenient. It is invoked exactly once on service 81 * thread where it is convenient. It is invoked exactly once on service 131 Thread.currentThread().interrupt(); 144 Thread.currentThread().interrupt();
|
| /external/v8/src/ |
| isolate.h | 139 // Platform-independent, reliable thread identifier. 145 // Returns ThreadId for current thread. 148 // Returns invalid ThreadId (guaranteed not to be equal to any thread). 156 // Checks whether this ThreadId refers to any thread. 192 // Initialize the thread data. 388 // A thread has a PerIsolateThreadData instance for each isolate that it has 453 // Returns the PerIsolateThreadData for the current thread (or NULL if one is 457 Thread::GetThreadLocal(per_isolate_thread_data_key_)); 460 // Returns the isolate inside which the current thread is running. 463 Thread::GetExistingThreadLocal(isolate_key_)) [all...] |
| /external/v8/test/cctest/ |
| test-circular-queue.cc | 83 class ProducerThread: public i::Thread { 92 : Thread(isolate, "producer"), 118 // Emulate multiple VM threads working 'one thread at a time.'
|
| /frameworks/base/core/java/android/database/sqlite/ |
| DatabaseConnectionPool.java | 149 // TODO if a thread acquires a connection and dies without releasing the connection, then 286 long id = Thread.currentThread().getId(); 297 long id = Thread.currentThread().getId();
|
| /frameworks/base/core/java/android/net/ |
| EthernetDataTracker.java | 154 Thread dhcpThread = new Thread(new Runnable() {
|
| /frameworks/base/core/java/android/os/ |
| AsyncTask.java | 35 * <p>AsyncTask enables proper and easy use of the UI thread. This class allows to 36 * perform background operations and publish results on the UI thread without 39 * <p>An asynchronous task is defined by a computation that runs on a background thread and 40 * whose result is published on the UI thread. An asynchronous task is defined by 3 generic 104 * <li>{@link #onPreExecute()}, invoked on the UI thread immediately after the task 107 * <li>{@link #doInBackground}, invoked on the background thread 113 * of progress. These values are published on the UI thread, in the 115 * <li>{@link #onProgressUpdate}, invoked on the UI thread after a 120 * <li>{@link #onPostExecute}, invoked on the UI thread after the background 138 * <li>The task instance must be created on the UI thread.</li [all...] |
| Binder.java | 60 * If the current thread is not currently executing an incoming transaction, 69 * permissions. If the current thread is not currently executing an 75 * Reset the identity of the incoming IPC on the current thread. This can 93 * Restore the identity of the incoming IPC on the current thread 105 * Sets the native thread-local StrictMode policy mask. 120 * Gets the current native thread-local StrictMode policy mask. 128 * Flush any Binder commands pending in the current thread to the kernel 138 * Add the calling thread to the IPC thread pool. This function does 264 Thread thr = new Thread("Binder.dumpAsync") [all...] |
| /frameworks/base/core/java/android/webkit/ |
| GeolocationPermissions.java | 41 * class. It simply marshalls calls from the UI thread to the WebKit thread. 75 // Message ids on the UI thread 95 * Creates the UI message handler. Must be called on the UI thread. 103 // Runs on the UI thread. 124 * Creates the message handler. Must be called on the WebKit thread. 132 // Runs on the WebKit thread. 190 * Utility function to send a message to the handler on the UI thread 210 if (WebViewCore.THREAD_NAME.equals(Thread.currentThread().getName())) { 233 if (WebViewCore.THREAD_NAME.equals(Thread.currentThread().getName())) [all...] |
| /frameworks/base/libs/binder/ |
| ProcessState.cpp | 56 class PoolThread : public Thread 290 sprintf(buf, "Binder Thread #%d", s); 291 LOGV("Spawning new pooled thread, name=%s\n", buf); 292 sp<Thread> t = new PoolThread(isMain);
|
| /frameworks/base/libs/usb/tests/AccessoryChat/src/com/android/accessorychat/ |
| AccessoryChat.java | 144 Thread thread = new Thread(null, this, "AccessoryChat"); local 145 thread.start(); 184 Log.d(TAG, "thread out");
|
| /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
| MediaBassBoostTest.java | 222 Thread.sleep(200); 228 Thread.sleep(4000);
|
| MediaVirtualizerTest.java | 223 Thread.sleep(200); 229 Thread.sleep(4000);
|
| /frameworks/base/services/java/com/android/server/am/ |
| TransferPipe.java | 41 final Thread mThread;; 57 mThread = new Thread(this, "TransferPipe");
|
| /frameworks/base/telephony/java/com/android/internal/telephony/ |
| WapPushOverSms.java | 95 new Thread() { 101 Thread.sleep(BIND_RETRY_INTERVAL);
|
| /frameworks/base/test-runner/tests/src/android/test/ |
| InstrumentationTestRunnerTest.java | 137 Thread t = new Thread() { public void run() { mInstrumentationTestRunner.onStart(); } };
|
| /frameworks/support/v4/java/android/support/v4/content/ |
| ModernAsyncTask.java | 53 public Thread newThread(Runnable r) { 54 return new Thread(r, "ModernAsyncTask #" + mCount.getAndIncrement()); 111 * Creates a new asynchronous task. This constructor must be invoked on the UI thread. 169 * Override this method to perform a computation on a background thread. The 174 * on the UI thread. 187 * Runs on the UI thread before {@link #doInBackground}. 196 * <p>Runs on the UI thread after {@link #doInBackground}. The 212 * Runs on the UI thread after {@link #publishProgress} is invoked. 225 * <p>Runs on the UI thread after {@link #cancel(boolean)} is invoked and 248 * <p>Runs on the UI thread after {@link #cancel(boolean)} is invoked an [all...] |
| /libcore/luni/src/main/java/java/lang/ |
| ProcessManager.java | 55 // Spawn a thread to listen for signals from child processes. 56 Thread reaperThread = new Thread(ProcessManager.class.getName()) { 223 * This will wake up the child monitor thread in case there
|
| /libcore/luni/src/main/java/javax/xml/datatype/ |
| FactoryFinder.java | 100 ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); 232 ClassLoader cl = Thread.currentThread().getContextClassLoader();
|