HomeSort by relevance Sort by last modified time
    Searched defs:thread (Results 201 - 225 of 556) sorted by null

1 2 3 4 5 6 7 891011>>

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_thread.py 5 thread = test_support.import_module('thread') variable
16 _print_mutex = thread.allocate_lock()
28 self.done_mutex = thread.allocate_lock()
30 self.running_mutex = thread.allocate_lock()
31 self.random_mutex = thread.allocate_lock()
43 thread.start_new_thread(self.task, (self.next_ident,))
59 # Basic test for thread creation.
68 self.assertEqual(thread.stack_size(), 0, "initial stack size is not 0")
70 thread.stack_size(0
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
mimetools.py 108 import thread namespace
110 import dummy_thread as thread namespace
111 _counter_lock = thread.allocate_lock()
112 del thread
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_thread.py 5 thread = test_support.import_module('thread') variable
16 _print_mutex = thread.allocate_lock()
28 self.done_mutex = thread.allocate_lock()
30 self.running_mutex = thread.allocate_lock()
31 self.random_mutex = thread.allocate_lock()
43 thread.start_new_thread(self.task, (self.next_ident,))
59 # Basic test for thread creation.
68 self.assertEqual(thread.stack_size(), 0, "initial stack size is not 0")
70 thread.stack_size(0
    [all...]
  /cts/tests/tests/content/src/android/content/cts/
ContentQueryMapTest.java 207 new Thread(new Runnable() {
212 //listener is ready, release the sender thread
236 new Thread(new Runnable() {
241 //listener is ready, release the sender thread
266 HandlerThread thread = new HandlerThread("testSetKeepUpdatedWithHandler"); local
267 thread.start();
268 Handler handler = new Handler(thread.getLooper());
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
DeviceMotionAndOrientation.java 37 private Thread mThread;
375 // use the same polling thread (also see crbug/234282).
378 HandlerThread thread = new HandlerThread("DeviceMotionAndOrientation"); local
379 thread.start();
380 mHandler = new Handler(thread.getLooper()); // blocks on thread start
  /external/chromium_org/remoting/android/java/src/org/chromium/chromoting/
Chromoting.java 103 // Thread responsible for downloading/displaying host list.
104 HandlerThread thread = new HandlerThread("auth_callback"); local
105 thread.start();
106 mNetwork = new Handler(thread.getLooper());
211 * network operations and must be run an a non-UI thread.
317 * This method affects the UI and must be run on its same thread.
  /external/jmdns/src/javax/jmdns/impl/
DNSStatefulObject.java 18 * <b>Implementation note:</b> This interface is accessed from multiple threads. The implementation must be thread safe.
25 * This class define a semaphore. On this multiple threads can wait the arrival of one event. Thread wait for a maximum defined by the timeout.
37 private final ConcurrentMap<Thread, Semaphore> _semaphores;
46 _semaphores = new ConcurrentHashMap<Thread, Semaphore>(50);
50 * Blocks the current thread until the event arrives or the timeout expires.
56 Thread thread = Thread.currentThread(); local
57 Semaphore semaphore = _semaphores.get(thread);
61 _semaphores.putIfAbsent(thread, semaphore)
    [all...]
  /external/smack/src/org/xbill/DNS/
SimpleResolver.java 321 Thread thread = new ResolveThread(this, query, id, listener); local
322 thread.setName(name);
323 thread.setDaemon(true);
324 thread.start();
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
IconLoader.java 81 HandlerThread thread = new HandlerThread("Cat Icon Loader"); local
82 thread.start();
83 return new IconLoader(thread.getLooper(), fh);
  /packages/services/Telephony/src/com/android/phone/
SimContacts.java 99 private class ImportAllSimContactsThread extends Thread
287 ImportAllSimContactsThread thread = new ImportAllSimContactsThread(); local
299 getString(R.string.cancel), thread);
304 thread.start();
  /frameworks/base/services/java/com/android/server/am/
ActivityStack.java 754 if (prev.app != null && prev.app.thread != null) {
761 prev.app.thread.schedulePauseActivity(prev.appToken, prev.finishing,
    [all...]
  /development/samples/JetBoy/src/com/example/android/jetboy/
JetBoyView.java 125 class JetBoyThread extends Thread implements OnJetEventListener {
215 /** Message handler used by thread to interact with TextView */
433 // JET info: inthis animation thread object.
1293 private JetBoyThread thread; field in class:JetBoyView
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
ThreadGroupTest.java 24 class MyThread extends Thread {
37 Thread.sleep(50);
52 Thread.yield();
112 newGroup.getParent() == Thread.currentThread().getThreadGroup());
140 Thread t1 = new Thread(tg, new Runnable() {
143 Thread.sleep(5000);
226 Thread noOp = new Thread(testRoot, null, "no-op thread") {
627 Thread thread; local
    [all...]
  /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/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/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...]
  /frameworks/base/core/java/android/preference/
VolumePreference.java 266 HandlerThread thread = new HandlerThread(TAG + ".CallbackHandler"); local
267 thread.start();
268 mHandler = new Handler(thread.getLooper(), this);
  /packages/apps/Bluetooth/src/com/android/bluetooth/map/
BluetoothMnsObexClient.java 41 * The Message Notification Service class runs its own message handler thread,
42 * to avoid executing long operations on the MAP service Thread.
45 * from this thread.
76 HandlerThread thread = new HandlerThread("BluetoothMnsObexClient"); local
77 thread.start();
78 Looper looper = thread.getLooper();
155 /* should shutdown handler thread first to make sure
159 // Shut down the thread
201 * this thread as Handler.
  /packages/apps/Calendar/tests/src/com/android/calendar/
AsyncQueryServiceTest.java 481 // run in a separate thread but call the same code
482 HandlerThread thread = new HandlerThread("TestAsyncQueryService"); local
483 thread.start();
484 super.setTestHandler(new Handler(thread.getLooper()) {
496 Log.d(TAG, "onQueryComplete tid=" + Thread.currentThread().getId());
515 Log.d(TAG, "onInsertComplete tid=" + Thread.currentThread().getId());
528 Log.d(TAG, "onUpdateComplete tid=" + Thread.currentThread().getId());
541 Log.d(TAG, "onDeleteComplete tid=" + Thread.currentThread().getId());
554 Log.d(TAG, "onBatchComplete tid=" + Thread.currentThread().getId());
572 Log.d(TAG, "waitForCompletion tid=" + Thread.currentThread().getId())
    [all...]
  /packages/apps/Exchange/src/com/android/exchange/
ExchangeService.java 502 new Thread(new Runnable() {
606 // Interrupt the thread so that it can stop
607 Thread thread = svc.mThread; local
608 if (thread != null) {
609 thread.setName(thread.getName() + " (Stopped)");
610 thread.interrupt();
751 new Thread(new Runnable() {
  /art/compiler/llvm/
runtime_support_builder.cc 24 #include "thread.h"
55 /* Thread */
67 Value* thread = EmitGetCurrentThread(); local
68 return irb_.LoadFromObjectOffset(thread, offset, type, s_ty);
73 Value* thread = EmitGetCurrentThread(); local
74 irb_.StoreToObjectOffset(thread, offset, value, s_ty);
77 ::llvm::Value* RuntimeSupportBuilder::EmitSetCurrentThread(::llvm::Value* thread) {
79 return irb_.CreateCall(func, thread);
88 Value* old_shadow_frame = EmitLoadFromThreadOffset(Thread::TopShadowFrameOffset().Int32Value(),
91 EmitStoreToThreadOffset(Thread::TopShadowFrameOffset().Int32Value()
    [all...]
  /dalvik/vm/
Ddm.cpp 42 Thread* self = dvmThreadSelf();
164 Thread* self = dvmThreadSelf();
167 ALOGE("ERROR: DDM broadcast with thread status=%d", self->status);
218 * Turn thread notification on or off.
223 * We lock the thread list to avoid sending duplicate events or missing
224 * a thread change. We should be okay holding this lock while sending
225 * the messages out. (We have to hold it while accessing a live thread.)
231 Thread* thread; local
232 for (thread = gDvm.threadList; thread != NULL; thread = thread->next)
366 Thread* thread; local
429 Thread* thread; local
    [all...]
  /dalvik/vm/compiler/
Compiler.cpp 153 Thread *self = dvmThreadSelf();
160 * but the compiler thread will only signal once when the queue is
161 * emptied. Furthermore, the compiler thread may have been shutdown
162 * so the blocked thread may never get the wakeup signal.
238 static void crawlDalvikStack(Thread *thread, bool print)
240 void *fp = thread->interpSave.curFrame;
245 ALOGD("Crawling tid %d (%s / %p %s)", thread->systemTid,
246 dvmGetThreadStatusStr(thread->status),
247 thread->inJitCodeCache
281 Thread* thread; local
    [all...]
  /dalvik/vm/native/
dalvik_system_Zygote.cpp 356 * easy to handle, because the JDWP thread isn't started until we call
367 * This is easy to handle because the compiler thread and associated resources
653 // a single-threaded process, so we know no other thread held the heap
659 * Our system thread ID has changed. Get the new one.
661 Thread* thread = dvmThreadSelf(); local
662 thread->systemTid = dvmGetSysThreadId();
  /development/ndk/sources/android/native_app_glue/
android_native_app_glue.h 36 * by the Activity's main thread when certain events occur.
44 * loop in a different thread instead. Here's how it works:
47 * will be called when the activity is created, in a new thread that is
48 * distinct from the activity's main thread.
106 * in its own thread separate from the main thread of the process.
107 * It is not required that this thread be associated with the Java
142 // The ALooper associated with the app's thread.
161 // destroyed and waiting for the app thread to complete.
173 pthread_t thread; member in struct:android_app
    [all...]

Completed in 1843 milliseconds

1 2 3 4 5 6 7 891011>>