Home
last modified time | relevance | path

Searched refs:thread_data (Results 1 – 3 of 3) 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.cpp584 thread_t thread_data = { 0, 0, 0, nullptr }; in TEST_F() local
586 ASSERT_TRUE(pthread_create(&thread, &attr, ThreadLevelRun, &thread_data) == 0); in TEST_F()
589 ASSERT_TRUE(WaitForNonZero(&thread_data.state, 2)); in TEST_F()
601 std::unique_ptr<Backtrace> backtrace(Backtrace::Create(getpid(), thread_data.tid)); in TEST_F()
609 android_atomic_acquire_store(0, &thread_data.state); in TEST_F()
634 thread_t thread_data = { 0, 0, 0, nullptr }; in TEST_F() local
636 ASSERT_TRUE(pthread_create(&thread, &attr, ThreadLevelRun, &thread_data) == 0); in TEST_F()
639 ASSERT_TRUE(WaitForNonZero(&thread_data.state, 2)); in TEST_F()
641 std::unique_ptr<Backtrace> all(Backtrace::Create(getpid(), thread_data.tid)); in TEST_F()
646 std::unique_ptr<Backtrace> ign1(Backtrace::Create(getpid(), thread_data.tid)); in TEST_F()
[all …]
/system/chre/host/msm/daemon/
Dchre_daemon.cc905 struct reverse_monitor_thread_data *thread_data = in chre_reverse_monitor_thread() local
914 pthread_mutex_lock(&thread_data->mutex); in chre_reverse_monitor_thread()
915 pthread_cond_wait(&thread_data->cond, &thread_data->mutex); in chre_reverse_monitor_thread()
916 pthread_mutex_unlock(&thread_data->mutex); in chre_reverse_monitor_thread()