Home
last modified time | relevance | path

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

123

/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
Dsemaphore_test.cc74 thread_t* thread = thread_new("semaphore_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()
Dmain.cpp103 Thread* thread = threads.FindThread(tid); in ProcessDump() local
/system/core/adb/
Dsocket_test.cpp87 std::thread thread(fdevent_loop); in TEST_F() local
146 std::thread thread(CloseWithPacketThreadFunc, &arg); in TEST_F() local
169 std::thread thread(CloseWithPacketThreadFunc, &arg); in TEST_F() local
201 std::thread thread(CloseWithPacketThreadFunc, &arg); in TEST_F() local
229 std::thread thread(fdevent_loop); in TEST_F() local
286 std::thread thread(CloseRdHupSocketThreadFunc, &arg); in TEST_F() local
Dfdevent_test.cpp84 std::thread thread(fdevent_loop); in TEST_F() local
125 std::thread thread(FdEventThreadFunc, &thread_arg); in TEST_F() local
174 std::thread thread(InvalidFdThreadFunc); in TEST_F() local
182 std::thread thread(fdevent_loop); in TEST_F() local
221 std::thread thread(fdevent_loop); in TEST_F() local
Dfdevent_test.h59 void TerminateThread(std::thread& thread) { in TerminateThread()
/system/extras/simpleperf/
DIOEventLoop_test.cpp48 std::thread thread([&]() { in TEST() local
82 std::thread thread([&]() { in TEST() local
110 std::thread thread([&]() { in TEST() local
168 std::thread thread([&]() { in TEST() local
Dthread_tree.cpp49 ThreadEntry* thread = FindThreadOrNew(pid, tid); in SetThreadName() local
92 ThreadEntry* thread = new ThreadEntry{ in CreateThread() local
132 ThreadEntry* thread = FindThreadOrNew(pid, tid); in AddThreadMap() local
203 const MapEntry* ThreadTree::FindMap(const ThreadEntry* thread, uint64_t ip, in FindMap()
214 const MapEntry* ThreadTree::FindMap(const ThreadEntry* thread, uint64_t ip) { in FindMap()
Dcmd_report_sample.cpp329 auto& thread = proto_record.thread(); in DumpProtobufReport() local
436 const ThreadEntry* thread = in PrintSampleRecordInProtobuf() local
514 bool ReportSampleCommand::GetCallEntry(const ThreadEntry* thread, in GetCallEntry()
586 for (auto& thread : threads) { in PrintThreadInfoInProtobuf() local
613 const ThreadEntry* thread = in PrintSampleRecord() local
Dreport_sample.proto87 Thread thread = 4; field
/system/core/base/
Dproperties_test.cpp130 std::thread thread([&]() { in TEST() local
156 std::thread thread([&]() { in TEST() local
172 std::thread thread([&]() { in TEST() local
187 std::thread thread([&]() { in TEST() local
/system/extras/simpleperf/runtest/
Dfunction_pthread.cpp21 pthread_t thread; in main() 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
DUnwindTest.cpp219 std::thread thread([&]() { in TEST_F() local
329 std::thread* thread = new std::thread([i, &frames, &maps, &process_memory, &wait]() { in TEST_F() local
343 for (auto thread : threads) { in TEST_F() local
/system/netd/server/
Dthread_util.h53 pthread_t thread; in threadLaunch() local
/system/core/init/
Dueventd_test.cpp65 for (auto& thread : threads) { in WriteFromMultipleThreads() local
197 for (auto& thread : threads) { in TEST() local
/system/bt/test/suite/core/
Dthread_performance_test.cc18 thread_t* thread; variable
/system/core/debuggerd/
Ddebuggerd_benchmark.cpp102 auto thread = std::thread([&]() { max_pause = GetMaximumPause(thread_state); }); in BM_maximum_pause_impl() local
/system/core/debuggerd/libdebuggerd/
Dbacktrace.cpp62 void dump_backtrace_thread(int output_fd, BacktraceMap* map, const ThreadInfo& thread) { in dump_backtrace_thread()

123