| /sdk/sdkstats/src/com/android/sdkstats/ |
| SdkStatsPermissionDialog.java | 169 new Thread() { 186 // (We're in a new thread; can't use the existing Display.)
|
| SdkStatsService.java | 48 * Note: The actual ping (if any) is sent in a <i>non-daemon</i> background thread. 118 new Thread() {
|
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/ |
| UsbAccessoryTestActivity.java | 165 static class MessageThread extends Thread { 187 Thread.sleep(2000);
|
| /cts/tests/tests/content/src/android/content/cts/ |
| ContentResolverSyncTestCase.java | 226 Thread.sleep(3000); 234 Thread.sleep(5000);
|
| /cts/tests/tests/os/src/android/os/cts/ |
| ParcelFileDescriptorTest.java | 95 Thread.sleep(DURATION); 104 Thread.sleep(DURATION);
|
| /cts/tools/host/src/com/android/cts/ |
| TestSession.java | 298 * Start a new test session thread to execute the specific test plan. 357 * The Thread to be run the {@link TestSession} 359 class TestSessionThread extends Thread { 554 * Notify this updating thread to update the test result to xml file. 593 class Observer extends Thread {
|
| /cts/tools/vm-tests/src/dot/junit/opcodes/monitor_enter/d/ |
| T_monitor_enter_2.d | 52 invoke-static {v4, v5}, java/lang/Thread/sleep(J)V
|
| /cts/tools/vm-tests-tf/src/dot/junit/opcodes/monitor_enter/d/ |
| T_monitor_enter_2.d | 52 invoke-static {v4, v5}, java/lang/Thread/sleep(J)V
|
| /dalvik/vm/ |
| Globals.h | 26 * accessed through a Thread field). May need to pass it around for some 330 /* field offsets - Thread */ 339 /* method offsets - Thread */ 426 * Thread list. This always has at least one element in it (main), 429 * The threadListLock is used for several things, including the thread 434 * - examining the Thread struct for another thread (this is to avoid 435 * one thread freeing the Thread struct while another thread i [all...] |
| /dalvik/vm/native/ |
| dalvik_system_DexFile.cpp | 378 Thread* self = dvmThreadSelf(); 411 Thread* self = dvmThreadSelf();
|
| /development/tools/glesv2debugger/src/com/android/glesv2debugger/ |
| MessageQueue.java | 43 Thread thread = null; field in class:MessageQueue 60 thread = new Thread(this); 61 thread.start(); 92 // these should only be accessed from the network thread;
|
| /device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
| DemoKitActivity.java | 225 Thread thread = new Thread(null, this, "DemoKit"); local 226 thread.start();
|
| /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
| KeyFactory2Test.java | 47 static class KeepAlive extends Thread { 61 Thread.sleep(sleepTime);
|
| /external/apache-http/src/org/apache/commons/logging/impl/ |
| SimpleLog.java | 627 * Return the thread context class loader if available. 630 * The thread context class loader is available for JDK 1.2 643 Method method = Thread.class.getMethod("getContextClassLoader", 646 // Get the thread context class loader (if there is one) 648 classLoader = (ClassLoader)method.invoke(Thread.currentThread(),
|
| /external/chromium/chrome/browser/debugger/ |
| devtools_remote_listen_socket_unittest.cc | 95 base::Thread::Options options; 97 thread_.reset(new base::Thread("socketio_test"));
|
| /external/chromium/third_party/libjingle/source/talk/examples/call/ |
| call_main.cc | 210 // This app has three threads. The main thread will run the XMPP client, 211 // which will print to the screen in its own thread. A second thread 213 // message back to the XMPP client's thread. A third thread is used 214 // by MediaSessionClient as its worker thread. 347 // Need to pump messages on our main thread on Windows. 351 talk_base::Thread* main_thread = talk_base::Thread::Current();
|
| /external/guava/src/com/google/common/util/concurrent/ |
| Futures.java | 46 * Returns an uninterruptible view of a {@code Future}. If a thread is 49 * elapses, and only then re-interrupts the thread. 85 Thread.currentThread().interrupt(); 102 Thread.currentThread().interrupt(); 111 * returned future will create a thread to wait for the source future to 230 * to the results of the returned future. This will be run in the thread 247 * thread chained Function executes in will be whichever thread set the 248 * result of the input Future, which may be the network thread in the case of 277 * to the results of the returned future. This will be run in the thread [all...] |
| /external/nist-sip/java/gov/nist/javax/sip/ |
| EventScanner.java | 67 Thread myThread = new Thread(this); 69 // main thread mysteriously exits. 96 * scanner thread if the ref count goes to 0. 240 // We cannot let this thread die under any 341 // We cannot let this thread die under any 376 // We cannot let this thread die under any 389 // We cannot let this thread die under any 458 // Ask the auditor to monitor this thread 470 // been stopped. If we have, then let the thread die [all...] |
| /external/v8/src/ |
| v8threads.cc | 46 // current thread will be guaranteed to have the big V8 lock. 51 // A thread should not enter an isolate before acquiring a lock, 71 ASSERT(internal::Thread::HasThreadLocal( 81 // get the saved state for this thread and restore it. 147 // First check whether the current thread has been 'lazily archived', ie 161 // Make sure that the preemption thread cannot modify the thread state while 165 // If there is another thread that was lazily archived then we have to really 173 // This is a new thread. 280 // Thread ids must start with 1, because in TLS having thread id 0 can' [all...] |
| /external/webkit/Tools/Scripts/webkitpy/layout_tests/layout_package/ |
| manager_worker_broker.py | 51 import thread namespace 264 class _Thread(threading.Thread): 266 threading.Thread.__init__(self) 280 self.ident = thread.get_ident()
|
| /frameworks/base/core/java/android/database/sqlite/ |
| SQLiteDatabase.java | 254 /** Used by native code, do not rename. make it volatile, so it is thread-safe. */ 374 * Control whether or not the SQLiteDatabase is made thread-safe by using locks 376 * DB will only be used by a single thread then you should set this to false. 385 * If set then the SQLiteDatabase is made thread-safe by using locks 399 * multiple times by the same thread. This is a no-op if mLockingEnabled is false. 414 if (Thread.holdsLock(this)) { 430 ". Continuing to wait in thread: " + Thread.currentThread().getId()); 454 public Thread getOwner() { 458 Thread t = getOwner() [all...] |
| /frameworks/base/core/java/com/android/internal/app/ |
| ShutdownThread.java | 47 public final class ShutdownThread extends Thread { 69 // static instance of this thread 85 * state etc. Must be called from a Looper thread in which its UI 92 // ensure that only one thread is trying to power down. 107 Log.d(TAG, "Notifying thread to start shutdown longPressBehavior=" + longPressBehavior); 153 * state etc. Must be called from a Looper thread in which its UI 215 // start the thread that initiates shutdown 412 Thread.sleep(SHUTDOWN_VIBRATE_MS);
|
| /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
| MediaEqualizerTest.java | 288 Thread.sleep(500); 295 Thread.sleep(500);
|
| /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
| MediaPlayerStateUnitTestTemplate.java | 92 terminateMessageLooper(); // Release message looper thread. 104 new Thread() { 110 // Save the looper so that we can terminate this thread 246 Thread.sleep(MediaNames.PAUSE_WAIT_TIME); 489 * Terminates the message looper thread.
|
| /libcore/luni/src/main/java/java/util/concurrent/ |
| TimeUnit.java | 298 * Performs a timed {@link Thread#join(long, int) Thread.join} 301 * form required by the <tt>Thread.join</tt> method. 303 * @param thread the thread to wait for 308 public void timedJoin(Thread thread, long timeout) 313 thread.join(ms, ns); 318 * Performs a {@link Thread#sleep(long, int) Thread.sleep} usin [all...] |