Home
last modified time | relevance | path

Searched defs:thread (Results 1 – 25 of 79) 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.cpp343 std::thread thread([&]() { in TEST_F() local
448 std::thread* thread = new std::thread([i, &frames, &maps, &process_memory, &wait]() { in TEST_F() local
462 for (auto thread : threads) { in TEST_F() local
472 std::thread thread([&tid]() { in TEST_F() local
493 std::thread thread([&tid]() { in TEST_F() local
521 std::thread thread([&tid]() { in TEST_F() local
553 std::thread thread([]() { in TEST_F() local
564 std::thread thread([]() { in TEST_F() local
600 std::thread thread([&tid]() { in TEST_F() local
622 for (auto* thread : threads) { in TEST_F() local
[all …]
DMapInfoTest.cpp154 std::thread* thread = new std::thread([i, &wait, &map_info, &elf_fields]() { in TEST() local
164 for (auto thread : threads) { in TEST() local
DMapInfoGetLoadBiasTest.cpp103 std::thread* thread = new std::thread([i, this, &wait, &load_bias_values]() { in MultipleThreadTest() local
113 for (auto thread : threads) { in MultipleThreadTest() local
DMapInfoGetBuildIDTest.cpp106 std::thread* thread = new std::thread([i, this, &wait, &build_id_values]() { in MultipleThreadTest() local
116 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
136 void Threads::Finish(Thread* thread) { in Finish()
/system/extras/simpleperf/
Dthread_tree_test.cpp39 ThreadEntry* thread = thread_tree_.FindThreadOrNew(0, 0); in CheckMaps() local
70 auto thread = thread_tree_.FindThreadOrNew(pid, tid); in FindSymbol() local
110 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.cpp277 RecordReadThread thread(128 * 1024, event_fds[0]->attr(), 1, 1, 0); in TEST_F() local
296 RecordReadThread thread(128 * 1024, attr, 1, 1, 0); in TEST_F() local
331 RecordReadThread thread(record_buffer_size, attr, 1, 1, 0); in TEST_F() local
382 RecordReadThread thread(128 * 1024, attr, 1, 1, 0); in TEST_F() local
410 RecordReadThread thread(128 * 1024, attr, 1, 1, 0, false); in TEST_F() local
439 auto read_records = [&](RecordReadThread& thread, std::vector<std::unique_ptr<Record>>& records) { in TEST_F()
451 RecordReadThread thread(128 * 1024, attr, 1, 1, 0); in TEST_F() local
528 RecordReadThread thread(1024, attr, 1, 1, AUX_BUFFER_SIZE); in TEST_F() local
DIOEventLoop_test.cpp52 std::thread thread([&]() { in TEST() local
86 std::thread thread([&]() { in TEST() local
114 std::thread thread([&]() { in TEST() local
172 std::thread thread([&]() { in TEST() local
Dcmd_trace_sched.cpp214 auto& thread = thread_map_[r.data->tid]; in ProcessRecord() local
252 ThreadInfo& thread = thread_map_[record.tid_data.tid]; in ProcessSampleRecord() local
294 const ThreadInfo& thread = pair.second; in BuildProcessInfo() local
354 for (auto& thread : process.threads) { in ReportProcessInfo() local
397 for (auto& thread : process.threads) { in ReportProcessInfo() local
/system/core/debuggerd/libdebuggerd/
Dtombstone_proto_to_text.cpp79 const Thread& thread, bool should_log) { in print_thread_header()
109 const Thread& thread, bool should_log) { in print_thread_registers()
191 const Thread& thread, bool should_log) { in print_thread_backtrace()
203 const Thread& thread) { in print_thread_memory_dump()
252 static void print_thread(CallbackType callback, const Tombstone& tombstone, const Thread& thread) { in print_thread()
390 const Thread& thread) { in print_main_thread()
/system/libbase/
Dproperties_test.cpp160 std::thread thread([&]() { in TEST() local
194 std::thread thread([&]() { in TEST() local
214 std::thread thread([&]() { in TEST() local
233 std::thread thread([&]() { in TEST() local
/system/extras/simpleperf/runtest/
Dfunction_pthread.cpp21 pthread_t thread; in main() local
/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/extras/libfec/
Dfec_process.cpp100 pthread_t thread; in process() local
119 for (auto thread : handles) { in process() 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/
DCallStack_test.cpp51 std::thread thread([&tid, &done]() { ThreadBusyWait(&tid, &done); }); in TEST() local
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

1234