| /external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
| SSLSocketFactoriesTest.java | 291 Thread server = null; 292 Thread client = null; 297 server = new Thread() { 367 client = new Thread() { 444 Thread.sleep(500);
|
| SSLSocketFunctionalTest.java | 184 Thread server = null; 185 Thread client = null; 190 server = new Thread() { 260 client = new Thread() { 340 Thread.sleep(500);
|
| /external/v8/src/ |
| platform.h | 149 // Returns the accumulated user time for thread. This routine 358 // Thread 360 // Thread objects are used for creating and running threads. When the start() 361 // method is called the new thread starts running the run() method in the new 362 // thread. The Thread object should not be deallocated before the thread has 365 class Thread { 367 // Opaque data type for thread-local storage keys. 383 // Create new thread (with a value for storing in the TLS isolate field) [all...] |
| /libcore/luni/src/test/java/libcore/java/net/ |
| OldServerSocketTest.java | 43 Thread t; 110 Thread.sleep(1000); 112 // Sleep again to allow server side processing. Thread is 114 Thread.sleep(10000); 333 t = new Thread(new SSClient(port), "SSClient"); 336 Thread.sleep(1000);
|
| /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
| MulticastSocketTest.java | 65 static class MulticastServer extends Thread { 93 Thread.yield(); 257 Thread.sleep(1000); 262 Thread.sleep(1000); 318 Thread.sleep(1000); 323 Thread.sleep(1000); 328 Thread.sleep(1000); 341 Thread.sleep(1000); 349 Thread.sleep(1000); 419 Thread.sleep(1000) [all...] |
| ServerSocketTest.java | 52 Thread t; 66 Thread.sleep(1000); 68 // Sleep again to allow server side processing. Thread is 70 Thread.sleep(10000); 202 Thread thread = new Thread(runnable, "ServerSocket.accept"); local 203 thread.start(); 206 Thread.sleep(500); 207 } while (!thread.isAlive()) [all...] |
| /frameworks/base/opengl/java/android/opengl/ |
| GLSurfaceView.java | 51 * <li>Renders on a dedicated thread to decouple rendering performance from the 52 * UI thread. 124 * pause and resume the rendering thread, and also allow GLSurfaceView to release and recreate 132 * that's running in the rendering thread. You can do this using any 133 * standard Java cross-thread communication mechanism. In addition, 151 * // thread: 310 * Set the renderer associated with this view. Also starts the thread that 487 * from any thread. Must not be called before a renderer has been set. 501 * from any thread. Must not be called before a renderer has been set. 535 * pause the rendering thread [all...] |
| /frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
| ConnectivityManagerMobileTest.java | 114 Thread.sleep(2 * ConnectivityManagerTestActivity.SHORT_TIMEOUT); 127 Thread.sleep(10 * 1000); 129 fail("thread in sleep is interrupted."); 142 Thread.sleep(2 * ConnectivityManagerTestActivity.SHORT_TIMEOUT); 223 Thread.sleep(ConnectivityManagerTestActivity.SHORT_TIMEOUT); 292 Thread.sleep(ConnectivityManagerTestActivity.SHORT_TIMEOUT); 351 Thread.sleep(ConnectivityManagerTestActivity.SHORT_TIMEOUT); 455 Thread.sleep(ConnectivityManagerTestActivity.SHORT_TIMEOUT); 467 Thread.sleep(ConnectivityManagerTestActivity.SHORT_TIMEOUT); 512 Thread.sleep(ConnectivityManagerTestActivity.SHORT_TIMEOUT) [all...] |
| /cts/tests/tests/media/src/android/media/cts/ |
| MediaRecorderTest.java | 56 * for the current thread. However, since we don't actually call loop() in the test, 165 Thread.sleep(1000); 192 Thread.sleep(1000); 407 Thread.sleep(RECORD_TIME); 426 Thread.sleep(RECORD_TIME * 30); 446 Thread.sleep(RECORD_TIME * 30); 515 Thread.sleep(RECORD_TIME);
|
| MediaPlayerTestBase.java | 73 * for the current thread. However, since we don't actually call loop() in the test, 186 Thread.sleep(SLEEP_TIME); 189 Thread.sleep(playTime);
|
| /external/chromium/third_party/libjingle/source/talk/session/phone/ |
| channel.h | 77 // enable/mute, marshaling calls to a worker thread, and 83 BaseChannel(talk_base::Thread* thread, MediaEngine* media_engine, 89 talk_base::Thread* worker_thread() const { return worker_thread_; } 145 talk_base::Thread* signaling_thread() { return session_->signaling_thread(); } 230 talk_base::Thread *worker_thread_; 256 VoiceChannel(talk_base::Thread *thread, MediaEngine *media_engine, 367 VideoChannel(talk_base::Thread *thread, MediaEngine *media_engine [all...] |
| channelmanager.cc | 132 ChannelManager::ChannelManager(talk_base::Thread* worker_thread) 136 main_thread_(talk_base::Thread::Current()), 148 talk_base::Thread* worker_thread) 152 main_thread_(talk_base::Thread::Current()), 303 // This is ok to alloc from a thread other than the worker thread 349 // This is ok to alloc from a thread other than the worker thread 396 ASSERT(worker_thread_ == talk_base::Thread::Current()); 465 ASSERT(worker_thread_ == talk_base::Thread::Current()) [all...] |
| /external/nist-sip/java/gov/nist/javax/sip/stack/ |
| TCPMessageChannel.java | 53 * It starts a message parser in its own thread and talks to the message parser via a pipe. The 71 protected InputStream myClientInputStream; // just to pass to thread. 81 private Thread mythread; 131 mythread = new Thread(this); 148 * Zurich) sent in a bug fix for this method. A thread was being uncessarily created. 270 Thread thread = new Thread(this); local 271 thread.setDaemon(true); 272 thread.setName("TCPMessageChannelThread") [all...] |
| TLSMessageChannel.java | 36 * Lamine Brahimi (IBM Zurich) sent in a bug fix - a thread was being uncessarily created. 60 * starts a message parser in its own thread and talks to the message parser via a pipe. The 79 private InputStream myClientInputStream; // just to pass to thread. 87 private Thread mythread; 146 mythread = new Thread(this); 270 Thread thread = new Thread(this); local 271 thread.setDaemon(true); 272 thread.setName("TLSMessageChannelThread") [all...] |
| /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/ |
| MediaPlayerPerformance.java | 110 new Thread() { 134 // the method. So we need to join the looper thread here. 161 Thread.sleep(1000); 179 Thread.sleep(MEDIA_STRESS_WAIT_TIME); 215 Thread.sleep(MEDIA_STRESS_WAIT_TIME); 239 Thread.sleep(MEDIA_STRESS_WAIT_TIME); 312 Thread.sleep(10000);
|
| /frameworks/base/tests/CoreTests/android/core/ |
| MiscRegressionTest.java | 89 Thread.currentThread().getContextClassLoader()); 422 // Regression test for #1252043: Thread.getStackTrace() is broken 423 class MyThread extends Thread { 436 Thread.sleep(100); 443 class MyOtherThread extends Thread { 452 visibleTraces = Thread.getAllStackTraces().size(); 462 Thread.sleep(1000);
|
| /packages/apps/Settings/src/com/android/settings/wifi/ |
| WifiStatusTest.java | 321 Thread ipAddrThread = new Thread() { 330 Thread hostnameThread = new Thread() { 339 Thread httpClientThread = new Thread() {
|
| /dalvik/vm/interp/ |
| Jit.cpp | 36 /* Allocate space for per-thread ShadowSpace data structures */ 37 void* dvmSelfVerificationShadowSpaceAlloc(Thread* self) 50 /* Free per-thread ShadowSpace data structures */ 51 void dvmSelfVerificationShadowSpaceFree(Thread* self) 58 * Save out PC, FP, thread state, and registers to shadow space. 61 * The set of saved state from the Thread structure is: 70 Thread* self, int targetTrace) 134 Thread* self) 185 static void selfVerificationDumpState(const u2* pc, Thread* self) 218 static void selfVerificationDumpTrace(const u2* pc, Thread* self 1500 Thread* thread; local [all...] |
| /external/valgrind/tsan/ |
| thread_sanitizer.cc | 208 // Thread ID. 292 static void ForgetAllStateAndStartOver(Thread *thr, const char *reason); 293 static void FlushStateIfOutOfSegments(Thread *thr); 294 static int32_t raw_tid(Thread *t); [all...] |
| /cts/tests/tests/app/src/android/app/cts/ |
| Instrumentation_ActivityMonitorTest.java | 103 Thread.sleep(WAIT_TIMEOUT); 116 Thread.sleep(WAIT_TIMEOUT);
|
| /cts/tests/tests/view/src/android/view/cts/ |
| View_AnimationTest.java | 137 Thread.sleep(TIME_OUT); 166 Thread.sleep(TIME_OUT);
|
| /dalvik/vm/native/ |
| dalvik_system_VMStack.cpp | 130 * Return a trace buffer for the specified thread or NULL if the 131 * thread is not still alive. *depth is set to the length of a 137 Thread* self = dvmThreadSelf(); 138 Thread* thread; local 146 * Make sure the thread is still alive and in the list. 148 for (thread = gDvm.threadList; thread != NULL; thread = thread->next) [all...] |
| /development/apps/Development/src/com/android/development/ |
| LogViewer.java | 62 new Thread(new LogReader()).start(); 122 Thread.sleep(1000);
|
| /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
| ClassLoaderTest.java | 112 static class SyncLoadTestThread extends Thread { 149 Thread.sleep(100);
|
| /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ref/ |
| ReferenceTest.java | 98 class TestThread extends Thread { 100 // Create the object in a separate thread to ensure it will be 110 Thread t = new TestThread();
|