/libcore/luni/src/main/java/java/lang/ |
D | ThreadLocal.java | 59 Thread currentThread = Thread.currentThread(); in get() local 60 Values values = values(currentThread); in get() 68 values = initializeValues(currentThread); in get() 92 Thread currentThread = Thread.currentThread(); in set() local 93 Values values = values(currentThread); in set() 95 values = initializeValues(currentThread); in set() 109 Thread currentThread = Thread.currentThread(); in remove() local 110 Values values = values(currentThread); in remove()
|
D | LangAccessImpl.java | 48 Thread.currentThread().parkFor(nanos); in parkFor() 53 Thread.currentThread().parkUntil(time); in parkUntil()
|
D | Thread.java | 463 Thread currentThread = Thread.currentThread(); in create() local 465 group = currentThread.getThreadGroup(); in create() 488 this.priority = currentThread.getPriority(); in create() 490 this.contextClassLoader = currentThread.contextClassLoader; in create() 493 if (currentThread.inheritableValues != null) { in create() 495 = new ThreadLocal.Values(currentThread.inheritableValues); in create() 512 return currentThread().getThreadGroup().activeCount(); in activeCount() 556 public static Thread currentThread() { in currentThread() method in Thread 557 return VMThread.currentThread(); in currentThread() 596 Thread thread = Thread.currentThread(); in enumerate() [all …]
|
D | ThreadGroup.java | 95 this(Thread.currentThread().getThreadGroup(), name); in ThreadGroup() 112 if (Thread.currentThread() != null) { in ThreadGroup() 750 Thread.currentThread().stop(); in stop() 765 Thread current = Thread.currentThread(); in stopHelper() 799 Thread.currentThread().suspend(); in suspend() 814 Thread current = Thread.currentThread(); in suspendHelper()
|
D | VMThread.java | 33 static native Thread currentThread(); in currentThread() method in VMThread
|
/libcore/luni/src/main/java/java/util/concurrent/locks/ |
D | LockSupport.java | 155 Thread t = Thread.currentThread(); in park() 195 Thread t = Thread.currentThread(); in parkNanos() 236 Thread t = Thread.currentThread(); in parkUntil()
|
D | ReentrantLock.java | 105 final Thread current = Thread.currentThread(); in nonfairTryAcquire() 125 if (Thread.currentThread() != getExclusiveOwnerThread()) in tryRelease() 139 return getExclusiveOwnerThread() == Thread.currentThread(); in isHeldExclusively() 183 setExclusiveOwnerThread(Thread.currentThread()); in lock() 208 final Thread current = Thread.currentThread(); in tryAcquire()
|
D | ReentrantReadWriteLock.java | 252 final long tid = Thread.currentThread().getId(); 365 Thread current = Thread.currentThread(); in tryAcquire() 386 Thread current = Thread.currentThread(); in tryReleaseShared() 437 Thread current = Thread.currentThread(); in tryAcquireShared() 529 Thread current = Thread.currentThread(); in tryWriteLock() 550 Thread current = Thread.currentThread(); in tryReadLock() 581 return getExclusiveOwnerThread() == Thread.currentThread(); in isHeldExclusively() 613 Thread current = Thread.currentThread(); in getReadHoldCount()
|
/libcore/luni/src/main/java/java/security/ |
D | AccessController.java | 210 Thread currThread = Thread.currentThread(); in contextsForThread() 290 Thread currentThread = Thread.currentThread(); in getContext() local 291 if (currentThread == null || AccessController.contexts == null) { in getContext() 300 ? SecurityUtils.getContext(currentThread) in getContext()
|
/libcore/luni/src/test/java/tests/api/java/util/concurrent/ |
D | ThreadTest.java | 31 Thread current = Thread.currentThread(); in testGetAndSetUncaughtExceptionHandler() 50 Thread current = Thread.currentThread(); in testGetAndSetDefaultUncaughtExceptionHandler()
|
D | ThreadLocalTest.java | 68 Thread.currentThread().yield(); in run() 73 Thread.currentThread().yield(); in run()
|
D | ExecutorsTest.java | 258 final ThreadGroup egroup = Thread.currentThread().getThreadGroup(); in testDefaultThreadFactory() 262 Thread current = Thread.currentThread(); in testDefaultThreadFactory() 301 final ThreadGroup egroup = Thread.currentThread().getThreadGroup(); in testPrivilegedThreadFactory() 302 final ClassLoader thisccl = Thread.currentThread().getContextClassLoader(); in testPrivilegedThreadFactory() 306 Thread current = Thread.currentThread(); in testPrivilegedThreadFactory()
|
/libcore/luni/src/main/java/java/nio/channels/spi/ |
D | AbstractInterruptibleChannel.java | 123 setInterruptAction.invoke(Thread.currentThread(), in begin() 159 setInterruptAction.invoke(Thread.currentThread(), in end()
|
D | AbstractSelector.java | 142 .currentThread(), new Object[] { new Runnable() { in begin() 163 .currentThread(), new Object[] { null }); in end()
|
/libcore/luni/src/main/java/java/io/ |
D | PipedInputStream.java | 220 lastReader = Thread.currentThread(); in read() 314 lastReader = Thread.currentThread(); in read() 400 lastWriter = Thread.currentThread();
|
D | PipedReader.java | 250 lastReader = Thread.currentThread(); in read() 361 lastWriter = Thread.currentThread(); in receive() 421 lastWriter = Thread.currentThread(); in receive()
|
/libcore/luni/src/main/java/org/xml/sax/helpers/ |
D | NewInstance.java | 70 return (ClassLoader) m.invoke(Thread.currentThread()); in getClassLoader()
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | Executors.java | 498 this.ccl = Thread.currentThread().getContextClassLoader(); 507 Thread t = Thread.currentThread(); 539 Thread.currentThread().getThreadGroup(); 577 this.ccl = Thread.currentThread().getContextClassLoader(); 585 Thread.currentThread().setContextClassLoader(ccl);
|
D | FutureTask.java | 302 runner = Thread.currentThread(); in innerRun() 321 runner = Thread.currentThread(); in innerRunAndReset()
|
D | Exchanger.java | 373 long id = Thread.currentThread().getId(); in hashIndex() 463 Thread w = Thread.currentThread(); in await() 499 w = Thread.currentThread(); in awaitNanos()
|
/libcore/dalvik/src/test/java/dalvik/system/ |
D | SamplingProfilerTest.java | 29 ThreadSet threadSet = SamplingProfiler.newArrayThreadSet(Thread.currentThread()); in test_SamplingProfiler_basic()
|
/libcore/luni/src/main/java/org/apache/xalan/extensions/ |
D | ObjectFactory.java | 52 return Thread.currentThread().getContextClassLoader(); in findClassLoader()
|
/libcore/luni/src/main/java/javax/net/ssl/ |
D | SSLServerSocketFactory.java | 53 ClassLoader cl = Thread.currentThread().getContextClassLoader(); in getDefault()
|
/libcore/luni/src/main/java/javax/xml/transform/ |
D | TransformerFactory.java | 95 classLoader = Thread.currentThread().getContextClassLoader(); in newInstance()
|
/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
D | SSLSessionTest.java | 274 Thread.currentThread().sleep(1000); in setUp() 283 Thread.currentThread().sleep(500); in setUp() 533 Thread.currentThread().sleep(500); in run() 603 Thread.currentThread().sleep(500); in run()
|