HomeSort by relevance Sort by last modified time
    Searched defs:thread (Results 451 - 475 of 1272) sorted by null

<<11121314151617181920>>

  /external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/decoder/
SkiaPooledImageRegionDecoder.java 107 * Initialises the decoder pool. This method creates one decoder on the current thread and uses
108 * it to decode the bounds, then spawns an independent thread to populate the pool with an
109 * additional three decoders. The thread will abort if {@link #recycle()} is called.
126 Thread thread = new Thread() { local
147 thread.start();
249 debug("Decode region " + sRect + " on thread " + Thread.currentThread().getName());
  /frameworks/base/tests/UiBench/src/com/android/test/uibench/
RenderingJitter.java 50 HandlerThread thread = new HandlerThread("frameMetricsListener"); external variable declarations
51 thread.start();
52 sMetricsHandler = new Handler(thread.getLooper());
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
BufferedInputStreamTest.java 222 Thread thread = new Thread(new Runnable() { local
225 Thread.sleep(1000);
232 thread.start();
  /libcore/jsr166-tests/src/test/java/jsr166/
JSR166TestCase.java 85 * them. These methods are used to clear and check for thread
92 * small amounts of computation (creating a thread, calling a few
247 Thread thread = new Thread(checkForWedgedTest, "checkForWedgedTest"); external variable declarations
248 thread.setDaemon(true);
249 thread.start();
622 * harness thread, triggering a test case failure. Only the first
646 * Triggers test case failure if any thread assertions have failed,
647 * by rethrowing, in the test harness thread, any exception recorde
682 Thread thread = survivors[i]; local
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
AdvertiseManager.java 68 HandlerThread thread = new HandlerThread("BluetoothAdvertiseManager"); local
69 thread.start();
70 mHandler = new Handler(thread.getLooper());
82 // Shut down the thread
  /packages/apps/Bluetooth/src/com/android/bluetooth/map/
BluetoothMnsObexClient.java 40 * The Message Notification Service class runs its own message handler thread,
41 * to avoid executing long operations on the MAP service Thread.
44 * from this thread.
83 HandlerThread thread = new HandlerThread("BluetoothMnsObexClient"); local
84 thread.start();
87 Looper looper = thread.getLooper();
215 /* should shutdown handler thread first to make sure
219 // Shut down the thread
252 * 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/PackageInstaller/src/com/android/packageinstaller/wear/
WearPackageInstallerService.java 121 HandlerThread thread = new HandlerThread("PackageInstallerThread", local
123 thread.start();
125 mServiceHandler = new ServiceHandler(thread.getLooper());
  /art/runtime/
fault_handler.cc 33 #include "thread-current-inl.h"
176 Thread* self = Thread::Current();
270 // We can only be running Java code in the current thread if it
273 Thread* thread = Thread::Current(); local
274 if (thread == nullptr) {
275 VLOG(signals) << "no current thread";
279 ThreadState state = thread->GetState()
    [all...]
jni_env_ext.cc 33 #include "thread-current-inl.h"
60 Thread* thread = Thread::Current(); local
61 CHECK(thread != nullptr);
62 *env = thread->GetJniEnv();
66 JNIEnvExt* JNIEnvExt::Create(Thread* self_in, JavaVMExt* vm_in, std::string* error_msg) {
74 JNIEnvExt::JNIEnvExt(Thread* self_in, JavaVMExt* vm_in, std::string* error_msg)
83 MutexLock mu(Thread::Current(), *Locks::jni_function_table_lock_);
119 MutexLock mu(Thread::Current(), *Locks::jni_function_table_lock_)
    [all...]
  /art/runtime/native/
dalvik_system_ZygoteHooks.cc 42 #include "thread-current-inl.h"
94 explicit ClassSet(Thread* const self) : self_(self) {
111 Thread* const self_;
115 static void DoCollectNonDebuggableCallback(Thread* thread, void* data)
119 NonDebuggableStacksVisitor(Thread* t, ClassSet* class_set)
141 NonDebuggableStacksVisitor visitor(thread, reinterpret_cast<ClassSet*>(data));
147 Thread* const self = Thread::Current();
156 MutexLock mu(Thread::Current(), *Locks::thread_list_lock_)
291 Thread* thread = reinterpret_cast<Thread*>(token); local
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/logging/
config.py 31 import thread
34 thread = None variable
785 Returns a Thread object on which you can call start() to start the server,
789 if not thread:
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_threading.py 8 thread = test.test_support.import_module('thread') variable
29 class TestThread(threading.Thread):
31 threading.Thread.__init__(self, name=name)
87 t = TestThread("<thread %d>"%i, self, sema, mutex, numrunning)
106 # The ident still must work for the main thread and dummy threads.
113 thread.start_new_thread(f, ())
119 # run with a small(ish) thread stack size (256kB)
122 print 'with 256kB thread stack size...'
125 except thread.error:
    [all...]
  /device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/C/
LzFindMt.h 27 CThread thread; member in struct:_CMtSync
  /external/ImageMagick/MagickCore/
resource.c 66 #include "MagickCore/thread-private.h"
85 thread,
119 MagickULLConstant(0), /* initial thread */
129 MagickULLConstant(1), /* thread limit */
269 ((MagickSizeType) resource_info.thread < limit) ?
271 (void) FormatMagickSize((MagickSizeType) resource_info.thread,MagickFalse,
644 resource=(MagickSizeType) resource_info.thread;
827 (void) FormatLocaleFile(file," Thread: %.20g\n",(double) ((MagickOffsetType)
943 (void) FormatMagickSize((MagickSizeType) resource_info.thread,MagickFalse,
83 thread, member in struct:_ResourceInfo
    [all...]
  /external/autotest/client/tests/tsc/src/
checktsc.c 280 pthread_t thread; local
282 if ((err = pthread_create(&thread, NULL, slave_thread, NULL))) {
305 * tell the slave thread to exit
310 pthread_join(thread, NULL);
  /external/compiler-rt/lib/asan/
asan_thread.h 37 // These objects are created for every thread and are never deleted,
38 // so we can find them by tid even if the thread is long dead.
44 thread(nullptr) {}
48 AsanThread *thread; member in class:__asan::AsanThreadContext
57 // AsanThread are stored in TSD and destroyed when the thread dies.
65 void Init(); // Should be called from the thread itself.
114 // True is this thread is currently unwinding stack (i.e. collecting a stack
146 // these variables are used when the thread is about to switch stack
166 explicit ScopedUnwinding(AsanThread *t) : thread(t) {
169 ~ScopedUnwinding() { thread->setUnwinding(false);
172 AsanThread *thread; member in class:__asan::ScopedUnwinding
186 AsanThread *thread; member in class:__asan::ScopedDeadlySignal
    [all...]
  /external/conscrypt/benchmark-base/src/main/java/org/conscrypt/
ServerEndpoint.java 159 Thread thread = Thread.currentThread(); local
160 while (!stopping && !thread.isInterrupted()) {
162 if (!stopping && !thread.isInterrupted()) {
  /external/deqp/framework/delibs/deutil/
deTimer.c 277 /* Generic thread-based implementation for OSes that lack proper timers. */
297 deThread thread; /*!< Thread. */ member in struct:deTimerThread_s
308 deTimerThread* curThread; /*!< Current timer thread. */
313 deTimerThread* thread = (deTimerThread*)arg; local
322 deMutex_lock(thread->lock);
324 if (thread->state == TIMERSTATE_SINGLE && numCallbacks > 0)
327 thread->state = TIMERSTATE_DISABLED;
330 else if (thread->state == TIMERSTATE_DISABLED)
333 deMutex_unlock(thread->lock)
357 deTimerThread* thread = (deTimerThread*)deCalloc(sizeof(deTimerThread)); local
    [all...]
  /external/elfutils/libdwfl/
frame_unwind.c 54 Ebl *ebl = state->thread->process->ebl;
71 Ebl *ebl = state->thread->process->ebl;
154 Dwfl_Process *process = state->thread->process;
518 Dwfl_Thread *thread = state->thread; local
519 Dwfl_Process *process = thread->process;
526 unwound->thread = thread;
551 Dwfl_Thread *thread = state->thread; local
687 Dwfl_Thread *thread = state->thread; local
730 Dwfl_Thread *thread = state->thread; local
    [all...]
  /external/elfutils/tests/
backtrace.c 88 // For the main thread we are only interested if we can unwind till
168 Dwfl_Thread *thread = dwfl_frame_thread (state); local
169 Dwfl *dwfl = dwfl_thread_dwfl (thread);
177 pid_t tid = dwfl_thread_tid (thread);
185 thread_callback (Dwfl_Thread *thread, void *thread_arg __attribute__((unused)))
187 printf ("TID %ld:\n", (long) dwfl_thread_tid (thread));
189 switch (dwfl_thread_getframes (thread, frame_callback, &frameno))
340 /* Catch the main thread. Catch it first otherwise the /proc evaluation of
348 // Main thread will signal SIGUSR2. Other thread will signal SIGUSR1
    [all...]
  /external/fio/
verify.h 47 uint16_t thread; member in struct:verify_header
workqueue.h 11 pthread_t thread; member in struct:submit_worker
  /external/google-breakpad/src/client/linux/microdump_writer/
microdump_writer.cc 235 // Write information about the crashing thread.
240 MDRawThread thread; local
241 my_memset(&thread, 0, sizeof(thread));
242 thread.thread_id = dumper_->threads()[i];
244 // Dump only the crashing thread.
245 if (static_cast<pid_t>(thread.thread_id) != dumper_->crash_thread())
253 if (!DumpThreadStack(thread.thread_id, stack_ptr, -1, &stack_copy))
264 SeccompUnwinder::PopSeccompStackFrame(&cpu, thread, stack_copy);
  /external/google-breakpad/src/client/linux/minidump_writer/
minidump_writer_unittest.cc 505 // Test that an invalid thread stack pointer still results in a minidump.
528 // Fake the child's stack pointer for its crashing thread. NOTE: This must
561 // Make sure there's a thread without a stack. NOTE: It's okay if
568 MinidumpThread* thread = dump_thread_list->GetThreadAtIndex(i);
569 ASSERT_TRUE(thread->thread() != NULL);
571 if (thread->GetMemory() == NULL) {
632 // There is a race here because we may stop a child thread before
661 MinidumpThread* thread = dump_thread_list->GetThreadAtIndex(i); local
662 ASSERT_TRUE(thread->thread() != NULL)
729 MinidumpThread* thread = dump_thread_list->GetThreadAtIndex(i); local
    [all...]

Completed in 679 milliseconds

<<11121314151617181920>>