| /external/testng/src/test/java/test/ant/ |
| MultipleThreadTest.java | 26 _threads.add(Thread.currentThread());
31 _threads.add(Thread.currentThread());
36 _threads.add(Thread.currentThread());
41 _threads.add(Thread.currentThread());
46 _threads.add(Thread.currentThread());
51 _threads.add(Thread.currentThread());
56 _threads.add(Thread.currentThread());
61 _threads.add(Thread.currentThread());
66 _threads.add(Thread.currentThread());
71 _threads.add(Thread.currentThread());
[all...] |
| /external/junit/src/main/java/org/junit/internal/ |
| Classes.java | 3 import static java.lang.Thread.currentThread;
16 return Class.forName(className, true, currentThread().getContextClassLoader());
|
| /external/testng/src/test/java/test/testng285/ |
| Derived.java | 9 log(Thread.currentThread().getId()); 14 log(Thread.currentThread().getId());
|
| /external/guava/guava/src/com/google/common/util/concurrent/ |
| Callables.java | 63 Thread currentThread = Thread.currentThread(); 64 String oldName = currentThread.getName(); 65 boolean restoreName = trySetName(nameSupplier.get(), currentThread); 70 trySetName(oldName, currentThread); 91 Thread currentThread = Thread.currentThread(); 92 String oldName = currentThread.getName(); 93 boolean restoreName = trySetName(nameSupplier.get(), currentThread); 98 trySetName(oldName, currentThread); [all...] |
| /external/testng/src/test/java/test/thread/ |
| SequentialSample2Test.java | 9 addId("SequentialSample2Test.f1()", Thread.currentThread().getId());
13 addId("SequentialSample2Test.f2()", Thread.currentThread().getId());
17 addId("SequentialSample2Test.f3()", Thread.currentThread().getId());
|
| SequentialSample3Test.java | 9 addId("SequentialSample3Test.f1()", Thread.currentThread().getId());
13 addId("SequentialSample3Test.f2()", Thread.currentThread().getId());
17 addId("SequentialSample3Test.f3()", Thread.currentThread().getId());
|
| SequentialSampleTest.java | 9 addId("SequentialSampleTest.f1()", Thread.currentThread().getId());
13 addId("SequentialSampleTest.f2()", Thread.currentThread().getId());
17 addId("SequentialSampleTest.f3()", Thread.currentThread().getId());
|
| SingleThreadedSample2Test.java | 10 addId("SingleThreadedSample2Test.f1()", Thread.currentThread().getId());
15 addId("SingleThreadedSample2Test.f2()", Thread.currentThread().getId());
20 addId("SingleThreadedSample2Test.f3()", Thread.currentThread().getId());
|
| SingleThreadedSample3Test.java | 10 addId("SingleThreadedSample3Test.f1()", Thread.currentThread().getId());
15 addId("SingleThreadedSample3Test.f2()", Thread.currentThread().getId());
20 addId("SingleThreadedSample3Test.f3()", Thread.currentThread().getId());
|
| SingleThreadedSampleTest.java | 10 addId("SingleThreadedSampleTest.f1()", Thread.currentThread().getId());
15 addId("SingleThreadedSampleTest.f2()", Thread.currentThread().getId());
20 addId("SingleThreadedSampleTest.f3()", Thread.currentThread().getId());
|
| Sample1.java | 9 logThread(Thread.currentThread().getId());
|
| Test1Test.java | 10 addId("Test1Test.f11()", Thread.currentThread().getId()); 16 addId("Test1Test.f12()", Thread.currentThread().getId());
|
| Test2Test.java | 10 addId("Test2Test.f21()", Thread.currentThread().getId()); 16 addId("Test2Test.f22()", Thread.currentThread().getId());
|
| /external/testng/src/test/java/test/testng56/ |
| ParallelTest.java | 14 System.out.println(Thread.currentThread().getId() + ":setup");
19 System.out.println(Thread.currentThread().getId() + ":teardown");
24 System.out.println(Thread.currentThread().getId() + ":test1");
29 System.out.println(Thread.currentThread().getId() + ":test2");
34 System.out.println(Thread.currentThread().getId() + ":test3");
39 System.out.println(Thread.currentThread().getId() + ":test4");
44 System.out.println(Thread.currentThread().getId() + ":test5");
|
| /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/ |
| NamedRunnable.java | 30 String oldName = Thread.currentThread().getName(); 31 Thread.currentThread().setName(name); 35 Thread.currentThread().setName(oldName);
|
| /libcore/ojluni/src/main/java/java/io/ |
| SerialCallbackContext.java | 51 this.thread = Thread.currentThread(); 64 if (thread != null && thread != Thread.currentThread()) { 66 "expected thread: " + thread + ", but got: " + Thread.currentThread()); 71 if (thread != Thread.currentThread()) {
|
| /external/testng/src/test/java/test/timeout/ |
| InvocationTimeOutSampleTest.java | 12 Thread.currentThread().interrupt(); 21 Thread.currentThread().interrupt();
|
| TestTimeOutSampleTest.java | 12 Thread.currentThread().interrupt();
|
| /external/testng/src/test/java/test/tmp/ |
| Tmp.java | 11 ppp("START " + Thread.currentThread().getId()); 17 Thread.currentThread().interrupt(); 20 ppp("END " + Thread.currentThread().getId());
|
| Base.java | 8 System.out.println("Thread" + Thread.currentThread().getId());
|
| /external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/util/ |
| AppRTCUtils.java | 33 threadId = Thread.currentThread().getId(); 38 return threadId.equals(Thread.currentThread().getId()); 51 return "@[name=" + Thread.currentThread().getName() 52 + ", id=" + Thread.currentThread().getId() + "]";
|
| /external/testng/src/test/java/test/invokedmethodlistener/ |
| Sample.java | 14 Thread.currentThread().interrupt(); 23 Thread.currentThread().interrupt();
|
| /frameworks/base/core/java/android/util/ |
| TimingsTraceLog.java | 43 mThreadId = Thread.currentThread().getId(); 77 final Thread currentThread = Thread.currentThread(); 78 if (currentThread.getId() != mThreadId) { 81 + currentThread.getName() + " (tid: " + currentThread.getId() + ")");
|
| /external/guava/guava-tests/test/com/google/common/util/concurrent/ |
| CallablesTest.java | 45 String oldName = Thread.currentThread().getName(); 49 assertEquals(Thread.currentThread().getName(), newName.get()); 54 assertEquals(oldName, Thread.currentThread().getName()); 58 String oldName = Thread.currentThread().getName(); 63 assertEquals(Thread.currentThread().getName(), newName.get()); 71 assertEquals(oldName, Thread.currentThread().getName()); 84 final String oldName = Thread.currentThread().getName(); 88 assertEquals(Thread.currentThread().getName(), oldName); 93 assertEquals(oldName, Thread.currentThread().getName());
|
| /frameworks/base/services/robotests/src/com/android/server/testing/shadows/ |
| FrameworkShadowLooper.java | 33 public void setCurrentThread(boolean currentThread) { 34 mIsCurrentThread = Optional.of(currentThread); 46 return Thread.currentThread() == mLooper.getThread();
|