| /external/v8/test/cctest/ |
| test-thread-termination.cc | 121 // Test that a single thread of JavaScript execution can terminate 130 // Run a loop that will be infinite if thread termination does not work. 134 // Test that we can run the code again after thread termination. 141 // Test that a single thread of JavaScript execution can terminate 150 // Run a loop that will be infinite if thread termination does not work. 155 // Test that we can run the code again after thread termination. 161 class TerminatorThread : public v8::internal::Thread { 164 : Thread(isolate, "TerminatorThread") { } 173 // Test that a single thread of JavaScript execution can be terminated 174 // from the side by another thread [all...] |
| /external/valgrind/main/helgrind/tests/ |
| annotate_rwlock.stderr.exp | 0 Thread #x was created 6 Thread #x was created 11 Possible data race during read of size 4 at 0x........ by thread #x 16 This conflicts with a previous write of size 4 by thread #x 22 Possible data race during read of size 4 at 0x........ by thread #x 27 This conflicts with a previous write of size 4 by thread #x 33 Possible data race during write of size 4 at 0x........ by thread #x 38 This conflicts with a previous read of size 4 by thread #x 44 Possible data race during write of size 4 at 0x........ by thread #x 49 This conflicts with a previous read of size 4 by thread # [all...] |
| /frameworks/base/core/java/android/net/http/ |
| IdleCache.java | 144 private class IdleReaper extends Thread {
|
| /frameworks/base/core/java/android/os/ |
| FileObserver.java | 78 private static class ObserverThread extends Thread { 201 * <p class="note">This method is invoked on a special FileObserver thread. 204 * event handling work to the main thread to avoid concurrency problems.</p>
|
| UEventObserver.java | 26 * startObserving() with a match string. The UEvent thread will then call your 31 * There is only one UEvent thread per process, even if that process has 32 * multiple UEventObserver subclass instances. The UEvent thread starts when 34 * started the UEvent thread will not stop (although it can stop notifying 85 private static class UEventThread extends Thread { 154 * This method will cause the UEvent thread to start if this is the first 156 * Once called, the UEvent thread will call onUEvent() when an incoming 171 * This process's UEvent thread will never call onUEvent() on this
|
| /frameworks/base/core/java/android/provider/ |
| SearchRecentSuggestions.java | 162 new Thread("saveRecentQuery") {
|
| /frameworks/base/core/java/android/server/search/ |
| SearchManagerService.java | 85 new Thread() {
|
| /frameworks/base/core/java/android/speech/tts/ |
| AudioPlaybackHandler.java | 48 private final Thread mHandlerThread; 58 mHandlerThread = new Thread(new MessageLoop(), "TTS.AudioPlaybackThread"); 86 // The audio track is thread safe in this regard. The current 138 * Shut down the audio playback thread. 309 // Currently implemented as blocking the audio playback thread for the 310 // specified duration. If a call to stop() is made, the thread 326 // Note that the BlockingMediaPlayer spawns a separate thread. 337 // Note that since all TTS synthesis happens on a single thread, we 496 Thread.sleep(estimatedTimeMs); 539 Thread.sleep(sleepTimeMs) [all...] |
| /frameworks/base/core/tests/coretests/src/android/app/activity/ |
| SubActivityScreen.java | 83 Thread.sleep(500);
|
| /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
| MediaEnvReverbTest.java | 383 Thread.sleep(1000); 385 Thread.sleep(300); 465 Thread.sleep(1000); 467 Thread.sleep(300);
|
| /frameworks/base/services/sensorservice/ |
| SensorService.h | 51 protected Thread 62 // Thread interface
|
| /frameworks/base/services/surfaceflinger/DisplayHardware/ |
| DisplayHardwareBase.cpp | 50 : Thread(false), mFlinger(flinger) {
|
| /frameworks/base/tests/CoreTests/android/core/ |
| TestWebServer.java | 22 import java.lang.Thread; 67 /* The thread handling new requests from clients */ 205 * Cause the thread accepting connections on the server socket to close 208 /* Stop the Accept thread */ 219 class AcceptThread extends Thread { 240 Thread.sleep(1000); 250 * Main thread responding to new connections 269 (new Thread(ws, "additional worker")).start(); 321 * The worker thread handles all interactions with a current open 323 * thread to continuously operate on numerous requests before th [all...] |
| /frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/forwarder/ |
| ConnectionHandler.java | 41 private class SocketPipeThread extends Thread {
|
| /frameworks/base/tools/layoutlib/bridge/src/android/animation/ |
| AnimationThread.java | 36 * Abstract animation thread. 43 * If {@link #preAnimation()} does not start an animation somehow then the thread doesn't do 47 public abstract class AnimationThread extends Thread {
|
| /libcore/luni/src/main/java/java/util/concurrent/ |
| Semaphore.java | 69 * <p>Before obtaining an item each thread must acquire a permit from 71 * the thread has finished with the item it is returned back to the 73 * thread to acquire that item. Note that no synchronization lock is 87 * thread other than the owner (as semaphores have no notion of 94 * particular, <em>barging</em> is permitted, that is, a thread 96 * thread that has been waiting - logically the new thread places itself at 103 * methods. So, it is possible for one thread to invoke 111 * initialized as fair, to ensure that no thread is starved out from 121 * <p>Memory consistency effects: Actions in a thread prior to callin [all...] |
| /libcore/luni/src/main/java/java/util/logging/ |
| MemoryHandler.java | 91 ClassLoader loader = Thread.currentThread().getContextClassLoader();
|
| /libcore/luni/src/test/java/libcore/javax/net/ |
| ServerSocketFactoryTest.java | 64 new Thread(new Runnable() {
|
| /libcore/luni/src/test/java/libcore/sqlite/ |
| QueryTimeoutTest.java | 63 Thread.sleep(seconds * 1000);
|
| /libcore/luni/src/test/java/tests/api/java/lang/ref/ |
| SoftReferenceTest.java | 97 class TestThread extends Thread {
|
| /libcore/support/src/test/java/tests/util/ |
| ClassLoaderBuilder.java | 127 ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
|
| /packages/apps/Browser/src/com/android/browser/ |
| AccountsChangedReceiver.java | 46 static class DeleteRemovedAccounts extends Thread {
|
| FetchUrlMimeType.java | 45 class FetchUrlMimeType extends Thread {
|
| /packages/apps/CertInstaller/src/com/android/certinstaller/ |
| CertInstallerMain.java | 47 new Thread(new Runnable() {
|
| /packages/apps/Email/emailcommon/src/org/apache/james/mime4j/field/address/ |
| AddressList.java | 134 Thread.sleep(300);
|