/external/testng/src/test/java/test/ant/ |
D | MultipleThreadTest.java | 26 _threads.add(Thread.currentThread()); in recordThread00() 31 _threads.add(Thread.currentThread()); in recordThread01() 36 _threads.add(Thread.currentThread()); in recordThread02() 41 _threads.add(Thread.currentThread()); in recordThread03() 46 _threads.add(Thread.currentThread()); in recordThread04() 51 _threads.add(Thread.currentThread()); in recordThread05() 56 _threads.add(Thread.currentThread()); in recordThread06() 61 _threads.add(Thread.currentThread()); in recordThread07() 66 _threads.add(Thread.currentThread()); in recordThread08() 71 _threads.add(Thread.currentThread()); in recordThread09() [all …]
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | 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); 106 private static boolean trySetName(final String threadName, Thread currentThread) { 111 currentThread.setName(threadName);
|
D | Uninterruptibles.java | 65 Thread.currentThread().interrupt(); in awaitUninterruptibly() 93 Thread.currentThread().interrupt(); in awaitUninterruptibly() 114 Thread.currentThread().interrupt(); in joinUninterruptibly() 144 Thread.currentThread().interrupt(); in getUninterruptibly() 181 Thread.currentThread().interrupt(); in getUninterruptibly() 210 Thread.currentThread().interrupt(); in joinUninterruptibly() 230 Thread.currentThread().interrupt(); in takeUninterruptibly() 257 Thread.currentThread().interrupt(); in putUninterruptibly() 284 Thread.currentThread().interrupt(); in sleepUninterruptibly() 324 Thread.currentThread().interrupt(); in tryAcquireUninterruptibly()
|
/external/chromium-trace/catapult/third_party/Paste/paste/util/ |
D | threadedprint.py | 92 def write(self, v, currentThread=threading.currentThread): argument 93 name = currentThread().getName() 103 name = threading.currentThread().getName() 111 name = threading.currentThread().getName() 134 currentThread=threading.currentThread): argument 136 name = currentThread().getName() 140 currentThread=threading.currentThread): argument 142 name = currentThread().getName() 192 def read(self, size=None, currentThread=threading.currentThread): argument 193 name = currentThread().getName() [all …]
|
/external/testng/src/test/java/test/testng56/ |
D | ParallelTest.java | 14 System.out.println(Thread.currentThread().getId() + ":setup"); in setup() 19 System.out.println(Thread.currentThread().getId() + ":teardown"); in teardown() 24 System.out.println(Thread.currentThread().getId() + ":test1"); in test1() 29 System.out.println(Thread.currentThread().getId() + ":test2"); in test2() 34 System.out.println(Thread.currentThread().getId() + ":test3"); in test3() 39 System.out.println(Thread.currentThread().getId() + ":test4"); in test4() 44 System.out.println(Thread.currentThread().getId() + ":test5"); in test5()
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | CallablesTest.java | 45 String oldName = Thread.currentThread().getName(); in testRenaming() 49 assertEquals(Thread.currentThread().getName(), newName.get()); in testRenaming() 54 assertEquals(oldName, Thread.currentThread().getName()); in testRenaming() 58 String oldName = Thread.currentThread().getName(); in testRenaming_exceptionalReturn() 63 assertEquals(Thread.currentThread().getName(), newName.get()); in testRenaming_exceptionalReturn() 71 assertEquals(oldName, Thread.currentThread().getName()); in testRenaming_exceptionalReturn() 84 final String oldName = Thread.currentThread().getName(); in testRenaming_noPermissions() 88 assertEquals(Thread.currentThread().getName(), oldName); in testRenaming_noPermissions() 93 assertEquals(oldName, Thread.currentThread().getName()); in testRenaming_noPermissions()
|
D | InterruptionUtil.java | 78 final Thread interruptee = Thread.currentThread(); in requestInterruptIn() 95 new Interruptenator(Thread.currentThread(), interruptPeriodMillis); in repeatedlyInterruptTestThread() 138 Thread.currentThread().interrupt(); in joinUninterruptibly()
|
/external/guice/core/test/com/google/inject/internal/ |
D | CycleDetectingLockTest.java | 43 if (Thread.currentThread().getName().equals("T2")) { in testSingletonThreadsRuntimeCircularDependency() 50 assertEquals("T1", Thread.currentThread().getName()); in testSingletonThreadsRuntimeCircularDependency() 59 if (Thread.currentThread().getName().equals("T1")) { in testSingletonThreadsRuntimeCircularDependency() 67 assertEquals("T2", Thread.currentThread().getName()); in testSingletonThreadsRuntimeCircularDependency() 75 Thread.currentThread().setName("T1"); in testSingletonThreadsRuntimeCircularDependency() 87 Thread.currentThread().setName("T2"); in testSingletonThreadsRuntimeCircularDependency()
|
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
D | ThreadUtils.java | 42 private Thread thread = Thread.currentThread(); 46 thread = Thread.currentThread(); in checkIsOnValidThread() 48 if (Thread.currentThread() != thread) { in checkIsOnValidThread() 87 Thread.currentThread().interrupt(); in executeUninterruptibly() 109 Thread.currentThread().interrupt(); in joinUninterruptibly() 151 Thread.currentThread().interrupt(); in awaitUninterruptibly()
|
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/util/ |
D | AppRTCUtils.java | 33 threadId = Thread.currentThread().getId(); in NonThreadSafe() 38 return threadId.equals(Thread.currentThread().getId()); in calledOnValidThread() 51 return "@[name=" + Thread.currentThread().getName() in getThreadInfo() 52 + ", id=" + Thread.currentThread().getId() + "]"; in getThreadInfo()
|
D | LooperExecutor.java | 37 threadId = Thread.currentThread().getId(); in run() 79 return (Thread.currentThread().getId() == threadId); in checkOnLooperThread() 88 if (Thread.currentThread().getId() == threadId) { in execute()
|
/external/testng/src/test/java/test/thread/ |
D | SequentialSample3Test.java | 9 addId("SequentialSample3Test.f1()", Thread.currentThread().getId()); in f1() 13 addId("SequentialSample3Test.f2()", Thread.currentThread().getId()); in f2() 17 addId("SequentialSample3Test.f3()", Thread.currentThread().getId()); in f3()
|
D | SequentialSample2Test.java | 9 addId("SequentialSample2Test.f1()", Thread.currentThread().getId()); in f1() 13 addId("SequentialSample2Test.f2()", Thread.currentThread().getId()); in f2() 17 addId("SequentialSample2Test.f3()", Thread.currentThread().getId()); in f3()
|
D | SequentialSampleTest.java | 9 addId("SequentialSampleTest.f1()", Thread.currentThread().getId()); in f1() 13 addId("SequentialSampleTest.f2()", Thread.currentThread().getId()); in f2() 17 addId("SequentialSampleTest.f3()", Thread.currentThread().getId()); in f3()
|
D | SingleThreadedSampleTest.java | 10 addId("SingleThreadedSampleTest.f1()", Thread.currentThread().getId()); in f1() 15 addId("SingleThreadedSampleTest.f2()", Thread.currentThread().getId()); in f2() 20 addId("SingleThreadedSampleTest.f3()", Thread.currentThread().getId()); in f3()
|
D | SingleThreadedSample2Test.java | 10 addId("SingleThreadedSample2Test.f1()", Thread.currentThread().getId()); in f1() 15 addId("SingleThreadedSample2Test.f2()", Thread.currentThread().getId()); in f2() 20 addId("SingleThreadedSample2Test.f3()", Thread.currentThread().getId()); in f3()
|
D | SingleThreadedSample3Test.java | 10 addId("SingleThreadedSample3Test.f1()", Thread.currentThread().getId()); in f1() 15 addId("SingleThreadedSample3Test.f2()", Thread.currentThread().getId()); in f2() 20 addId("SingleThreadedSample3Test.f3()", Thread.currentThread().getId()); in f3()
|
D | Test2Test.java | 10 addId("Test2Test.f21()", Thread.currentThread().getId()); in f21() 16 addId("Test2Test.f22()", Thread.currentThread().getId()); in f22()
|
D | Test1Test.java | 10 addId("Test1Test.f11()", Thread.currentThread().getId()); in f11() 16 addId("Test1Test.f12()", Thread.currentThread().getId()); in f12()
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | ResourcesTest.java | 158 Thread.currentThread().getContextClassLoader(); in testGetResource_contextClassLoader() 160 Thread.currentThread().setContextClassLoader(loader); in testGetResource_contextClassLoader() 165 Thread.currentThread().setContextClassLoader(oldContextLoader); in testGetResource_contextClassLoader() 171 Thread.currentThread().getContextClassLoader(); in testGetResource_contextClassLoaderNull() 173 Thread.currentThread().setContextClassLoader(null); in testGetResource_contextClassLoaderNull() 182 Thread.currentThread().setContextClassLoader(oldContextLoader); in testGetResource_contextClassLoaderNull()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/ |
D | NamedRunnable.java | 30 String oldName = Thread.currentThread().getName(); in run() 31 Thread.currentThread().setName(name); in run() 35 Thread.currentThread().setName(oldName); in run()
|
/external/testng/src/test/java/test/tmp/ |
D | Tmp.java | 11 ppp("START " + Thread.currentThread().getId()); in f() 17 Thread.currentThread().interrupt(); in f() 20 ppp("END " + Thread.currentThread().getId()); in f()
|
/external/jetty/src/java/org/eclipse/jetty/util/preventers/ |
D | AbstractLeakPreventer.java | 50 ClassLoader loader = Thread.currentThread().getContextClassLoader(); in doStart() 53 Thread.currentThread().setContextClassLoader(getClass().getClassLoader()); in doStart() 59 Thread.currentThread().setContextClassLoader(loader); in doStart()
|
/external/guava/guava-testlib/test/com/google/common/testing/ |
D | GcFinalizationTest.java | 126 Interruptenator interruptenator = new Interruptenator(Thread.currentThread()); in testAwait_CountDownLatch_Interrupted() 142 Interruptenator interruptenator = new Interruptenator(Thread.currentThread()); in testAwaitDone_Future_Interrupted_Interrupted() 158 Interruptenator interruptenator = new Interruptenator(Thread.currentThread()); in testAwaitClear_Interrupted() 174 Interruptenator interruptenator = new Interruptenator(Thread.currentThread()); in testAwaitDone_FinalizationPredicate_Interrupted()
|
/external/testng/src/test/java/test/testng285/ |
D | Derived.java | 9 log(Thread.currentThread().getId()); in f1() 14 log(Thread.currentThread().getId()); in f2()
|