Home
last modified time | relevance | path

Searched defs:thread (Results 1 – 25 of 53) 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
150 std::thread thread(CloseWithPacketThreadFunc, &arg); in TEST_F() local
173 std::thread thread(CloseWithPacketThreadFunc, &arg); in TEST_F() local
205 std::thread thread(CloseWithPacketThreadFunc, &arg); in TEST_F() local
251 std::thread thread(CloseRdHupSocketThreadFunc, &arg); in TEST_F() local
Dfdevent_test.cpp83 std::thread thread(fdevent_loop); in TEST_F() local
124 std::thread thread(FdEventThreadFunc, &thread_arg); in TEST_F() local
173 std::thread thread(InvalidFdThreadFunc); in TEST_F() local
181 std::thread thread(fdevent_loop); in TEST_F() local
Dfdevent_test.h64 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
158 std::thread thread([&]() { in TEST() local
Dcmd_report_sample.cpp322 auto& thread = proto_record.thread(); in DumpProtobufReport() local
374 const ThreadEntry* thread = in PrintSampleRecordInProtobuf() local
430 bool ReportSampleCommand::GetCallEntry(const ThreadEntry* thread, in GetCallEntry()
454 bool ReportSampleCommand::GetCallEntry(const ThreadEntry* thread, in GetCallEntry()
526 for (auto& thread : threads) { in PrintThreadInfoInProtobuf() local
549 const ThreadEntry* thread = in PrintSampleRecord() 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
202 const MapEntry* ThreadTree::FindMap(const ThreadEntry* thread, uint64_t ip, in FindMap()
213 const MapEntry* ThreadTree::FindMap(const ThreadEntry* thread, uint64_t ip) { in FindMap()
Ddwarf_unwind.cpp97 std::vector<uint64_t> UnwindCallChain(int abi, const ThreadEntry& thread, in UnwindCallChain()
Dreport_sample.proto73 Thread thread = 4; field
Dcmd_stat_test.cpp160 std::thread thread([]() { in TEST() local
170 std::thread thread([&]() { in TEST() local
DUnixSocket_test.cpp108 std::thread thread( in TEST() local
177 std::thread thread( in TEST() local
/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/netd/server/
Dthread_util.h53 pthread_t thread; in threadLaunch() 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
/system/core/libbacktrace/
Dbacktrace_test.cpp79 thread_t thread; member
211 thread_t* thread = reinterpret_cast<thread_t*>(data); in ThreadSetState() local
444 pthread_t thread; in TEST() local
502 thread_t* thread = reinterpret_cast<thread_t*>(data); in ThreadLevelRun() local
515 pthread_t thread; in TEST() local
565 pthread_t thread; in TEST() local
593 thread_t* thread = reinterpret_cast<thread_t*>(data); in ThreadMaxRun() local
606 pthread_t thread; in TEST() local
1019 pthread_t thread; in TEST() local
1790 pthread_t thread; in TEST() local
/system/bt/test/suite/core/
Dthread_performance_test.cc18 thread_t* thread; variable
/system/vold/bench/
Dbenchgen.py35 def __init__(self, thread, time, call, args, ret): argument
114 thread = int(fn.split(".")[-1]) variable

123