HomeSort by relevance Sort by last modified time
    Searched defs:MyThread (Results 1 - 10 of 10) sorted by null

  /dalvik/tests/051-thread/src/
Main.java 9 MyThread myThread = new MyThread();
10 myThread.start();
42 static class MyThread extends Thread {
  /external/valgrind/unittest/
thread_wrappers_win.h 193 class MyThread {
197 MyThread(worker_t worker, void *arg = NULL, const char *name = NULL)
199 MyThread(void (*worker)(void), void *arg = NULL, const char *name = NULL)
201 MyThread(void (*worker)(void *), void *arg = NULL, const char *name = NULL)
204 ~MyThread(){
219 static DWORD WINAPI ThreadBody(MyThread *my_thread) {
thread_wrappers_pthread.h 334 class MyThread {
338 MyThread(worker_t worker, void *arg = NULL, const char *name = NULL)
340 MyThread(void (*worker)(void), void *arg = NULL, const char *name = NULL)
342 MyThread(void (*worker)(void *), void *arg = NULL, const char *name = NULL)
345 ~MyThread(){ w_ = NULL; arg_ = NULL;}
350 static void ThreadBody(MyThread *my_thread) {
  /frameworks/base/libs/gui/tests/
SurfaceTextureClient_test.cpp 429 class MyThread : public Thread {
446 MyThread(const sp<SurfaceTexture>& mST)
453 ~MyThread() {
470 MyThread* thread = new MyThread(mST);
  /libcore/luni/src/test/java/libcore/java/nio/channels/
OldServerSocketChannelTest.java 92 class MyThread extends Thread {
106 MyThread thread = new MyThread();
  /external/valgrind/main/drd/tests/
tsan_thread_wrappers_pthread.h 342 class MyThread {
346 MyThread(worker_t worker, void *arg = NULL, const char *name = NULL)
348 MyThread(void (*worker)(void), void *arg = NULL, const char *name = NULL)
350 MyThread(void (*worker)(void *), void *arg = NULL, const char *name = NULL)
353 ~MyThread(){ w_ = NULL; arg_ = NULL;}
358 static void ThreadBody(MyThread *my_thread) {
507 MyThread *thread = new MyThread(&ThreadPool::Worker, this);
537 std::vector<MyThread*> workers_;
  /frameworks/base/tests/CoreTests/android/core/
MiscRegressionTest.java 423 class MyThread extends Thread {
424 public MyThread(String name) {
458 MyThread t1 = new MyThread("t1");
469 // Expect to find MyThread.doSomething in the trace
470 assertTrue("Must find MyThread.doSomething in trace",
471 trace.getClassName().endsWith("$MyThread") &&
  /libcore/luni/src/test/java/libcore/java/lang/
OldThreadGroupTest.java 29 class MyThread extends Thread {
32 public MyThread(ThreadGroup group, String name)
136 List<MyThread> newThreads = populateGroupsWithThreads(group, groupSize);
139 for(MyThread thread : newThreads) {
153 for(MyThread thread : newThreads) {
195 List<MyThread> subThreads = populateGroupsWithThreads(thrGroup, 3);
202 for(MyThread thr:subThreads) {
213 List<MyThread> subThreads1 = populateGroupsWithThreads(subGroup1, 3);
220 for(MyThread thr:subThreads1) {
229 for(MyThread thr:subThreads)
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
ThreadGroupTest.java 24 class MyThread extends Thread {
27 public MyThread(ThreadGroup group, String name)
980 private boolean allSuspended(Vector<MyThread> threads) {
982 MyThread t = threads.elementAt(i);
1016 private Vector<MyThread> populateGroupsWithThreads(final ThreadGroup aGroup,
1018 Vector<MyThread> result = new Vector<MyThread>();
1025 final int threadCount, final Vector<MyThread> allCreated) {
1028 final String name = "(MyThread)N =" + iClone + "/" + threadCount
1031 MyThread t = new MyThread(aGroup, name)
    [all...]
ThreadTest.java 297 class MyThread extends Thread {
298 MyThread(ThreadGroup tg, String name) {
363 MyThread t = new MyThread(tg, "top");

Completed in 2228 milliseconds