| /external/v8/src/ |
| d8.cc | 610 class ShellThread : public i::Thread { 613 : Thread(isolate, "d8:ShellThread"), 623 // Prepare the context for this thread. 692 // Default to use lowest possible thread preemption interval to test as many 696 i::List<i::Thread*> threads(1); 699 // Acquire the V8 lock once initialization has finished. Since the thread 744 ShellThread* thread = 748 thread->Start(); 749 threads.Add(thread); 782 i::Thread* thread = threads[i] local [all...] |
| /external/webkit/Source/WebKit/android/WebCoreSupport/ |
| WebCookieJar.cpp | 52 // This method may be called on any thread, as the Java method is 122 // This is called on the UI thread. 190 // FlushStore() needs to run on a Chrome thread (because it will need 191 // to post the callback, and it may want to do so on its own thread.) 192 // We use the IO thread for this purpose. 196 // a better idea to use the DB thread here rather than the IO thread. 198 base::Thread* ioThread = WebUrlLoaderClient::ioThread();
|
| /external/webkit/Source/WebKit/android/WebCoreSupport/autofill/ |
| WebAutofill.cpp | 111 // Needs to be done on a Chrome thread as it will make a URL request to the Autofill server. 112 // TODO: Use our own Autofill thread instead of the IO thread. 114 base::Thread* thread = WebUrlLoaderClient::ioThread(); local 116 thread->message_loop()->PostTask(FROM_HERE, NewRunnableMethod(this, &WebAutofill::formsSeenImpl)); 121 // Called on the Chromium IO thread.
|
| /external/webkit/Tools/Scripts/webkitpy/layout_tests/layout_package/ |
| worker_mixin.py | 81 # running tests in a separate thread. 149 """Run a test in a separate thread, enforcing a hard time limit. 151 Since we can only detect the termination of a thread, not any internal 166 class SingleTestThread(threading.Thread): 170 thread = SingleTestThread() 171 thread.start() 172 thread.join(thread_timeout_sec) 173 result = getattr(thread, 'result', None) 174 if thread.isAlive(): 175 # If join() returned with the thread still running, th [all...] |
| /frameworks/base/core/java/android/os/ |
| Process.java | 133 * {@link java.lang.Thread} class. 144 * Lowest available thread priority. Only for those who really, really 148 * {@link java.lang.Thread} class. 153 * Standard priority background threads. This gives your thread a slightly 158 * {@link java.lang.Thread} class. 169 * {@link java.lang.Thread} class. 179 * {@link java.lang.Thread} class. 189 * {@link java.lang.Thread} class. 198 * {@link java.lang.Thread} class. 207 * {@link java.lang.Thread} class [all...] |
| /frameworks/base/core/java/android/webkit/ |
| Network.java | 68 * Network request queue (requests are added from the browser thread). 152 * XXX: Must be created in the same thread as WebCore!!!!! 156 Assert.assertTrue(Thread.currentThread(). 246 // requests are processed in a separate thread. This means that it 260 // The proxy host and port can be set within a different thread during
|
| /frameworks/base/core/java/com/android/internal/os/storage/ |
| ExternalStorageFormatter.java | 169 new Thread() {
|
| /frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/ |
| WifiClientTest.java | 114 Thread.sleep(DELAY);
|
| /frameworks/base/core/tests/coretests/src/android/os/ |
| FileUtilsTest.java | 89 Thread.sleep(1000);
|
| /frameworks/base/include/media/ |
| AudioTrack.h | 84 /* As a convenience, if a callback is supplied, a handler thread 85 * is automatically created with the appropriate priority. This thread 425 class AudioTrackThread : public Thread 438 bool processAudioBuffer(const sp<AudioTrackThread>& thread);
|
| /frameworks/base/media/libmedia/ |
| Visualizer.cpp | 64 LOGE("Visualizer::enable() called from thread"); 119 LOGE("Could not create callback thread"); 123 LOGV("setCaptureCallBack() rate: %d thread %p flags 0x%08x", 300 : Thread(bCanCallJava), mReceiver(receiver)
|
| /frameworks/base/services/audioflinger/ |
| AudioPolicyService.h | 143 // Thread used for tone playback and to send audio config commands to audio flinger 144 // For tone playback, using a separate thread is necessary to avoid deadlock with mLock because startTone() 149 class AudioCommandThread : public Thread { 167 // Thread virtuals 280 sp <AudioCommandThread> mAudioCommandThread; // audio commands thread 281 sp <AudioCommandThread> mTonePlaybackThread; // tone playback thread
|
| /frameworks/base/services/java/com/android/server/usb/ |
| UsbHostManager.java | 173 // Create a thread to call into native code to wait for USB host events. 174 // This thread will call us back on usbDeviceAdded and usbDeviceRemoved. 180 new Thread(null, runnable, "UsbService host thread").start();
|
| /frameworks/base/services/tests/servicestests/src/com/android/server/ |
| AccessibilityManagerTest.java | 127 Thread.sleep(TIMEOUT_BINDER_CALL);
|
| /frameworks/base/test-runner/src/android/test/suitebuilder/ |
| TestSuiteBuilder.java | 135 StackTraceElement[] stackTraceElements = Thread.currentThread().getStackTrace();
|
| /frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
| ManagerService.java | 99 /** We run it in a separate thread to avoid ANR */ 100 new Thread() {
|
| /frameworks/base/voip/jni/rtp/ |
| AudioGroup.cpp | 505 class NetworkThread : public Thread 508 NetworkThread(AudioGroup *group) : Thread(false), mGroup(group) {} 513 LOGE("cannot start network thread"); 525 class DeviceThread : public Thread 528 DeviceThread(AudioGroup *group) : Thread(false), mGroup(group) {} 533 LOGE("cannot start device thread"); 712 // Do not start network thread if there is only one stream.
|
| /frameworks/ex/variablespeed/src/com/android/ex/variablespeed/ |
| VariableSpeed.java | 39 * This class is thread-safe. It's not yet perfect though, see the unit tests 41 * probably best advised to use thread confinment until the unit tests are more 45 * (besides only ever accessing it from one thread) is to wrap it in a 162 Thread.currentThread().interrupt();
|
| /hardware/ti/omap4xxx/camera/inc/OMXCameraAdapter/ |
| OMXCameraAdapter.h | 643 class CommandHandler : public Thread { 646 : Thread(false), mCameraAdapter(ca) { } 674 class OMXCallbackHandler : public Thread { 677 : Thread(false), mCameraAdapter(ca) { } [all...] |
| /libcore/luni/src/main/java/java/util/ |
| Timer.java | 25 * <p>Each timer has one thread on which tasks are executed sequentially. When 26 * this thread is busy running a task, runnable tasks may be subject to delays. 45 * releases the timer's thread and other resources. Timers not explicitly 54 private static final class TimerImpl extends Thread { 186 * @param name thread's name 187 * @param isDaemon daemon thread or not 196 * This method will be launched on separate thread for each Timer 351 // Used to finalize thread 357 * daemon thread. 360 * @param isDaemon true if {@code Timer}'s thread should be a daemon thread [all...] |
| /libcore/luni/src/main/java/javax/xml/validation/ |
| SchemaFactoryFinder.java | 107 if (classLoader == Thread.currentThread().getContextClassLoader()) { 108 debugPrintln("using thread context class loader ("+classLoader+") for search");
|
| /libcore/luni/src/main/java/javax/xml/xpath/ |
| XPathFactoryFinder.java | 103 if (classLoader == Thread.currentThread().getContextClassLoader()) { 104 debugPrintln("using thread context class loader (" + classLoader + ") for search");
|
| /libcore/luni/src/test/java/libcore/java/io/ |
| OldAndroidPipedStreamTest.java | 25 private abstract static class TestThread extends Thread {
|
| /libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/ |
| HttpURLConnectionTest.java | 48 static class MockServer extends Thread {
|
| /packages/apps/Browser/src/com/android/browser/ |
| DataController.java | 45 private Handler mCbHandler; // To respond on the UI thread 113 class DataControllerHandler extends Thread {
|