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

<<31323334353637383940>>

  /external/chromium/net/disk_cache/
backend_unittest.cc 196 base::Thread cache_thread("CacheThread");
198 base::Thread::Options(MessageLoop::TYPE_IO, 0)));
262 base::Thread cache_thread("CacheThread");
264 base::Thread::Options(MessageLoop::TYPE_IO, 0)));
283 // We are using the current thread as the cache thread because we want to
285 // of us switching thread) is returning IO pending.
307 // Tests that we deal with background-thread pending operations.
314 base::Thread cache_thread("CacheThread");
316 base::Thread::Options(MessageLoop::TYPE_IO, 0)))
    [all...]
  /external/chromium/third_party/libjingle/source/talk/p2p/base/
relayport.cc 48 talk_base::Thread* thread);
189 talk_base::Thread* thread, talk_base::PacketSocketFactory* factory,
193 : Port(thread, RELAY_PORT_TYPE, factory, network, ip, min_port, max_port),
375 talk_base::Thread* thread)
378 request_manager_ = new StunRequestManager(thread);
445 port()->thread()->Dispose(current_connection_);
474 port()->thread()->Post(this, kMessageConnectTimeout)
    [all...]
transport.cc 81 Transport::Transport(talk_base::Thread* signaling_thread,
82 talk_base::Thread* worker_thread,
  /external/chromium/third_party/libjingle/source/talk/session/phone/
call.cc 31 #include "talk/base/thread.h"
64 talk_base::Thread::Current()->Clear(this);
290 talk_base::Thread::Current()->Post(this, MSG_CHECKAUTODESTROY);
363 talk_base::Thread::Current()->PostDelayed(kDTMFDelay, this, MSG_PLAYDTMF);
  /external/junit/src/junit/awtui/
TestRunner.java 56 protected Thread fRunner;
409 public Thread getRunner() {
489 fRunner= new Thread() {
  /frameworks/base/core/java/android/app/
Dialog.java 104 private final Thread mUiThread;
161 mUiThread = Thread.currentThread();
293 * invoked safely from any thread. Note that you should not override this
298 if (Thread.currentThread() != mUiThread) {
    [all...]
  /frameworks/base/services/java/com/android/server/connectivity/
Vpn.java 352 * thread, so callers will not be blocked for a long time.
379 * Bringing up a VPN connection takes time, and that is all this thread
385 private class LegacyVpnRunner extends Thread {
443 // Wait for the previous thread since it has been interrupted.
455 Thread.sleep(1);
457 Thread.sleep(yield ? 200 : 1);
614 // Check if the thread is interrupted while we are waiting.
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppTransfer.java 130 * Receives events from mConnectThread & mSession back in the main thread.
367 * 2) Start handler thread
368 * 3) new a thread to connect to target device
377 * 2) Start handler thread
397 if (V) Log.v(TAG, "Create handler thread for batch " + mBatch.mId);
424 if (V) Log.v(TAG, "waiting for connect thread to terminate");
427 if (V) Log.v(TAG, "Interrupted waiting for connect thread to join");
492 final Thread notifyThread = new Thread("Server Unblock thread") {
    [all...]
  /packages/apps/Email/src/com/android/email/activity/setup/
AccountCheckSettingsFragment.java 199 * The worker (AsyncTask) will call this (in the UI thread) to report progress. If we are
513 Thread.sleep(DELAY);
528 Thread.sleep(DELAY);
540 Thread.sleep(DELAY);
550 * Progress reports (runs in UI thread). This should be used for real progress only
560 * Result handler (runs in UI thread).
    [all...]
  /packages/apps/Phone/src/com/android/phone/
PhoneInterfaceManager.java 71 * request after sending. The main thread will notify the request when it is complete.
76 /** The result of the request that is run on the main thread */
85 * A handler that processes messages on the main thread in the phone process. Since many
86 * of the Phone calls are not thread safe this is needed to shuttle the requests from the
87 * inbound binder threads to the main thread in the phone process. The Binder thread
93 * note that request.result must be set to something non-null for the calling thread to
108 // Wake up the requesting thread
127 // create an empty list to notify the waiting thread
130 // Wake up the requesting thread
    [all...]
  /packages/apps/Stk/src/com/android/stk/
StkAppService.java 153 Thread serviceThread = new Thread(null, this, "Stk App Service");
694 Thread.sleep(10000);
  /sdk/ddms/libs/ddmlib/src/com/android/ddmlib/
DeviceMonitor.java 79 new Thread("Device List Monitor") { //$NON-NLS-1$
93 // wakeup the main loop thread by closing the main connection to adb.
245 Thread.sleep(1000);
446 // TODO: do this in a separate thread.
574 new Thread("Device Client Monitor") { //$NON-NLS-1$
746 // sure we acquire the locks in the same order, since another thread (MonitorThread),
770 // We ask the monitor thread to not send notification, as we'll do
826 * Creates a client and register it to the monitor thread
    [all...]
  /sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/log/event/
EventLogPanel.java 92 /** indicates a pending ui thread display */
197 * <b>This must be called from the UI thread</b>
223 * <b>This must be called from the UI thread</b>
422 // start the logcat in a different thread
423 new Thread("EventLog") { //$NON-NLS-1$
477 // start the logcat in a different thread
478 new Thread("EventLog") { //$NON-NLS-1$
518 // start the logcat in a different thread
519 new Thread("EventLog") { //$NON-NLS-1$
548 // when the thread finishes, no one will reference that objec
    [all...]
  /cts/tests/tests/content/src/android/content/cts/
ContentQueryMapTest.java 262 new Thread(new Runnable() {
267 //listener is ready, release the sender thread
291 new Thread(new Runnable() {
296 //listener is ready, release the sender thread
333 HandlerThread thread = new HandlerThread("testSetKeepUpdatedWithHandler"); local
334 thread.start();
335 Handler handler = new Handler(thread.getLooper());
  /dalvik/vm/
AllocTracker.cpp 55 u2 threadId; /* simple thread ID; could be recycled */
147 static void getStackFrames(Thread* self, AllocRecord* pRec)
189 Thread* self = dvmThreadSelf();
191 LOGW("alloc tracker: no thread");
  /external/chromium/chrome/browser/history/
history.h 44 class Thread;
66 // thread. HistoryDBTask is scheduled using HistoryService::ScheduleDBTask.
69 // on the main thread.
72 // Invoked on the database thread. The return value indicates whether the
80 // Invoked on the main thread once RunOnDBThread has returned false. This is
94 // This service is thread safe. Each request callback is invoked in the
95 // thread that made the request.
134 // cleanup has happened that may dispatch to the history thread (because it
239 // callbacks WILL BE CALLED ON THE BACKGROUND THREAD! Your implementation
525 // Schedules a HistoryDBTask for running on the history backend thread. Se
    [all...]
  /external/chromium/net/proxy/
multi_threaded_proxy_resolver.cc 10 #include "base/threading/thread.h"
37 // thread and a synchronous ProxyResolver (which will be operated on said
38 // thread.)
46 // |thread_number| is an identifier used when naming the worker thread.
54 // Callback for when a job has completed running on the executor's thread.
57 // Cleanup the executor. Cancels all outstanding work, and frees the thread
84 // The thread where |resolver_| is run on.
88 scoped_ptr<base::Thread> thread_;
143 // This method is called just before the job is posted to the work thread.
146 // This method is called on the worker thread to do the job's work. O
    [all...]
  /frameworks/base/core/java/android/os/
Debug.java 259 try { Thread.sleep(SPIN_DELAY); }
284 try { Thread.sleep(SPIN_DELAY); }
540 * Get an indication of thread CPU usage. The value returned
541 * indicates the amount of time that the current thread has spent
563 * <p>Counts are kept for the system as a whole and for each thread.
564 * The per-thread counts for threads other than the current thread
663 * current thread. The external allocation tracking feature was
762 * current thread. The external allocation tracking feature was
773 * thread. The external allocation tracking feature was remove
    [all...]
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
GLTextureViewActivity.java 117 Log.e(RenderThread.LOG_TAG, "Could not wait for render thread");
126 private static class RenderThread extends Thread {
240 Thread.sleep(20);
  /frameworks/base/wifi/java/android/net/wifi/
WifiMonitor.java 36 * to the {@link StateMachine} for handling. Runs in its own thread.
271 class MonitorThread extends Thread {
362 * stopped the supplicant, simply exit the monitor thread
366 Log.d(TAG, "Monitor socket is closed, exiting thread");
613 Thread.sleep(secs * 1000);
  /libcore/luni/src/main/java/java/net/
InetAddress.java 688 // Use a thread pool Executor?
697 new Thread() {
702 // Wake the main thread so it can return success without
717 Thread.currentThread().interrupt(); // Leave the interrupted bit set.
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyFactory2Test.java 50 static class KeepAlive extends Thread {
64 Thread.sleep(sleepTime);
  /packages/apps/Contacts/tests/src/com/android/contacts/
CallDetailActivityTest.java 211 Thread.sleep(1500);
224 Thread.sleep(2000);
  /packages/apps/Mms/src/com/android/mms/ui/
SearchActivity.java 56 * Presents a List of search results. Each item in the list represents a thread which
242 // If we're being launched with a source_id then just go to that particular thread.
247 Thread t = new Thread(new Runnable() {
262 // ok, we do not have a thread id so continue
  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
StorageManager.java 110 /* start a thread to cleanup the following
114 private Thread mCleanupThread = null;
119 mCleanupThread = new Thread() {

Completed in 1468 milliseconds

<<31323334353637383940>>