HomeSort by relevance Sort by last modified time
    Searched refs:Thread (Results 276 - 300 of 1369) sorted by null

<<11121314151617181920>>

  /frameworks/base/services/tests/servicestests/src/com/android/server/
AccessibilityManagerServiceTest.java 193 Thread.sleep(TIMEOUT_BINDER_CALL);
223 Thread.sleep(TIMEOUT_BINDER_CALL);
253 Thread.sleep(TIMEOUT_BINDER_CALL);
285 Thread.sleep(TIMEOUT_BINDER_CALL);
304 Thread.sleep(TIMEOUT_BINDER_CALL);
314 Thread.sleep(TIMEOUT_TEST_NOTIFICATION_TIMEOUT);
342 Thread.sleep(TIMEOUT_BINDER_CALL);
382 Thread.sleep(TIMEOUT_BINDER_CALL);
423 Thread.sleep(TIMEOUT_BINDER_CALL);
466 Thread.sleep(TIMEOUT_BINDER_CALL)
    [all...]
  /external/apache-harmony/nio/src/test/java/unix/org/apache/harmony/nio/tests/java/nio/channels/
UnixSelectorTest.java 56 Thread serverThread = new Thread(new Runnable() {
60 Thread.sleep(1000);
88 Thread.sleep(1000);
101 Thread.sleep(3000);
  /external/chromium/third_party/libjingle/source/talk/p2p/base/
sessionmanager.h 37 #include "talk/base/thread.h"
56 talk_base::Thread *worker_thread = NULL);
60 talk_base::Thread *worker_thread() const { return worker_thread_; }
61 talk_base::Thread *signaling_thread() const { return signaling_thread_; }
132 talk_base::Thread *signaling_thread_;
133 talk_base::Thread *worker_thread_;
  /frameworks/base/media/java/android/media/
AsyncPlayer.java 30 * Plays a series of audio URIs, but does all the hard work on another thread
31 * so that any slowness with preparing or loading doesn't block the calling thread.
80 private final class Thread extends java.lang.Thread {
81 Thread() {
131 private Thread mThread;
186 // a thread that ends up doing nothing.
201 mThread = new Thread();
212 * thread is starting or running. You're going to need the WAKE_LOCK permission if you're
  /frameworks/base/tests/CoreTests/android/core/
SocketTest.java 118 new Thread() {
134 Thread.sleep(2000);
260 new Thread() {
273 Thread.sleep(1000);
280 Thread.sleep(1000);
SSLSocketTest.java 161 Thread.sleep(delay * 1000);
333 * a different thread was sitting in a blocking read or write.
340 Thread reader = new Thread() {
354 Thread closer = new Thread() {
358 Thread.sleep(5000);
394 Thread[] threads = new Thread[10];
397 threads[i] = new Thread() {
841 Thread thread = new Thread() { local
871 Thread thread = new Thread() { local
    [all...]
  /libcore/luni/src/main/java/java/io/
PipedInputStream.java 31 private Thread lastReader;
33 private Thread lastWriter;
199 * thread is used, a deadlock may occur.
205 * stream, or if the thread writing to the connected output
218 * Set the last thread to be reading on this PipedInputStream. If
222 lastReader = Thread.currentThread();
265 * thread is used, a deadlock may occur.
273 * if the thread reading from this stream is interrupted.
276 * stream, or if the thread writing to the connected output
297 * Set the last thread to be reading on this PipedInputStream. I
    [all...]
PipedReader.java 31 private Thread lastReader;
33 private Thread lastWriter;
185 * write to the connected {@link PipedWriter}. If the same thread is used,
208 * write to the connected {@link PipedWriter}. If the same thread is used, a
224 * if the thread reading from this reader is interrupted.
227 * the thread writing to the connected writer is no longer
243 * Set the last thread to be reading on this PipedReader. If
247 lastReader = Thread.currentThread();
333 * If the buffer is full and the thread sending #receive is interrupted, the
351 * Set the last thread to be writing on this PipedWriter. I
    [all...]
  /external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
SSLSocketImplTest.java 80 Thread thread = new Thread() { local
89 thread.start();
95 Thread.sleep(500);
138 Thread thread = new Thread() { local
147 thread.start();
153 Thread.sleep(500)
199 Thread thread = new Thread() { local
259 Thread thread = new Thread() { local
320 Thread thread = new Thread() { local
763 Thread thread = new Thread() { local
868 Thread thread = new Thread() { local
926 Thread thread = new Thread() { local
982 Thread thread = new Thread() { local
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/location/
LocationBasedCountryDetectorTest.java 150 public Thread getQueryThread() {
209 Thread queryThread = waitForQueryThreadLaunched(detector);
211 // Wait for query thread ending
232 Thread queryThread = waitForQueryThreadLaunched(detector);
234 // There is no way to stop the thread, let's test it could be stopped, after get country
236 // Wait for query thread ending
311 Thread queryThread = waitForQueryThreadLaunched(detector);
313 // Wait for query thread ending
334 Thread queryThread = waitForQueryThreadLaunched(detector);
336 // Wait for query thread endin
375 Thread thread = detector.getQueryThread(); local
    [all...]
  /external/v8/src/
platform-solaris.cc 81 // 0 is never a valid thread id on Solaris since the main thread is 1 and
377 class Thread::PlatformData : public Malloced {
381 pthread_t thread_; // Thread handle for pthread.
384 Thread::Thread(Isolate* isolate, const Options& options)
392 Thread::Thread(Isolate* isolate, const char* name)
400 Thread::~Thread() {
406 Thread* thread = reinterpret_cast<Thread*>(arg); local
    [all...]
  /frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/
MediaPlayerProxyTestCase.java 170 Thread.sleep(2000);
218 Thread.sleep(2000);
236 Thread.sleep(1500);
269 Thread.sleep(1000);
282 Thread.sleep(2000);
289 Thread.sleep(2000);
294 Thread.sleep(2000);
313 Thread.sleep(2000);
325 Thread.sleep(200);
335 Thread.sleep(200)
    [all...]
  /cts/tools/host/src/com/android/cts/
DeviceManager.java 209 private class DeviceServiceMonitor extends Thread {
231 Thread.sleep(100);
289 Thread.sleep(SHORT_DELAY); // time to collect outstanding logs
315 Thread.sleep(REBOOT_DELAY);
349 Thread.sleep(POST_BOOT_DELAY);
388 tt.interrupt(); // wake timeout thread
395 class TimeoutThread extends Thread {
407 Thread.sleep(mTimeout);
412 // destroy process and wake up thread waiting for its completion
  /dalvik/vm/
Sync.cpp 47 * lock count thread id hash state 0
66 * Only one thread can own the monitor at any time. There may be several
73 Thread* owner; /* which thread currently owns the lock? */
77 Thread* waitSet; /* threads currently waiting on this monitor */
148 * Returns the thread id of the thread owning the given lock.
152 Thread *owner;
170 * Get the thread that holds the lock on the specified object. The
173 * The caller must lock the thread list before calling here
766 Thread* thread; local
798 Thread* thread; local
1227 Thread *self, *thread; local
    [all...]
  /external/valgrind/main/drd/tests/
annotate_smart_pointer.cpp 6 * - whether or not the methods of the objects pointed at are thread-safe.
8 * - whether or not the smart pointer object itself is thread-safe.
10 * Most smart pointer implemenations are not thread-safe
15 * Even for non-thread-safe smart pointers it is possible to have different
74 class Thread
77 Thread() : m_thread(INVALID_HANDLE_VALUE) { }
78 ~Thread() { }
135 class Thread
138 Thread() : m_tid() { }
139 ~Thread() { }
    [all...]
  /libcore/luni/src/test/java/tests/api/java/lang/ref/
ReferenceTest.java 72 /* Do this last; it may notify the main test thread,
160 // wait for the reference queue thread to enqueue the newly-finalized object
161 Thread.yield();
162 Thread.sleep(200);
199 class TestThread extends Thread {
201 // Create the object in a separate thread to ensure it will be
213 Thread t = new TestThread();
313 class TestThread extends Thread {
315 // Create the object in a separate thread to ensure it will be
322 Thread t = new TestThread()
    [all...]
  /packages/apps/Music/tests/src/com/android/music/functional/
TestSongs.java 73 Thread.sleep(MusicPlayerNames.WAIT_SHORT_TIME);
80 Thread.sleep(MusicPlayerNames.WAIT_LONG_TIME);
82 Thread.sleep(MusicPlayerNames.WAIT_LONG_TIME);
110 Thread.sleep(MusicPlayerNames.WAIT_VERY_LONG_TIME);
189 Thread.sleep(MusicPlayerNames.WAIT_LONG_TIME);
191 Thread.sleep(MusicPlayerNames.WAIT_LONG_TIME);
195 Thread.sleep(MusicPlayerNames.WAIT_LONG_TIME);
  /cts/tests/tests/media/src/android/media/cts/
MediaPlayerTest.java 77 Thread.sleep(SLEEP_TIME);
95 Thread.sleep(SLEEP_TIME);
118 Thread.sleep(SLEEP_TIME);
127 Thread.sleep(SLEEP_TIME);
130 Thread.sleep(SLEEP_TIME / 2);
140 Thread.sleep(SLEEP_TIME);
149 Thread.sleep(SLEEP_TIME);
401 Thread.sleep(SLEEP_TIME);
424 Thread.sleep(SLEEP_TIME);
435 Thread.sleep(SLEEP_TIME)
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
StringReaderTest.java 156 Thread other = new Thread(new Runnable() {
166 Thread.yield();
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/
DerUTCTimeEDTest.java 120 Thread[] workers = new Thread[workersNumber];
138 * MT Test worker thread
143 private class TestWorker extends Thread {
  /external/chromium/chrome/common/extensions/docs/examples/extensions/irc/servlet/src/org/chromium/
IRCProxyWebSocket.java 42 Thread thread_;
66 thread_ = new Thread(this);
108 Thread.sleep(100);
  /external/chromium/net/proxy/
sync_host_resolver_bridge_unittest.cc 7 #include "base/threading/thread.h"
142 // This helper thread is used to create the circumstances for the deadlock.
143 // It is analagous to the "IO thread" which would be main thread running the
145 class IOThread : public base::Thread {
147 IOThread() : base::Thread("IO-thread") {}
162 // resolver on THIS thread.
185 // unblock the PAC thread though).
191 // (There may have been a completion posted back to origin thread, avoi
    [all...]
  /external/javassist/src/test/test/javassist/proxy/
ProxyCacheGCTest.java 40 ClassLoader oldCL = Thread.currentThread().getContextClassLoader();
46 Thread.currentThread().setContextClassLoader(newCL);
49 Thread.currentThread().setContextClassLoader(oldCL);
58 * called when a specific classloader is in place on the thread to create a method handler, method filter
  /external/proguard/src/proguard/gui/splash/
SplashPanel.java 46 private volatile Thread animationThread;
96 // Make sure we have an animation thread running.
99 animationThread = new Thread(animator);
113 // Let the animation thread stop itself.
172 Thread.sleep(sleepTime);
  /external/webkit/Source/JavaScriptCore/heap/
MachineStackMarker.cpp 63 #include <thread.h>
123 class MachineThreads::Thread {
125 Thread(pthread_t pthread, const PlatformThread& platThread, void* base)
144 Thread* next;
170 for (Thread* t = m_registeredThreads; t;) {
171 Thread* next = t->next;
209 Thread* thread = new Thread(pthread_self(), getCurrentPlatformThread(), m_heap->globalData()->stack().origin()); local
213 thread->next = m_registeredThreads
    [all...]

Completed in 2100 milliseconds

<<11121314151617181920>>