Lines Matching refs:soa
288 art::ScopedFastNativeObjectAccess soa(env); in JVM_InternString() local
289 art::ObjPtr<art::mirror::String> s = soa.Decode<art::mirror::String>(jstr); in JVM_InternString()
290 return soa.AddLocalReference<jstring>(s->Intern()); in JVM_InternString()
353 art::ScopedObjectAccess soa(env); in JVM_SetThreadPriority() local
354 art::MutexLock mu(soa.Self(), *art::Locks::thread_list_lock_); in JVM_SetThreadPriority()
355 art::Thread* thread = art::Thread::FromManagedThread(soa, jthread); in JVM_SetThreadPriority()
367 art::ScopedFastNativeObjectAccess soa(env); in JVM_Sleep() local
368 art::ObjPtr<art::mirror::Object> lock = soa.Decode<art::mirror::Object>(java_lock); in JVM_Sleep()
373 art::ScopedFastNativeObjectAccess soa(env); in JVM_CurrentThread() local
374 return soa.AddLocalReference<jobject>(soa.Self()->GetPeer()); in JVM_CurrentThread()
378 art::ScopedFastNativeObjectAccess soa(env); in JVM_Interrupt() local
379 art::MutexLock mu(soa.Self(), *art::Locks::thread_list_lock_); in JVM_Interrupt()
380 art::Thread* thread = art::Thread::FromManagedThread(soa, jthread); in JVM_Interrupt()
382 thread->Interrupt(soa.Self()); in JVM_Interrupt()
390 art::ScopedFastNativeObjectAccess soa(env); in JVM_IsInterrupted() local
391 art::MutexLock mu(soa.Self(), *art::Locks::thread_list_lock_); in JVM_IsInterrupted()
392 art::Thread* thread = art::Thread::FromManagedThread(soa, jthread); in JVM_IsInterrupted()
398 art::ScopedObjectAccess soa(env); in JVM_HoldsLock() local
399 art::ObjPtr<art::mirror::Object> object = soa.Decode<art::mirror::Object>(jobj); in JVM_HoldsLock()
404 return soa.Self()->HoldsLock(object); in JVM_HoldsLock()
410 art::ScopedObjectAccess soa(env); in JVM_SetNativeThreadName() local
411 if (soa.Decode<art::mirror::Object>(jthread) == soa.Self()->GetPeer()) { in JVM_SetNativeThreadName()
412 soa.Self()->SetThreadName(name.c_str()); in JVM_SetNativeThreadName()
431 art::ScopedObjectAccess soa(env); in JVM_SetNativeThreadName() local