Home
last modified time | relevance | path

Searched refs:thread (Results 1 – 12 of 12) sorted by relevance

/system/core/libbacktrace/
Dbacktrace_test.cpp66 thread_t thread; member
174 thread_t* thread = reinterpret_cast<thread_t*>(data); in ThreadSetState() local
175 android_atomic_acquire_store(1, &thread->state); in ThreadSetState()
177 while (thread->state) { in ThreadSetState()
388 pthread_t thread; in TEST() local
389 ASSERT_TRUE(pthread_create(&thread, &attr, PtraceThreadLevelRun, NULL) == 0); in TEST()
447 thread_t* thread = reinterpret_cast<thread_t*>(data); in ThreadLevelRun() local
449 thread->tid = gettid(); in ThreadLevelRun()
460 pthread_t thread; in TEST() local
461 ASSERT_TRUE(pthread_create(&thread, &attr, ThreadLevelRun, &thread_data) == 0); in TEST()
[all …]
/system/extras/tests/bionic/libc/common/
Dtest_clock.c36 pthread_t thread; in main() local
42 pthread_create(&thread, NULL, cpu_hog, NULL); in main()
/system/core/fastbootd/
Dtransport.c118 pthread_t thread; in transport_connect_thread() local
133 pthread_create(&thread, &attr, transport_data_thread, thandle); in transport_connect_thread()
143 pthread_t thread; in transport_register() local
149 pthread_create(&thread, &attr, transport_connect_thread, transport); in transport_register()
/system/netd/server/
DDnsProxyListener.cpp72 pthread_t thread; in start() local
73 pthread_create(&thread, NULL, in start()
75 pthread_detach(thread); in start()
292 pthread_t thread; in start() local
293 pthread_create(&thread, NULL, in start()
295 pthread_detach(thread); in start()
409 pthread_t thread; in start() local
410 pthread_create(&thread, NULL, in start()
412 pthread_detach(thread); in start()
/system/core/libsync/tests/
Dsync_test.cpp359 thread waitThread{ in TEST()
386 thread waitThread{ in TEST()
466 thread a{threadMain, 0}; in TEST()
467 thread b{threadMain, 1}; in TEST()
483 vector<thread> threads; in TEST_P()
513 threads.push_back(thread{threadMain, i}); in TEST_P()
542 for_each(begin(threads), end(threads), [](thread& thread) { thread.join(); }); in TEST_P() argument
/system/core/libutils/
DThreads.cpp161 pthread_t thread; in androidCreateRawThreadEtc() local
162 int result = pthread_create(&thread, &attr, in androidCreateRawThreadEtc()
176 *threadId = (android_thread_id_t)thread; // XXX: this is not portable in androidCreateRawThreadEtc()
182 static pthread_t android_thread_id_t_to_pthread(android_thread_id_t thread) in android_thread_id_t_to_pthread() argument
184 return (pthread_t) thread; in android_thread_id_t_to_pthread()
/system/core/adb/
Dsysdeps.h71 static __inline__ int adb_thread_create( adb_thread_t *thread, adb_thread_func_t func, void* ar… in adb_thread_create() argument
73 thread->tid = _beginthread( (win_thread_func_t)func, 0, arg ); in adb_thread_create()
74 if (thread->tid == (unsigned)-1L) { in adb_thread_create()
Dprotocol.txt197 The core of the bridge program will use three threads. One thread
203 channel between the main select/epoll thread and the remote connection
216 a thread or subprocess to handle the io.
Dsysdeps_win32.c1480 HANDLE thread; member
1582 threads[chunk].thread = (HANDLE)_beginthreadex(NULL, 0, _in_waiter_thread, in _wait_for_all()
1584 if (threads[chunk].thread == NULL) { in _wait_for_all()
1599 WaitForSingleObject(threads[chunk].thread, INFINITE); in _wait_for_all()
1600 CloseHandle(threads[chunk].thread); in _wait_for_all()
DSERVICES.TXT116 jdwp:<pid> -> JDWP thread on VM process <pid>
224 Connects to the JDWP thread running in the VM of process <pid>.
/system/core/logcat/
Devent.logtags67 20003 dvm_lock_sample (process|3),(main|1|5),(thread|3),(time|1|3),(file|3),(line|1|5),(ownerfile|3…
97 # blocking_package: if this is on a main thread, the package name, otherwise ""
/system/core/sdcard/
Dsdcard.c1786 pthread_t thread; in ignite_fuse() local
1787 int res = pthread_create(&thread, NULL, start_handler, &handlers[i]); in ignite_fuse()