Lines Matching refs:thread
46 Thread* thread = Thread::FromManagedThread(soa, java_thread); in Thread_isInterrupted() local
47 return (thread != nullptr) ? thread->IsInterrupted() : JNI_FALSE; in Thread_isInterrupted()
77 Thread* thread = Thread::FromManagedThread(soa, java_thread); in Thread_nativeGetStatus() local
78 if (thread != nullptr) { in Thread_nativeGetStatus()
79 internal_thread_state = thread->GetState(); in Thread_nativeGetStatus()
125 Thread* thread = soa.Self(); in Thread_holdsLock() local
126 return thread->HoldsLock(object); in Thread_holdsLock()
132 Thread* thread = Thread::FromManagedThread(soa, java_thread); in Thread_interrupt0() local
133 if (thread != nullptr) { in Thread_interrupt0()
134 thread->Interrupt(soa.Self()); in Thread_interrupt0()
152 Thread* thread = thread_list->SuspendThreadByPeer(peer, SuspendReason::kInternal); in Thread_setNativeName() local
153 if (thread != nullptr) { in Thread_setNativeName()
156 thread->SetThreadName(name.c_str()); in Thread_setNativeName()
158 bool resumed = thread_list->Resume(thread, SuspendReason::kInternal); in Thread_setNativeName()
171 Thread* thread = Thread::FromManagedThread(soa, java_thread); in Thread_setPriority0() local
172 if (thread != nullptr) { in Thread_setPriority0()
173 thread->SetNativePriority(new_priority); in Thread_setPriority0()