Home
last modified time | relevance | path

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

1234

/system/bt/osi/test/
Dthread_test.cc14 thread_t* thread = thread_new("test_thread"); in TEST_F() local
20 thread_t* thread = thread_new("test_thread"); in TEST_F() local
25 thread_t* thread = thread_new("test_name"); in TEST_F() local
31 thread_t* thread = thread_new("0123456789abcdef"); in TEST_F() local
37 thread_t* thread = thread_new("0123456789abcdefg"); in TEST_F() local
43 thread_t* thread = (thread_t*)context; in thread_is_self_fn() local
48 thread_t* thread = thread_new("test_thread"); in TEST_F() local
54 thread_t* thread = thread_new("test_thread"); in TEST_F() local
/system/bt/osi/src/
Dthread.cc52 thread_t* thread; member
108 void thread_free(thread_t* thread) { in thread_free()
119 void thread_join(thread_t* thread) { in thread_join()
126 bool thread_post(thread_t* thread, thread_fn func, void* context) { in thread_post()
143 void thread_stop(thread_t* thread) { in thread_stop()
148 bool thread_set_priority(thread_t* thread, int priority) { in thread_set_priority()
161 bool thread_set_rt_priority(thread_t* thread, int priority) { in thread_set_rt_priority()
177 bool thread_is_self(const thread_t* thread) { in thread_is_self()
182 reactor_t* thread_get_reactor(const thread_t* thread) { in thread_get_reactor()
187 const char* thread_name(const thread_t* thread) { in thread_name()
[all …]
/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/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/unwinding/libunwindstack/tests/
DUnwindTest.cpp361 std::thread thread([&]() { in TEST_F() local
470 std::thread* thread = new std::thread([i, &frames, &maps, &process_memory, &wait]() { in TEST_F() local
484 for (auto thread : threads) { in TEST_F() local
494 std::thread thread([&tid]() { in TEST_F() local
515 std::thread thread([&tid]() { in TEST_F() local
578 std::thread thread([&tid]() { in TEST_F() local
600 for (auto* thread : threads) { in TEST_F() local
616 std::thread* thread = new std::thread([&tids, i]() { in TEST_F() local
640 for (auto* thread : unwinder_threads) { in TEST_F() local
647 for (auto* thread : threads) { in TEST_F() local
[all …]
DMapInfoTest.cpp89 std::thread* thread = new std::thread([i, &wait, &map_info, &elf_fields]() { in TEST() local
99 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
/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
99 ThreadEntry* thread = new ThreadEntry{ in CreateThread() local
160 ThreadEntry* thread = FindThreadOrNew(pid, tid); in AddThreadMap() local
165 void ThreadTree::AddThreadMapsForDsoSymbols(ThreadEntry* thread, Dso* dso) { in AddThreadMapsForDsoSymbols()
213 auto thread = FindThreadOrNew(pid, pid); in AddSymbolsForProcess() local
279 const MapEntry* ThreadTree::FindMap(const ThreadEntry* thread, uint64_t ip, bool in_kernel) { in FindMap()
289 const MapEntry* ThreadTree::FindMap(const ThreadEntry* thread, uint64_t ip) { in FindMap()
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
DRecordReadThread_test.cpp258 RecordReadThread thread(128 * 1024, event_fds[0]->attr(), 1, 1, 0); in TEST_F() local
277 RecordReadThread thread(128 * 1024, attr, 1, 1, 0); in TEST_F() local
312 RecordReadThread thread(record_buffer_size, attr, 1, 1, 0); in TEST_F() local
363 RecordReadThread thread(128 * 1024, attr, 1, 1, 0); in TEST_F() local
391 RecordReadThread thread(128 * 1024, attr, 1, 1, 0, false); in TEST_F() local
420 auto read_records = [&](RecordReadThread& thread, std::vector<std::unique_ptr<Record>>& records) { in TEST_F()
432 RecordReadThread thread(128 * 1024, attr, 1, 1, 0); in TEST_F() local
508 RecordReadThread thread(1024, attr, 1, 1, AUX_BUFFER_SIZE); in TEST_F() local
Dcmd_trace_sched.cpp217 auto& thread = thread_map_[r.data->tid]; in ProcessRecord() local
251 ThreadInfo& thread = thread_map_[record.tid_data.tid]; in ProcessSampleRecord() local
293 const ThreadInfo& thread = pair.second; in BuildProcessInfo() local
353 for (auto& thread : process.threads) { in ReportProcessInfo() local
396 for (auto& thread : process.threads) { in ReportProcessInfo() local
/system/bt/gd/
Dstack_manager_unittest.cc28 os::Thread thread{"test_thread", os::Thread::Priority::NORMAL}; in TEST() local
52 os::Thread thread{"test_thread", os::Thread::Priority::NORMAL}; in TEST() local
Dmodule.cc68 void ModuleRegistry::Start(ModuleList* modules, Thread* thread) { in Start()
79 Module* ModuleRegistry::Start(const ModuleFactory* module, Thread* thread) { in Start()
/system/core/debuggerd/libdebuggerd/
Dtombstone_proto_to_text.cpp75 const Thread& thread, bool should_log) { in print_thread_header()
100 const Thread& thread, bool should_log) { in print_thread_registers()
172 const Thread& thread, bool should_log) { in print_thread_backtrace()
183 const Thread& thread) { in print_thread_memory_dump()
232 static void print_thread(CallbackType callback, const Tombstone& tombstone, const Thread& thread) { in print_thread()
294 const Thread& thread) { in print_main_thread()
/system/extras/simpleperf/runtest/
Dfunction_pthread.cpp21 pthread_t thread; in main() local
/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/bt/gd/os/linux_generic/
Dthread_unittest.cc33 …explicit SampleReactable(Thread* thread) : thread_(thread), fd_(eventfd(0, 0)), is_same_thread_che… in SampleReactable()
66 Thread* thread = nullptr; member in bluetooth::os::__anonca8e5d900111::ThreadTest
/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/SimpleperfExampleWithNative/app/src/main/cpp/
Dnative-lib.cpp56 pthread_t thread; in Java_com_example_simpleperf_simpleperfexamplewithnative_MainActivity_createBusyThreadFromJNI() local
104 pthread_t thread; in Java_com_example_simpleperf_simpleperfexamplewithnative_SleepActivity_createSleepThreadFromJNI() local
/system/bt/test/mock/
Dmock_common_repeating_timer.cc43 const base::WeakPtr<MessageLoopThread>& thread, in SchedulePeriodic()
/system/bt/common/
Dmessage_loop_thread_unittest.cc289 base::BindOnce([](MessageLoopThread* thread) { thread->IsRunning(); }, in TEST_F()
299 auto thread = std::thread(&MessageLoopThread::ShutDown, &message_loop_thread); in TEST_F() local
309 auto thread = std::thread(&MessageLoopThread::StartUp, &message_loop_thread); in TEST_F() local
318 auto thread = std::thread(&MessageLoopThread::ShutDown, &message_loop_thread); in TEST_F() local
328 auto thread = std::thread(&MessageLoopThread::StartUp, &message_loop_thread); in TEST_F() local

1234