Home
last modified time | relevance | path

Searched refs:Thread (Results 1 – 25 of 28) sorted by relevance

12

/system/extras/memory_replay/
DThread.cpp22 Thread::Thread() { in Thread() function in Thread
26 Thread::~Thread() { in ~Thread()
30 void Thread::WaitForReady() { in WaitForReady()
38 void Thread::WaitForPending() { in WaitForPending()
46 void Thread::SetPending() { in SetPending()
53 void Thread::ClearPending() { in ClearPending()
60 Action* Thread::CreateAction(uintptr_t key_pointer, const char* type, const char* line) { in CreateAction()
DThreads.h24 class Thread; variable
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; variable
DThreads.cpp34 Thread* thread = reinterpret_cast<Thread*>(data); in ThreadRunner()
51 data_size_ = (max_threads_ * sizeof(Thread) + pagesize - 1) & ~(pagesize - 1); in Threads()
52 max_threads_ = data_size_ / sizeof(Thread); in Threads()
60 if (Thread::ACTION_SIZE < Action::MaxActionSize()) { in Threads()
62 Thread::ACTION_SIZE, Action::MaxActionSize()); in Threads()
65 threads_ = new (memory) Thread[max_threads_]; in Threads()
76 Thread* Threads::CreateThread(pid_t tid) { in CreateThread()
80 Thread* thread = FindEmptyEntry(tid); in CreateThread()
96 Thread* Threads::FindThread(pid_t tid) { in FindThread()
127 Thread* Threads::FindEmptyEntry(pid_t tid) { in FindEmptyEntry()
[all …]
DThread.h29 class Thread {
31 Thread();
32 virtual ~Thread();
DAndroid.mk8 Thread.cpp \
Dmain.cpp103 Thread* thread = threads.FindThread(tid); in ProcessDump()
/system/extras/memory_replay/tests/
DThreadsTest.cpp28 Thread* thread = threads.CreateThread(900); in TEST()
32 Thread* found_thread = threads.FindThread(900); in TEST()
48 Thread* thread1 = threads.CreateThread(900); in TEST()
52 Thread* thread2 = threads.CreateThread(901); in TEST()
56 Thread* thread3 = threads.CreateThread(902); in TEST()
60 Thread* found_thread1 = threads.FindThread(900); in TEST()
63 Thread* found_thread2 = threads.FindThread(901); in TEST()
66 Thread* found_thread3 = threads.FindThread(902); in TEST()
90 Thread* thread = threads.CreateThread(900); in TEST()
117 Thread* thread = threads.CreateThread(900+i); in TestTooManyThreads()
DThreadTest.cpp27 typedef std::pair<Thread*, volatile bool*> thread_data_t;
30 Thread thread; in TEST()
38 Thread* thread = thread_data->first; in ThreadWaitForReady()
48 Thread thread; in TEST()
68 Thread* thread = thread_data->first; in ThreadWaitForPending()
78 Thread thread; in TEST()
96 Thread thread; in TEST()
104 Thread thread; in TEST()
/system/core/include/utils/
DThread.h39 class Thread : virtual public RefBase
44 Thread(bool canCallJava = true);
45 virtual ~Thread();
92 Thread& operator=(const Thread&);
103 sp<Thread> mHoldSelf;
/system/core/libutils/
DThreads.cpp648 Thread::Thread(bool canCallJava) in Thread() function in android::Thread
660 Thread::~Thread() in ~Thread()
664 status_t Thread::readyToRun() in readyToRun()
669 status_t Thread::run(const char* name, int32_t priority, size_t stack) in run()
718 int Thread::_threadLoop(void* user) in _threadLoop()
720 Thread* const self = static_cast<Thread*>(user); in _threadLoop()
722 sp<Thread> strong(self->mHoldSelf); in _threadLoop()
723 wp<Thread> weak(strong); in _threadLoop()
783 void Thread::requestExit() in requestExit()
789 status_t Thread::requestExitAndWait() in requestExitAndWait()
[all …]
/system/bt/vendor_libs/test_vendor_lib/test/
Dhci_transport_unittest.cc85 base::Thread thread_;
98 base::Thread::Options(base::MessageLoop::TYPE_IO, 0))); in StartThread()
/system/bt/service/ipc/
Dipc_handler_linux.h75 base::Thread thread_;
Dipc_handler_linux.cpp107 base::Thread::Options options(base::MessageLoop::TYPE_IO, 0); in Run()
/system/bt/vendor_libs/test_vendor_lib/include/
Dvendor_manager.h101 base::Thread thread_;
/system/core/libutils/tests/
DTestHelpers.h59 class DelayedTask : public Thread {
/system/core/adb/
Dtest_adb.py108 stdout_thread = threading.Thread(
115 stderr_thread = threading.Thread(
/system/extras/tests/net_test/
Dtcp_nuke_addr_test.py91 with RunInBackground(threading.Thread(target=TcpAcceptAndReceive,
124 class ExceptionalReadThread(threading.Thread):
Danycast_test.py41 class CloseFileDescriptorThread(threading.Thread):
/system/tpm/trunks/
Dbackground_command_transceiver_test.cc76 base::Thread test_thread_;
Dtrunksd.cc111 base::Thread background_thread(kBackgroundThreadName); in main()
/system/bt/vendor_libs/test_vendor_lib/src/
Dvendor_manager.cc88 base::Thread::Options(base::MessageLoop::TYPE_IO, 0))) { in Run()
/system/tpm/tpm_manager/server/
Dtpm_manager_service.cc39 worker_thread_.reset(new base::Thread("TpmManager Service Worker")); in Initialize()
41 base::Thread::Options(base::MessageLoop::TYPE_IO, 0)); in Initialize()
Dtpm_manager_service.h188 std::unique_ptr<base::Thread> worker_thread_;
/system/extras/pagecache/
Dpagecache.py113 class FileReaderThread(threading.Thread):
133 threading.Thread.__init__(self)
/system/tpm/attestation/server/
Dattestation_service.h303 std::unique_ptr<base::Thread> worker_thread_;

12