/system/extras/memory_replay/ |
H A D | Thread.cpp | 20 #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 D | Threads.h | 24 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 D | Thread.h | 29 class Thread { class 31 Thread(); 32 virtual ~Thread();
|
H A D | Threads.cpp | 30 #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 D | Android.mk | 8 Thread.cpp \
|
/system/extras/memory_replay/tests/ |
H A D | ThreadTest.cpp | 25 #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 D | ThreadsTest.cpp | 21 #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 D | Thread.h | 41 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 D | threads.h | 35 #include <utils/Thread.h>
|
/system/core/libutils/include/utils/ |
H A D | Thread.h | 41 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 D | threads.h | 35 #include <utils/Thread.h>
|
/system/extras/libperfmgr/ |
H A D | NodeLooperThread.cc | 29 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 D | SleepActivity.java | 16 new Thread(new Runnable() { 32 Thread.sleep(sleepTimeInNs / 1000000, (int) (sleepTimeInNs % 1000000));
|
H A D | MainActivity.java | 17 new Thread(new Runnable() {
|
H A D | MultiProcessService.java | 35 new Thread(new Runnable() {
|
H A D | MultiProcessActivity.java | 63 new Thread(new Runnable() {
|
/system/bt/service/ipc/dbus/ |
H A D | ipc_handler_dbus.h | 41 base::Thread* dbus_thread_;
|
H A D | ipc_handler_dbus.cc | 38 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 D | MixActivity.java | 20 new Thread(new Runnable() {
|
/system/extras/libperfmgr/include/perfmgr/ |
H A D | NodeLooperThread.h | 24 #include <utils/Thread.h> 52 class NodeLooperThread : public ::android::Thread { 55 : Thread(false), nodes_(std::move(nodes)) {}
|
/system/core/libutils/ |
H A D | Threads.cpp | 21 #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 D | ipc_handler_linux.h | 51 // Stops the IPC thread. This helper is needed since base::Thread requires 78 base::Thread thread_;
|
/system/core/libutils/tests/ |
H A D | TestHelpers.h | 59 class DelayedTask : public Thread {
|
/system/extras/simpleperf/scripts/inferno/ |
H A D | data_types.py | 25 class Thread: class in inherits: 69 thread = self.threads[tid] = Thread(tid, pid)
|
/system/tpm/trunks/ |
H A D | background_command_transceiver_test.cc | 76 base::Thread test_thread_;
|