Home
last modified time | relevance | path

Searched defs:thread (Results 1 – 25 of 80) sorted by relevance

1234

/system/extras/memory_replay/tests/
DThreadTest.cpp30 Thread thread; in TEST() local
38 Thread* thread = thread_data->first; in ThreadWaitForReady() local
48 Thread thread; in TEST() local
68 Thread* thread = thread_data->first; in ThreadWaitForPending() local
78 Thread thread; in TEST() local
96 Thread thread; in TEST() local
DThreadsTest.cpp28 Thread* thread = threads.CreateThread(900); in TEST() local
92 Thread* thread = threads.CreateThread(900); in TEST() local
128 Thread* thread = threads.CreateThread(900+i); in TestTooManyThreads() local
/system/logging/logd/
DLogReaderList.cpp83 void LogReaderList::AddAndRunThread(std::unique_ptr<LogReaderThread> thread) { in AddAndRunThread()
88 void LogReaderList::RemoveRunningThread(LogReaderThread* thread) { in RemoveRunningThread()
112 void LogReaderList::AddPendingThread(std::unique_ptr<LogReaderThread> thread) { in AddPendingThread()
DLogListener.cpp41 auto thread = std::thread(&LogListener::ThreadFunction, this); in StartListener() local
/system/unwinding/libunwindstack/tests/
DUnwindTest.cpp384 std::thread thread([&]() { in TEST_F() local
456 std::thread* thread = new std::thread([i, &frames, &maps, &process_memory, &wait]() { in TEST_F() local
470 for (auto thread : threads) { in TEST_F() local
478 std::thread thread([&tid]() { in TEST_F() local
497 std::thread thread([&tid]() { in TEST_F() local
523 std::thread thread([&tid]() { in TEST_F() local
555 std::thread thread([]() { in TEST_F() local
566 std::thread thread([]() { in TEST_F() local
601 std::thread thread([&tid]() { in TEST_F() local
623 for (auto* thread : threads) { in TEST_F() local
[all …]
DMapInfoGetLoadBiasTest.cpp104 std::thread* thread = new std::thread([i, this, &wait, &load_bias_values]() { in MultipleThreadTest() local
114 for (auto thread : threads) { in MultipleThreadTest() local
DMapInfoTest.cpp155 std::thread* thread = new std::thread([i, &wait, &map_info, &elf_fields]() { in TEST() local
165 for (auto thread : threads) { in TEST() local
DMapInfoGetBuildIDTest.cpp103 std::thread* thread = new std::thread([i, this, &wait, &build_id_values]() { in MultipleThreadTest() local
113 for (auto thread : threads) { in MultipleThreadTest() local
/system/core/fs_mgr/tests/
Dfile_wait_test.cpp56 std::thread thread([this] { in TEST_F() local
65 std::thread thread([this] { in TEST_F() local
80 std::thread thread([this] { in TEST_F() local
/system/extras/memory_replay/
DThreads.cpp35 Thread* thread = reinterpret_cast<Thread*>(data); in ThreadRunner() local
76 Thread* thread = FindEmptyEntry(tid); in CreateThread() local
135 void Threads::Finish(Thread* thread) { in Finish()
/system/extras/simpleperf/
Dthread_tree_test.cpp40 ThreadEntry* thread = thread_tree_.FindThreadOrNew(0, 0); in CheckMaps() local
71 auto thread = thread_tree_.FindThreadOrNew(pid, tid); in FindSymbol() local
113 ThreadEntry* thread = thread_tree_.FindThreadOrNew(0, 0); in TEST_F() local
Dthread_tree.cpp45 ThreadEntry* thread = FindThreadOrNew(pid, tid); in SetThreadName() local
108 ThreadEntry* thread = new ThreadEntry{ in CreateThread() local
169 ThreadEntry* thread = FindThreadOrNew(pid, tid); in AddThreadMap() local
175 void ThreadTree::AddThreadMapsForDsoSymbols(ThreadEntry* thread, Dso* dso) { in AddThreadMapsForDsoSymbols()
226 auto thread = FindThreadOrNew(pid, pid); in AddSymbolsForProcess() local
292 const MapEntry* ThreadTree::FindMap(const ThreadEntry* thread, uint64_t ip, bool in_kernel) { in FindMap()
302 const MapEntry* ThreadTree::FindMap(const ThreadEntry* thread, uint64_t ip) { in FindMap()
DRecordReadThread_test.cpp284 RecordReadThread thread(128 * 1024, event_fds[0]->attr(), 1, 1, 0); in TEST_F() local
304 RecordReadThread thread(128 * 1024, attr, 1, 1, 0); in TEST_F() local
340 RecordReadThread thread(record_buffer_size, attr, 1, 1, 0); in TEST_F() local
392 RecordReadThread thread(128 * 1024, attr, 1, 1, 0); in TEST_F() local
421 RecordReadThread thread(128 * 1024, attr, 1, 1, 0, false); in TEST_F() local
451 auto read_records = [&](RecordReadThread& thread, std::vector<std::unique_ptr<Record>>& records) { in TEST_F()
463 RecordReadThread thread(128 * 1024, attr, 1, 1, 0); in TEST_F() local
541 RecordReadThread thread(1024, attr, 1, 1, AUX_BUFFER_SIZE); in TEST_F() local
Dcmd_trace_sched.cpp214 auto& thread = thread_map_[r.data->tid]; in ProcessRecord() local
255 ThreadInfo& thread = thread_map_[record.tid_data.tid]; in ProcessSampleRecord() local
297 const ThreadInfo& thread = pair.second; in BuildProcessInfo() local
357 for (auto& thread : process.threads) { in ReportProcessInfo() local
400 for (auto& thread : process.threads) { in ReportProcessInfo() local
DIOEventLoop_test.cpp53 std::thread thread([&]() { in TEST() local
88 std::thread thread([&]() { in TEST() local
117 std::thread thread([&]() { in TEST() local
199 std::thread thread([&]() { in TEST() local
DMapRecordReader_test.cpp83 MapRecordThread thread(*reader_); in TEST_F() local
/system/extras/simpleperf/runtest/
Dfunction_pthread.cpp21 pthread_t thread; in main() local
/system/core/debuggerd/libdebuggerd/
Dtombstone_proto_to_text.cpp117 const Thread& thread, bool should_log) { in print_thread_header()
149 const Thread& thread, bool should_log) { in print_thread_registers()
232 const Thread& thread, bool should_log) { in print_thread_backtrace()
244 const Thread& thread) { in print_thread_memory_dump()
293 static void print_thread(CallbackType callback, const Tombstone& tombstone, const Thread& thread) { in print_thread()
452 const Thread& thread) { in print_main_thread()
/system/extras/simpleperf/demo/JavaApi/app/src/main/java/simpleperf/demo/java_api/
DMainActivity.java48 Thread thread = new Thread(new Runnable() { in createProfileThread() local
/system/libbase/
Dproperties_test.cpp162 std::thread thread([&]() { in TEST() local
196 std::thread thread([&]() { in TEST() local
216 std::thread thread([&]() { in TEST() local
235 std::thread thread([&]() { in TEST() local
/system/extras/simpleperf/demo/SimpleperfExampleCpp/app/src/main/cpp/
Dnative-lib.cpp53 pthread_t thread; in Java_simpleperf_example_cpp_MainActivity_createBusyThreadFromJNI() local
101 pthread_t thread; in Java_simpleperf_example_cpp_SleepActivity_createSleepThreadFromJNI() local
/system/memory/lmkd/
Dwatchdog.cpp54 pthread_t thread; in init() local
/system/core/libutils/
DProcessCallStack_fuzz.cpp68 for (auto& thread : threads) { in spawnThreads() local
/system/core/init/
Dueventd_test.cpp60 for (auto& thread : threads) { in WriteFromMultipleThreads() local
192 for (auto& thread : threads) { in TEST() local
/system/core/fs_mgr/libsnapshot/snapuserd/user-space-merge/
Dhandler_manager.h37 std::thread& thread() { return thread_; } in thread() function

1234