Searched refs:thread (Results 51 - 75 of 148) sorted by relevance

123456

/system/vold/bench/
H A Dbenchgen.py35 def __init__(self, thread, time, call, args, ret):
36 self.thread = thread
69 handle = "t%sf%s" % (e.thread, fd)
114 thread = int(fn.split(".")[-1]) variable
125 events.append(Event(thread, time, call, args, ret))
/system/bt/vendor_libs/linux/interface/
H A Dasync_fd_watcher.cc25 #include <thread>
47 // Start the thread if not started yet
70 // watched upon or the thread routine will return immediately
81 thread_ = std::thread([this]() { ThreadRoutine(); });
118 // Make watching thread RT.
/system/core/adb/client/
H A Dmain.cpp26 #include <thread>
145 // We need to perform this in a thread, because we would otherwise block the event loop.
146 std::thread notify_thread([ack_reply_fd]() {
/system/core/debuggerd/client/
H A Ddebuggerd_client_test.cpp24 #include <thread>
60 std::vector<std::thread> threads;
/system/extras/simpleperf/
H A DSampleComparator.h53 BUILD_COMPARE_VALUE_FUNCTION(ComparePid, thread->pid);
54 BUILD_COMPARE_VALUE_FUNCTION(CompareTid, thread->tid);
H A Dperf_clock.cpp24 #include <thread>
60 // In case current thread is preempted by other threads, we run mmap()
97 std::thread thread_a(ThreadA, &thread_arg);
H A Dthread_tree.h71 // ThreadTree contains thread information (in ThreadEntry) and mmap information
96 const MapEntry* FindMap(const ThreadEntry* thread, uint64_t ip,
99 const MapEntry* FindMap(const ThreadEntry* thread, uint64_t ip);
111 // Clear thread and map information, but keep loaded dso information. It saves
118 // Update thread tree with information provided by record.
/system/netd/tests/dns_responder/
H A Ddns_responder.h26 #include <thread>
132 std::thread handler_thread_ GUARDED_BY(update_mutex_);
/system/bt/hci/src/
H A Dhci_layer.cc27 #include <base/threading/thread.h>
76 // RT priority for HCI thread
93 static thread_t* thread; // We own this variable
217 thread = thread_new("hci_thread");
218 if (!thread) {
219 LOG_ERROR(LOG_TAG, "%s unable to create thread.", __func__);
222 if (!thread_set_rt_priority(thread, BT_HCI_RT_PRIORITY)) {
223 LOG_ERROR(LOG_TAG, "%s unable to make thread RT.", __func__);
242 thread_post(thread, message_loop_run, NULL);
269 // Stop the thread t
[all...]
/system/bt/main/
H A Dbte_main.cc30 #include <base/threading/thread.h>
56 #include "osi/include/thread.h"
/system/chre/platform/linux/
H A Dplatform_log.cc48 // the context of the lock which means that the logging thread will only be
55 mLoggerThread = std::thread(&PlatformLog::logLooper, this);
/system/core/adb/
H A Dsysdeps_test.cpp22 #include <thread>
210 std::thread thread([]() {
221 thread.join();
/system/core/libappfuse/tests/
H A DFuseBufferTest.cc23 #include <thread>
199 std::thread thread([&fds] {
211 thread.join();
/system/libhidl/base/include/hidl/
H A DSynchronizedQueue.h23 #include <thread>
/system/core/libbacktrace/
H A Dbacktrace_test.cpp79 thread_t thread; member in struct:dump_thread_t
211 thread_t* thread = reinterpret_cast<thread_t*>(data); local
212 android_atomic_acquire_store(1, &thread->state);
214 while (thread->state) {
444 pthread_t thread; local
445 ASSERT_TRUE(pthread_create(&thread, &attr, PtraceThreadLevelRun, nullptr) == 0);
502 thread_t* thread = reinterpret_cast<thread_t*>(data); local
504 thread->tid = gettid();
515 pthread_t thread; local
516 ASSERT_TRUE(pthread_create(&thread,
565 pthread_t thread; local
593 thread_t* thread = reinterpret_cast<thread_t*>(data); local
606 pthread_t thread; local
1019 pthread_t thread; local
[all...]
/system/bt/vendor_libs/test_vendor_lib/src/
H A Dasync_manager.cc27 #include <thread>
43 // starts a new thread which watches the given (and later provided) FDs using
45 // used to notify the thread of internal changes on the object state (like
47 // synchronized using a single internal mutex. The thread is only stopped on
50 // the thread is done later by writing to a pipe which means the thread will
58 // using a single internal mutex. When the first task is scheduled a thread
60 // when the next task should be carried out and then the thread performs a
67 // holding the lock on the internal mutex) to ensure that the thread never
69 // writing on a pipe (if not done this way, the thread coul
[all...]
/system/core/libsync/tests/
H A Dsync_test.cpp10 #include <thread>
393 // Spawn a thread to wait on a fence when the timeline is killed.
394 thread waitThread{
406 // Wait for the thread to spool up.
412 // wait for the thread to clean up.
464 // Wait on the prior thread to complete.
467 // Confirm the previous thread's writes are visible and then inc.
471 // Kick off the other thread.
476 thread a{threadMain, 0};
477 thread
[all...]
/system/netd/tests/
H A Dnetd_test.cpp36 #include <thread>
237 std::vector<std::thread> threads(num_threads);
238 for (std::thread& thread : threads) {
239 thread = std::thread([this, &mappings, num_queries]() {
260 for (std::thread& thread : threads) {
261 thread.join();
567 std::vector<std::thread> thread
[all...]
/system/core/init/
H A Dueventd.cpp28 #include <thread>
88 // 3) In parallel to the subprocesses handling the uevents, the main thread of ueventd calls
91 // 4) Once the restorecon operation finishes, the main thread calls waitpid() to wait for all
111 num_handler_subprocesses_(std::thread::hardware_concurrency() ?: 4) {}
/system/core/libprocinfo/
H A Dprocess_test.cpp26 #include <thread>
70 std::thread([main_tid]() {
/system/bt/stack/btu/
H A Dbtu_task.cc29 #include <base/threading/thread.h>
36 #include "osi/include/thread.h"
92 // Inform the bt jni thread initialization is ok.
128 LOG(FATAL) << __func__ << " unable to create btu message loop thread.";
/system/bt/stack/test/
H A Dstack_btu_test.cc21 #include <base/threading/thread.h>
31 #include "osi/include/thread.h"
95 bt_workqueue_thread = thread_new("test alarm thread");
/system/core/adb/sysdeps/
H A Derrno.cpp21 #include <thread>
/system/core/base/
H A Dchrono_utils_test.cpp24 #include <thread>
/system/core/libcutils/tests/
H A Dsched_policy_test.cpp19 #include <thread>
70 // greater slack time in waking up a sleeping background thread.

Completed in 1087 milliseconds

123456