Home
last modified time | relevance | path

Searched defs:thread (Results 1 – 25 of 76) 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/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
104 Thread thread; in TEST() local
DThreadsTest.cpp28 Thread* thread = threads.CreateThread(900); in TEST() local
90 Thread* thread = threads.CreateThread(900); in TEST() local
117 Thread* thread = threads.CreateThread(900+i); in TestTooManyThreads() 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()
162 bool thread_set_rt_priority(thread_t* thread, int priority) { in thread_set_rt_priority()
179 bool thread_is_self(const thread_t* thread) { in thread_is_self()
184 reactor_t* thread_get_reactor(const thread_t* thread) { in thread_get_reactor()
189 const char* thread_name(const thread_t* thread) { in thread_name()
[all …]
/system/extras/memory_replay/
DThreads.cpp34 Thread* thread = reinterpret_cast<Thread*>(data); in ThreadRunner() local
80 Thread* thread = FindEmptyEntry(tid); in CreateThread() local
140 void Threads::Finish(Thread* thread) { in Finish()
/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
Dthread_tree.cpp32 ThreadEntry* thread = FindThreadOrNew(pid, tid); in SetThreadName() local
81 ThreadEntry* thread = new ThreadEntry{ in CreateThread() local
116 ThreadEntry* thread = FindThreadOrNew(pid, tid); in AddThreadMap() local
196 const MapEntry* ThreadTree::FindMap(const ThreadEntry* thread, uint64_t ip, bool in_kernel) { in FindMap()
206 const MapEntry* ThreadTree::FindMap(const ThreadEntry* thread, uint64_t ip) { in FindMap()
Dcmd_trace_sched.cpp224 auto& thread = thread_map_[r.data->tid]; in ProcessRecord() local
258 ThreadInfo& thread = thread_map_[record.tid_data.tid]; in ProcessSampleRecord() local
300 const ThreadInfo& thread = pair.second; in BuildProcessInfo() local
360 for (auto& thread : process.threads) { in ReportProcessInfo() local
406 for (auto& thread : process.threads) { in ReportProcessInfo() local
DRecordReadThread_test.cpp236 RecordReadThread thread(128 * 1024, event_fds[0]->attr(), 1, 1); in TEST_F() local
255 RecordReadThread thread(128 * 1024, attr, 1, 1); in TEST_F() local
290 RecordReadThread thread(record_buffer_size, attr, 1, 1); in TEST_F() local
345 RecordReadThread thread(128 * 1024, attr, 1, 1); in TEST_F() local
/system/core/base/
Dproperties_test.cpp133 std::thread thread([&]() { in TEST() local
167 std::thread thread([&]() { in TEST() local
187 std::thread thread([&]() { in TEST() local
206 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.java43 Thread thread = new Thread(new Runnable() { in createProfileThread() local
/system/bt/gd/os/linux_generic/
Dthread_unittest.cc32 …explicit SampleReactable(Thread* thread) : thread_(thread), fd_(eventfd(0, 0)), is_same_thread_che… in SampleReactable()
65 Thread* thread = nullptr; member in bluetooth::os::__anon52d6cbf20111::ThreadTest
Dhandler.cc34 Handler::Handler(Thread* thread) in Handler()
Dalarm.cc35 Alarm::Alarm(Thread* thread) in Alarm()
Drepeating_alarm.cc35 RepeatingAlarm::RepeatingAlarm(Thread* thread) in RepeatingAlarm()
/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.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/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/extras/toolchain-extras/
Dprofile-extras.cpp103 pthread_t thread; in init_profile_extras() local
/system/netd/libnetdutils/include/netdutils/
DThreadUtil.h57 pthread_t thread; in threadLaunch() local
/system/core/init/
Dueventd_test.cpp64 for (auto& thread : threads) { in WriteFromMultipleThreads() local
196 for (auto& thread : threads) { in TEST() local

1234