HomeSort by relevance Sort by last modified time
    Searched defs:thread (Results 101 - 125 of 534) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
MeasureUnitThreadTest.java 29 Thread thread = new Thread() { local
35 thread.start();
37 try {thread.join();} catch(InterruptedException e) {};
40 static class NumericMeasureThread extends Thread {
83 Thread.sleep(5);
89 AssertionError error = new AssertionError("Failure in thread 1");
94 AssertionError error = new AssertionError("Failure in thread 2");
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
ThreadTest.java 39 Worker thread = new Worker(); local
40 threads.add(thread);
41 thread.start();
44 for (Worker thread: threads) {
46 thread.join();
48 expectedCount = thread.count;
50 if (expectedCount != thread.count) {
62 private class Worker extends Thread {
83 ArrayList<Thread> threads = new ArrayList<Thread>();
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
MeasureUnitThreadTest.java 26 Thread thread = new Thread() { local
32 thread.start();
34 try {thread.join();} catch(InterruptedException e) {};
37 static class NumericMeasureThread extends Thread {
80 Thread.sleep(5);
86 AssertionError error = new AssertionError("Failure in thread 1");
91 AssertionError error = new AssertionError("Failure in thread 2");
  /external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
ThreadTest.java 36 Worker thread = new Worker(); local
37 threads.add(thread);
38 thread.start();
41 for (Worker thread: threads) {
43 thread.join();
45 expectedCount = thread.count;
47 if (expectedCount != thread.count) {
59 private class Worker extends Thread {
80 ArrayList<Thread> threads = new ArrayList<Thread>();
    [all...]
  /external/protobuf/java/util/src/test/java/com/google/protobuf/util/
TimeUtilTest.java 84 private class ParseTimestampThread extends Thread {
128 final List<Thread> threads = new ArrayList<Thread>();
133 Thread thread = new ParseTimestampThread( local
135 thread.start();
136 threads.add(thread);
138 Thread.sleep(RUNNING_TIME);
140 for (Thread thread : threads)
    [all...]
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowProcessTest.java 33 assertThat(android.os.Process.myTid()).isEqualTo(Thread.currentThread().getId());
40 Thread thread = local
41 new Thread(
43 ok.set(android.os.Process.myTid() == Thread.currentThread().getId());
45 thread.start();
46 thread.join();
56 Thread thread1 =
57 new Thread(
61 Thread thread2
    [all...]
  /cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
SimpleForegroundService.java 53 Thread.sleep(2000);
56 Thread.currentThread().interrupt();
67 // Start up the thread running the service. Note that we create a
68 // separate thread because the service normally runs in the process's
69 // main thread, which we don't want to block. We also make it
71 HandlerThread thread = new HandlerThread("ServiceStartArguments", local
73 thread.start();
76 mServiceLooper = thread.getLooper();
  /development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/
ChatManager.java 14 * to post messages to UI thread for UI updates.
70 Thread thread = new Thread() { local
79 thread.start();
  /external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/
InternalEventHandler.java 41 Thread thread = new Thread(vm.threadGroupForJDI(), this, local
43 thread.setDaemon(true);
44 thread.start();
82 * methods. The thread should not be terminated if they
96 * the implementation if we let this thread die due to
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/stress/
ParallelTest.java 35 Thread thread = new Thread(worker); local
36 thread.start();
40 Thread.sleep(1000);
  /art/openjdkjvmti/
ti_dump.cc 43 #include "thread-current-inl.h"
50 art::Thread* thread = art::Thread::Current(); local
51 art::ScopedThreadSuspension sts(thread, art::ThreadState::kNative);
52 event_handler->DispatchEvent<ArtJvmtiEvent::kDataDumpRequest>(art::Thread::Current());
62 art::ScopedThreadStateChange stsc(art::Thread::Current(),
69 art::ScopedThreadStateChange stsc(art::Thread::Current(),
76 art::Thread* self = art::Thread::Current()
    [all...]
  /cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0415/
poc.cpp 35 * It will end when ever the main thread exits due to
56 pthread_t thread; local
57 pthread_create(&thread, NULL, start2, &bufferProducer);
71 pthread_join(thread, NULL);
  /cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9515/
poc.c 54 pthread_t thread; local
55 if (pthread_create(&thread, NULL, uaf_worker, NULL))
  /external/ImageMagick/Magick++/lib/
ResourceLimits.cpp 83 void Magick::ResourceLimits::thread(const MagickSizeType limit_) function in class:Magick::ResourceLimits
88 MagickCore::MagickSizeType Magick::ResourceLimits::thread(void) function in class:Magick::ResourceLimits
  /external/compiler-rt/lib/asan/
asan_debugging.cc 75 AsanThread *thread = FindThreadByStackAddress(addr); local
77 if (thread) {
78 GetInfoForStackVar(addr, descr, thread);
  /external/compiler-rt/test/lsan/TestCases/
guard-page.c 1 // Check that if LSan finds that SP doesn't point into thread stack (e.g.
31 static void* thread(void* arg) { function
54 i = pthread_create(&tid, NULL, thread, NULL);
  /external/deqp/external/glslang/
osinclude.cpp 36 // Thread-local
98 const deThread thread = (deThread)(deUintptr)((void**)threads)[ndx]; local
99 deThread_join(thread);
100 deThread_destroy(thread);
  /external/grpc-grpc/src/core/lib/gprpp/
thd_posix.cc 43 ThreadInternalsPosix* thread; member in struct:grpc_core::__anon23099::thd_arg
44 void (*body)(void* arg); /* body of a thread */
45 void* arg; /* argument to a thread */
46 const char* name; /* name of thread. Can be nullptr. */
62 info->thread = this;
93 gpr_mu_lock(&arg.thread->mu_);
94 while (!arg.thread->started_) {
95 gpr_cv_wait(&arg.thread->ready_, &arg.thread->mu_,
98 gpr_mu_unlock(&arg.thread->mu_)
    [all...]
  /external/libchrome/base/synchronization/
waitable_event_unittest.cc 176 PlatformThreadHandle thread; local
177 PlatformThread::Create(0, &signaler, &thread);
182 PlatformThread::Join(thread);
195 PlatformThreadHandle thread; local
196 PlatformThread::Create(0, &signaler, &thread);
203 PlatformThread::Join(thread);
216 PlatformThreadHandle thread; local
218 PlatformThread::Create(0, &signaler, &thread);
224 PlatformThread::Join(thread);
264 PlatformThreadHandle thread; local
    [all...]
  /external/libxcam/xcore/
xcam_thread.cpp 2 * xcam_thread.cpp - Thread
27 Thread::Thread (const char *name)
37 Thread::~Thread ()
44 Thread::thread_func (void *user_data)
46 Thread *thread = (Thread *)user_data; local
51 SmartLock locker(thread->_mutex)
    [all...]
  /external/ltp/testcases/kernel/syscalls/mmap/
mmap11.c 29 * thread library called abort().
41 * The fact is, glibc call munmap() when thread exitng time for freeing
94 pthread_t *thread, th; local
105 thread = malloc(STD_LOOP_COUNT * sizeof(pthread_t));
106 if (thread == NULL)
117 ret = pthread_create(&thread[lc], &attr, wait_thread2, NULL);
125 free(thread);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setinheritsched/
2-3.c 15 * 4. Create a new thread.
35 void *thread(void *tmp) function
83 rc = pthread_create(&thread_id, &attr, thread, NULL);
2-4.c 15 * 4. Create a new thread.
35 void *thread(void *tmp) function
84 rc = pthread_create(&thread_id, &attr, thread, NULL);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setschedparam/
1-1.c 12 * 3. Create a thread with this object
39 pthread_t thread; local
71 rc = pthread_create(&thread, &attr, thread_func, NULL);
75 "Permission Denied when creating thread with policy %d\n",
84 pthread_join(thread, &status);
88 printf(ERROR_PREFIX "Thread was not created\n");
1-2.c 12 * 3. Create a thread with this object
40 pthread_t thread; local
73 rc = pthread_create(&thread, &attr, thread_func, NULL);
77 "Permission Denied when creating thread with policy %d\n",
86 pthread_join(thread, &status);
90 printf(ERROR_PREFIX "Thread was not created\n");

Completed in 2166 milliseconds

1 2 3 45 6 7 8 91011>>