Home
last modified time | relevance | path

Searched defs:thread (Results 1 – 25 of 81) 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/bt/gd/
Dstack_manager_unittest.cc28 os::Thread thread{"test_thread", os::Thread::Priority::NORMAL}; in TEST() local
49 os::Thread thread{"test_thread", os::Thread::Priority::NORMAL}; in TEST() local
Dmodule.cc67 void ModuleRegistry::Start(ModuleList* modules, Thread* thread) { in Start()
78 Module* ModuleRegistry::Start(const ModuleFactory* module, Thread* thread) { in Start()
/system/extras/simpleperf/
Dthread_tree_test.cpp37 ThreadEntry* thread = thread_tree_.FindThreadOrNew(0, 0); in CheckMaps() local
102 ThreadEntry* thread = thread_tree_.FindThreadOrNew(0, 0); in TEST_F() local
DIOEventLoop_test.cpp50 std::thread thread([&]() { in TEST() local
84 std::thread thread([&]() { in TEST() local
112 std::thread thread([&]() { in TEST() local
170 std::thread thread([&]() { in TEST() local
DRecordReadThread_test.cpp254 RecordReadThread thread(128 * 1024, event_fds[0]->attr(), 1, 1, 0); in TEST_F() local
273 RecordReadThread thread(128 * 1024, attr, 1, 1, 0); in TEST_F() local
308 RecordReadThread thread(record_buffer_size, attr, 1, 1, 0); in TEST_F() local
359 RecordReadThread thread(128 * 1024, attr, 1, 1, 0); in TEST_F() local
387 RecordReadThread thread(128 * 1024, attr, 1, 1, 0, false); in TEST_F() local
416 auto read_records = [&](RecordReadThread& thread, std::vector<std::unique_ptr<Record>>& records) { in TEST_F()
428 RecordReadThread thread(128 * 1024, attr, 1, 1, 0); in TEST_F() local
504 RecordReadThread thread(1024, attr, 1, 1, AUX_BUFFER_SIZE); in TEST_F() local
Dthread_tree.cpp32 ThreadEntry* thread = FindThreadOrNew(pid, tid); in SetThreadName() local
87 ThreadEntry* thread = new ThreadEntry{ in CreateThread() local
129 ThreadEntry* thread = FindThreadOrNew(pid, tid); in AddThreadMap() local
209 const MapEntry* ThreadTree::FindMap(const ThreadEntry* thread, uint64_t ip, bool in_kernel) { in FindMap()
219 const MapEntry* ThreadTree::FindMap(const ThreadEntry* thread, uint64_t ip) { in FindMap()
Dcmd_trace_sched.cpp214 auto& thread = thread_map_[r.data->tid]; in ProcessRecord() local
248 ThreadInfo& thread = thread_map_[record.tid_data.tid]; in ProcessSampleRecord() local
290 const ThreadInfo& thread = pair.second; in BuildProcessInfo() local
350 for (auto& thread : process.threads) { in ReportProcessInfo() local
396 for (auto& thread : process.threads) { in ReportProcessInfo() local
/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::__anonb7ed5ea90111::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/core/libunwindstack/tests/
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.cpp104 std::thread* thread = new std::thread([i, this, &wait, &build_id_values]() { in MultipleThreadTest() local
114 for (auto thread : threads) { in MultipleThreadTest() local
/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
/system/core/logd/
DLogListener.cpp41 auto thread = std::thread(&LogListener::ThreadFunction, this); in StartListener() local
/system/netd/libnetdutils/include/netdutils/
DThreadUtil.h70 pthread_t thread; in threadLaunch() local
/system/core/init/
Dueventd_test.cpp60 for (auto& thread : threads) { in WriteFromMultipleThreads() local
192 for (auto& thread : threads) { in TEST() local

1234