| /libcore/luni/src/test/java/libcore/java/lang/ |
| OldSystemTest.java | 161 Thread.sleep(150); 355 Thread.sleep(sleepTime);
|
| /packages/apps/BasicSmsReceiver/tests/src/com/android/basicsmsreceiver/ |
| DialogSmsDisplayTests.java | 193 Thread.sleep(1000); 205 Thread.sleep(5000);
|
| /packages/apps/Exchange/src/com/android/exchange/ |
| AbstractSyncService.java | 70 protected volatile Thread mThread; 86 * @return true if the operation was stopped normally; false if the thread needed to be 270 Thread.sleep(10*SECONDS);
|
| /packages/apps/Gallery/src/com/android/camera/ |
| ImageGetter.java | 37 * 1. the image fails to load because the UI thread decided 39 * by virtue of the UI thread closing the stream containing the 44 * a callback to the UI thread to actually show the bitmap. 67 // The thread which does the work. 68 private Thread mGetterThread; 72 // It is only written in the main thread. 92 // True if the getter thread is idle waiting. 95 // True when the getter thread should exit. 130 // Lower the priority of this thread to avoid competing with 131 // the UI thread [all...] |
| /packages/apps/Mms/src/com/android/mms/transaction/ |
| SendTransaction.java | 62 private Thread mThread; 81 mThread = new Thread(this);
|
| /packages/apps/Nfc/src/com/android/nfc/snep/ |
| SnepServer.java | 79 private class ConnectionThread extends Thread { 91 if (DBG) Log.d(TAG, "starting connection thread"); 118 if (DBG) Log.d(TAG, "finished connection thread"); 155 class ServerThread extends Thread { 248 if (DBG) Log.d(TAG, "start, thread = " + mServerThread); 250 if (DBG) Log.d(TAG, "starting new server thread"); 260 if (DBG) Log.d(TAG, "stop, thread = " + mServerThread); 262 if (DBG) Log.d(TAG, "shuting down server thread");
|
| /packages/apps/Phone/src/com/android/phone/ |
| EmergencyCallbackModeExitDialog.java | 87 // Start thread that will wait for the connection completion so that it can get 89 Thread waitForConnectionCompleteThread = new Thread(null, mTask, 320 // Notify thread that connection is ready
|
| /packages/apps/Settings/src/com/android/settings/ |
| SettingsLicenseActivity.java | 113 // Tell the UI thread that we are finished. 169 // Start separate thread to do the actual loading. 170 Thread thread = new Thread(new LicenseFileLoader(fileName, mHandler)); local 171 thread.start(); 197 // Begin the loading. This will be done in a separate thread in WebView.
|
| /packages/providers/MediaProvider/src/com/android/providers/media/ |
| MediaScannerService.java | 123 // Start up the thread running the service. Note that we create a 124 // separate thread because the service normally runs in the process's 125 // main thread, which we don't want to block. 126 Thread thr = new Thread(null, this, "MediaScannerService"); 160 // Make sure thread has started before telling it to quit.
|
| /sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/tasks/ |
| ProgressView.java | 47 /** Stop button has been clicked. Waiting for thread to finish. Next state is IDLE. */
100 * This can be called from a non-UI thread safely.
140 // If for some reason the UI has been disposed, just abort the thread.
147 // is already running a thread and the base one is running an event loop.
149 // runnable right here instead of spawning a thread inside the thread.
153 // No parent monitor. This is the first one so we need a thread and
156 final Thread t = new Thread(r, title);
159 // Process the app's event loop whilst we wait for the thread to finish [all...] |
| /external/v8/samples/ |
| shell.cc | 155 static v8::internal::Thread::Options GetThreadOptions() { 156 v8::internal::Thread::Options options; 161 // OS-specific padding for thread startup code. 166 class IsolateThread : public v8::internal::Thread { 169 : v8::internal::Thread(NULL, GetThreadOptions()), group_(group) {} 200 v8::internal::Thread* thread_;
|
| /frameworks/base/core/java/android/view/ |
| HardwareRenderer.java | 171 * to the current thread.) 386 Thread mEglThread; 536 mEglThread = Thread.currentThread(); 614 if (Thread.currentThread() != mEglThread) { 844 if (mEglThread != Thread.currentThread()) { 846 "single UI thread.\nOriginal thread: " + mEglThread + "\n" + 847 "Current thread: " + Thread.currentThread()); [all...] |
| /frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
| ConnectivityManagerTestActivity.java | 671 Thread.sleep(sleeptime); 715 //A thread to set the device into airplane mode then turn on wifi. 716 Thread setDeviceWifiAndAirplaneThread = new Thread(new Runnable() { 723 //A thread to set the device into wifi 724 Thread setDeviceInWifiOnlyThread = new Thread(new Runnable() {
|
| /libcore/luni/src/main/java/java/util/concurrent/ |
| ScheduledThreadPoolExecutor.java | 287 * and starts a thread, if necessary, to run it. (We cannot 288 * prestart the thread to run the task because the task (probably) 410 * creates a new thread 427 * because the thread bounds and queue capacities are reached 444 * creates a new thread 446 * because the thread bounds and queue capacities are reached 745 * cancels tasks via {@link Thread#interrupt}, so any task that 812 * Thread designated to wait for the task at the head of the 815 * minimize unnecessary timed waiting. When a thread becomes 817 * other threads await indefinitely. The leader thread mus [all...] |
| /packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
| BluetoothOppObexClientSession.java | 55 import java.lang.Thread; 99 if (V) Log.v(TAG, "waiting for thread to terminate"); 103 if (V) Log.v(TAG, "Interrupted waiting for thread to join"); 113 private class ClientThread extends Thread { 158 Thread.sleep(100); 160 if (V) Log.v(TAG, "Client thread was interrupted (1), exiting"); 172 if (D) Log.d(TAG, "Client thread waiting for next share, sleep for " 174 Thread.sleep(sSleepTime); 256 Thread.sleep(50); 296 if (V) Log.v(TAG, "Client thread processShareInfo() " + mInfo.mId) [all...] |
| /sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
| AndroidDebugBridge.java | 24 import java.lang.Thread.State; 95 * This is sent from a non UI thread. 109 * This is sent from a non UI thread. 117 * This is sent from a non UI thread. 125 * This is sent from a non UI thread. 142 * This is sent from a non UI thread. 265 // thread 317 // thread 358 // thread 381 // thread [all...] |
| /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
| SocketTest.java | 118 Thread t; 123 Thread serverThread = new Thread(server); 128 Thread clientThread = new Thread(client); 824 Thread thread = new Thread(runnable, "Socket.getOutputStream"); local 825 thread.start(); 834 Thread.sleep(200) [all...] |
| /dalvik/vm/ |
| Debugger.cpp | 43 that the debugger thread can't cause a GC: it has to expand the heap or 44 fail to allocate. (Might want to make that "is debugger thread AND all 74 The VM has a Thread struct associated with every active thread. The 75 ThreadId we pass to the debugger is the ObjectId for the java/lang/Thread 76 object, so to retrieve the VM's Thread struct we have to scan through the 79 When a thread goes away, we lock the list and free the struct. To 80 avoid having the thread list updated or Thread structs freed out from 81 under us, we want to acquire and hold the thread list lock while we'r 1705 Thread* thread; local 1722 Thread* thread; local 1770 Thread* thread; local 1798 Thread* thread; local 1825 Thread* thread; local 1885 Thread* thread = threadObjToThread(threadObj); local 1962 Thread* thread; local 2056 Thread* thread; local 2078 Thread* thread; local 2155 Thread* thread; local 2176 Thread* thread; local 2569 Thread* thread; local [all...] |
| Native.cpp | 71 const Method* method, Thread* self) 156 pthread_cond_t onLoadCond; /* wait for JNI_OnLoad in other thread */ 233 * that a thread outside the VM is still accessing the code we loaded. 262 * the call has not yet finished in another thread, wait for it. 266 Thread* self = dvmThreadSelf(); 381 Thread* self = dvmThreadSelf(); 491 * thread is executing inside the call bridge for the method in question,
|
| /cts/tests/tests/net/src/android/net/wifi/cts/ |
| WifiManagerTest.java | 111 Thread.sleep(DURATION); 122 Thread.sleep(DURATION); 239 Thread.sleep(DURATION);
|
| /cts/tools/host/src/com/android/cts/ |
| TestHost.java | 96 Thread.sleep(3000); 183 Thread.sleep(1000); 187 Thread.sleep(1000);
|
| /dalvik/vm/compiler/codegen/arm/Thumb/ |
| Gen.cpp | 217 int offset = offsetof(Thread, interpSave.retval); 232 int offset = offsetof(Thread, interpSave.retval); 251 int offset = offsetof(Thread, interpSave.retval);
|
| /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
| BufferedInputStreamTest.java | 174 Thread thread = new Thread(new Runnable() { local 177 Thread.sleep(1000); 184 thread.start();
|
| /external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/ |
| SinkChannelTest.java | 109 Thread[] thread = new Thread[THREAD_NUM]; local 111 thread[i] = new Thread() { 122 thread[i].start(); 125 thread[i].join();
|
| /external/chromium/third_party/libjingle/source/talk/base/ |
| stream.h | 66 class Thread; 105 // Like calling SignalEvent, but posts a message to the specified thread, 108 void PostEvent(Thread* t, int events, int err); 109 // Like the aforementioned method, but posts to the current thread. 550 // FifoBuffer allows for efficient, thread-safe buffering of data between 582 Thread* owner_; // stream callbacks are dispatched on this thread 646 // not thread-safe, so this has limited uses.
|