Lines Matching refs:soa
81 ScopedObjectAccess soa(env_); in GetPrimitiveClass() local
84 return soa.AddLocalReference<jclass>(c); in GetPrimitiveClass()
136 ScopedObjectAccess soa(env_); in InvokeNopMethod() local
140 ScopedLocalRef<jobject> receiver_ref(soa.Env(), soa.AddLocalReference<jobject>(receiver)); in InvokeNopMethod()
141 InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), nullptr); in InvokeNopMethod()
145 ScopedObjectAccess soa(env_); in InvokeIdentityByteMethod() local
149 ScopedLocalRef<jobject> receiver_ref(soa.Env(), soa.AddLocalReference<jobject>(receiver)); in InvokeIdentityByteMethod()
153 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityByteMethod()
157 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityByteMethod()
161 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityByteMethod()
166 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityByteMethod()
171 ScopedObjectAccess soa(env_); in InvokeIdentityIntMethod() local
175 ScopedLocalRef<jobject> receiver_ref(soa.Env(), soa.AddLocalReference<jobject>(receiver)); in InvokeIdentityIntMethod()
179 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityIntMethod()
183 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityIntMethod()
187 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityIntMethod()
191 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityIntMethod()
196 ScopedObjectAccess soa(env_); in InvokeIdentityDoubleMethod() local
200 ScopedLocalRef<jobject> receiver_ref(soa.Env(), soa.AddLocalReference<jobject>(receiver)); in InvokeIdentityDoubleMethod()
204 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityDoubleMethod()
208 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityDoubleMethod()
212 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityDoubleMethod()
216 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityDoubleMethod()
221 ScopedObjectAccess soa(env_); in InvokeSumIntIntMethod() local
225 ScopedLocalRef<jobject> receiver_ref(soa.Env(), soa.AddLocalReference<jobject>(receiver)); in InvokeSumIntIntMethod()
230 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntMethod()
235 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntMethod()
240 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntMethod()
245 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntMethod()
250 ScopedObjectAccess soa(env_); in InvokeSumIntIntIntMethod() local
254 ScopedLocalRef<jobject> receiver_ref(soa.Env(), soa.AddLocalReference<jobject>(receiver)); in InvokeSumIntIntIntMethod()
260 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntMethod()
266 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntMethod()
272 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntMethod()
278 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntMethod()
284 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntMethod()
289 ScopedObjectAccess soa(env_); in InvokeSumIntIntIntIntMethod() local
293 ScopedLocalRef<jobject> receiver_ref(soa.Env(), soa.AddLocalReference<jobject>(receiver)); in InvokeSumIntIntIntIntMethod()
300 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntMethod()
307 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntMethod()
314 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntMethod()
321 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntMethod()
328 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntMethod()
333 ScopedObjectAccess soa(env_); in InvokeSumIntIntIntIntIntMethod() local
337 ScopedLocalRef<jobject> receiver_ref(soa.Env(), soa.AddLocalReference<jobject>(receiver)); in InvokeSumIntIntIntIntIntMethod()
345 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntIntMethod()
353 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntIntMethod()
361 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntIntMethod()
369 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntIntMethod()
377 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumIntIntIntIntIntMethod()
382 ScopedObjectAccess soa(env_); in InvokeSumDoubleDoubleMethod() local
386 ScopedLocalRef<jobject> receiver_ref(soa.Env(), soa.AddLocalReference<jobject>(receiver)); in InvokeSumDoubleDoubleMethod()
391 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleMethod()
396 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleMethod()
401 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleMethod()
406 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleMethod()
411 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleMethod()
416 ScopedObjectAccess soa(env_); in InvokeSumDoubleDoubleDoubleMethod() local
420 ScopedLocalRef<jobject> receiver_ref(soa.Env(), soa.AddLocalReference<jobject>(receiver)); in InvokeSumDoubleDoubleDoubleMethod()
426 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleMethod()
432 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleMethod()
438 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleMethod()
443 ScopedObjectAccess soa(env_); in InvokeSumDoubleDoubleDoubleDoubleMethod() local
447 ScopedLocalRef<jobject> receiver_ref(soa.Env(), soa.AddLocalReference<jobject>(receiver)); in InvokeSumDoubleDoubleDoubleDoubleMethod()
454 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleDoubleMethod()
461 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleDoubleMethod()
468 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleDoubleMethod()
473 ScopedObjectAccess soa(env_); in InvokeSumDoubleDoubleDoubleDoubleDoubleMethod() local
477 ScopedLocalRef<jobject> receiver_ref(soa.Env(), soa.AddLocalReference<jobject>(receiver)); in InvokeSumDoubleDoubleDoubleDoubleDoubleMethod()
485 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleDoubleDoubleMethod()
493 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleDoubleDoubleMethod()
501 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeSumDoubleDoubleDoubleDoubleDoubleMethod()
513 ScopedObjectAccess soa(Thread::Current()); in TEST_F() local
515 StackHandleScope<1> hs(soa.Self()); in TEST_F()
517 hs.NewHandle(soa.Decode<mirror::ClassLoader>(jclass_loader))); in TEST_F()
520 mirror::Class* klass = class_linker_->FindClass(soa.Self(), "LMain;", class_loader); in TEST_F()
532 soa.Self()->TransitionFromSuspendedToRunnable(); in TEST_F()
536 InvokeWithJValues(soa, nullptr, jni::EncodeArtMethod(method), args); in TEST_F()