/system/vold/bench/ |
H A D | benchgen.py | 35 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 D | async_fd_watcher.cc | 25 #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 D | main.cpp | 26 #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 D | debuggerd_client_test.cpp | 24 #include <thread> 60 std::vector<std::thread> threads;
|
/system/extras/simpleperf/ |
H A D | SampleComparator.h | 53 BUILD_COMPARE_VALUE_FUNCTION(ComparePid, thread->pid); 54 BUILD_COMPARE_VALUE_FUNCTION(CompareTid, thread->tid);
|
H A D | perf_clock.cpp | 24 #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 D | thread_tree.h | 71 // 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 D | dns_responder.h | 26 #include <thread> 132 std::thread handler_thread_ GUARDED_BY(update_mutex_);
|
/system/bt/hci/src/ |
H A D | hci_layer.cc | 27 #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 D | bte_main.cc | 30 #include <base/threading/thread.h> 56 #include "osi/include/thread.h"
|
/system/chre/platform/linux/ |
H A D | platform_log.cc | 48 // 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 D | sysdeps_test.cpp | 22 #include <thread> 210 std::thread thread([]() { 221 thread.join();
|
/system/core/libappfuse/tests/ |
H A D | FuseBufferTest.cc | 23 #include <thread> 199 std::thread thread([&fds] { 211 thread.join();
|
/system/libhidl/base/include/hidl/ |
H A D | SynchronizedQueue.h | 23 #include <thread>
|
/system/core/libbacktrace/ |
H A D | backtrace_test.cpp | 79 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 D | async_manager.cc | 27 #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 D | sync_test.cpp | 10 #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 D | netd_test.cpp | 36 #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 D | ueventd.cpp | 28 #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 D | process_test.cpp | 26 #include <thread> 70 std::thread([main_tid]() {
|
/system/bt/stack/btu/ |
H A D | btu_task.cc | 29 #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 D | stack_btu_test.cc | 21 #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 D | errno.cpp | 21 #include <thread>
|
/system/core/base/ |
H A D | chrono_utils_test.cpp | 24 #include <thread>
|
/system/core/libcutils/tests/ |
H A D | sched_policy_test.cpp | 19 #include <thread> 70 // greater slack time in waking up a sleeping background thread.
|