Home
last modified time | relevance | path

Searched refs:thread_data (Results 1 – 2 of 2) sorted by relevance

/system/extras/memory_replay/tests/
DThreadTest.cpp37 thread_data_t* thread_data = reinterpret_cast<thread_data_t*>(data); in ThreadWaitForReady() local
38 Thread* thread = thread_data->first; in ThreadWaitForReady()
39 volatile bool* finish = thread_data->second; in ThreadWaitForReady()
50 thread_data_t thread_data = std::make_pair(&thread, &finish); in TEST() local
55 ASSERT_TRUE(pthread_create(&thread_id, nullptr, ThreadWaitForReady, &thread_data) == 0); in TEST()
67 thread_data_t* thread_data = reinterpret_cast<thread_data_t*>(data); in ThreadWaitForPending() local
68 Thread* thread = thread_data->first; in ThreadWaitForPending()
69 volatile bool* finish = thread_data->second; in ThreadWaitForPending()
80 thread_data_t thread_data = std::make_pair(&thread, &finish); in TEST() local
83 ASSERT_TRUE(pthread_create(&thread_id, nullptr, ThreadWaitForPending, &thread_data) == 0); in TEST()
/system/core/libbacktrace/
Dbacktrace_test.cpp511 thread_t thread_data = { 0, 0, 0, nullptr }; in TEST() local
513 ASSERT_TRUE(pthread_create(&thread, &attr, ThreadLevelRun, &thread_data) == 0); in TEST()
516 ASSERT_TRUE(WaitForNonZero(&thread_data.state, 2)); in TEST()
528 std::unique_ptr<Backtrace> backtrace(Backtrace::Create(getpid(), thread_data.tid)); in TEST()
536 android_atomic_acquire_store(0, &thread_data.state); in TEST()
561 thread_t thread_data = { 0, 0, 0, nullptr }; in TEST() local
563 ASSERT_TRUE(pthread_create(&thread, &attr, ThreadLevelRun, &thread_data) == 0); in TEST()
566 ASSERT_TRUE(WaitForNonZero(&thread_data.state, 2)); in TEST()
568 std::unique_ptr<Backtrace> all(Backtrace::Create(getpid(), thread_data.tid)); in TEST()
573 std::unique_ptr<Backtrace> ign1(Backtrace::Create(getpid(), thread_data.tid)); in TEST()
[all …]