Searched refs:Thread (Results 1 - 25 of 44) sorted by relevance

12

/system/extras/memory_replay/
H A DThread.cpp20 #include "Thread.h"
22 Thread::Thread() { function in class:Thread
26 Thread::~Thread() {
30 void Thread::WaitForReady() {
38 void Thread::WaitForPending() {
46 void Thread::SetPending() {
53 void Thread::ClearPending() {
60 Action* Thread
[all...]
H A DThreads.h24 class Thread;
31 Thread* CreateThread(pid_t tid);
32 Thread* FindThread(pid_t tid);
34 void Finish(Thread* thread);
43 Thread* threads_ = nullptr;
49 Thread* FindEmptyEntry(pid_t tid);
54 friend Thread;
H A DThread.h29 class Thread { class
31 Thread();
32 virtual ~Thread();
H A DThreads.cpp30 #include "Thread.h"
34 Thread* thread = reinterpret_cast<Thread*>(data);
51 data_size_ = (max_threads_ * sizeof(Thread) + pagesize - 1) & ~(pagesize - 1);
52 max_threads_ = data_size_ / sizeof(Thread);
60 if (Thread::ACTION_SIZE < Action::MaxActionSize()) {
61 err(1, "Thread action size is too small: ACTION_SIZE %zu, max size %zu\n",
62 Thread::ACTION_SIZE, Action::MaxActionSize());
65 threads_ = new (memory) Thread[max_threads_];
76 Thread* Thread
[all...]
H A DAndroid.mk8 Thread.cpp \
/system/extras/memory_replay/tests/
H A DThreadTest.cpp25 #include "Thread.h"
27 typedef std::pair<Thread*, volatile bool*> thread_data_t;
30 Thread thread;
38 Thread* thread = thread_data->first;
48 Thread thread;
68 Thread* thread = thread_data->first;
78 Thread thread;
96 Thread thread;
104 Thread thread;
H A DThreadsTest.cpp21 #include "Thread.h"
28 Thread* thread = threads.CreateThread(900);
32 Thread* found_thread = threads.FindThread(900);
48 Thread* thread1 = threads.CreateThread(900);
52 Thread* thread2 = threads.CreateThread(901);
56 Thread* thread3 = threads.CreateThread(902);
60 Thread* found_thread1 = threads.FindThread(900);
63 Thread* found_thread2 = threads.FindThread(901);
66 Thread* found_thread3 = threads.FindThread(902);
90 Thread* threa
[all...]
/system/core/include/utils/
H A DThread.h41 class Thread : virtual public RefBase class in namespace:android
44 // Create a Thread object, but doesn't create or start the associated
46 explicit Thread(bool canCallJava = true);
47 virtual ~Thread();
87 // here. There are two ways of using the Thread object:
94 Thread& operator=(const Thread&);
105 sp<Thread> mHoldSelf;
H A Dthreads.h35 #include <utils/Thread.h>
/system/core/libutils/include/utils/
H A DThread.h41 class Thread : virtual public RefBase class in namespace:android
44 // Create a Thread object, but doesn't create or start the associated
46 explicit Thread(bool canCallJava = true);
47 virtual ~Thread();
87 // here. There are two ways of using the Thread object:
94 Thread& operator=(const Thread&);
105 sp<Thread> mHoldSelf;
H A Dthreads.h35 #include <utils/Thread.h>
/system/extras/libperfmgr/
H A DNodeLooperThread.cc29 if (::android::Thread::exitPending()) {
33 if (!::android::Thread::isRunning()) {
68 if (::android::Thread::exitPending()) {
72 if (!::android::Thread::isRunning()) {
127 if (::android::Thread::isRunning()) {
132 ::android::Thread::requestExit();
134 ::android::Thread::join();
/system/extras/simpleperf/demo/SimpleperfExamplePureJava/app/src/main/java/com/example/simpleperf/simpleperfexamplepurejava/
H A DSleepActivity.java16 new Thread(new Runnable() {
32 Thread.sleep(sleepTimeInNs / 1000000, (int) (sleepTimeInNs % 1000000));
H A DMainActivity.java17 new Thread(new Runnable() {
H A DMultiProcessService.java35 new Thread(new Runnable() {
H A DMultiProcessActivity.java63 new Thread(new Runnable() {
/system/bt/service/ipc/dbus/
H A Dipc_handler_dbus.h41 base::Thread* dbus_thread_;
H A Dipc_handler_dbus.cc38 dbus_thread_ = new base::Thread("D-Bus Thread");
39 base::Thread::Options thread_options;
/system/extras/simpleperf/demo/SimpleperfExampleWithNative/app/src/main/java/com/example/simpleperf/simpleperfexamplewithnative/
H A DMixActivity.java20 new Thread(new Runnable() {
/system/extras/libperfmgr/include/perfmgr/
H A DNodeLooperThread.h24 #include <utils/Thread.h>
52 class NodeLooperThread : public ::android::Thread {
55 : Thread(false), nodes_(std::move(nodes)) {}
/system/core/libutils/
H A DThreads.cpp21 #include <utils/Thread.h>
49 * Thread wrappers
641 Thread::Thread(bool canCallJava) function in class:android::Thread
644 mLock("Thread::mLock"),
653 Thread::~Thread()
657 status_t Thread::readyToRun()
662 status_t Thread::run(const char* name, int32_t priority, size_t stack)
664 LOG_ALWAYS_FATAL_IF(name == nullptr, "thread name not provided to Thread
[all...]
/system/bt/service/ipc/
H A Dipc_handler_linux.h51 // Stops the IPC thread. This helper is needed since base::Thread requires
78 base::Thread thread_;
/system/core/libutils/tests/
H A DTestHelpers.h59 class DelayedTask : public Thread {
/system/extras/simpleperf/scripts/inferno/
H A Ddata_types.py25 class Thread: class in inherits:
69 thread = self.threads[tid] = Thread(tid, pid)
/system/tpm/trunks/
H A Dbackground_command_transceiver_test.cc76 base::Thread test_thread_;

Completed in 511 milliseconds

12