Lines Matching refs:Self
172 soa.Self()->ThrowNewExceptionF("Ljava/lang/ClassNotFoundException;", in Class_classForName()
178 StackHandleScope<2> hs(soa.Self()); in Class_classForName()
183 hs.NewHandle(class_linker->FindClass(soa.Self(), descriptor.c_str(), class_loader))); in Class_classForName()
199 class_linker->EnsureInitialized(soa.Self(), c, true, true); in Class_classForName()
212 StackHandleScope<1> hs(soa.Self()); in Class_getNameNative()
219 StackHandleScope<1> hs(soa.Self()); in Class_getInterfacesInternal()
223 return soa.AddLocalReference<jobjectArray>(klass->GetProxyInterfaces()->Clone(soa.Self())); in Class_getInterfacesInternal()
236 mirror::ObjectArray<mirror::Class>::Alloc(soa.Self(), class_array_class, num_ifaces); in Class_getInterfacesInternal()
238 DCHECK(soa.Self()->IsExceptionPending()); in Class_getInterfacesInternal()
318 GetDeclaredFields(soa.Self(), DecodeClass(soa, javaThis), publicOnly != JNI_FALSE, false)); in Class_getDeclaredFieldsUnchecked()
324 GetDeclaredFields(soa.Self(), DecodeClass(soa, javaThis), false, true)); in Class_getDeclaredFields()
330 GetDeclaredFields(soa.Self(), DecodeClass(soa, javaThis), true, true)); in Class_getPublicDeclaredFields()
453 StackHandleScope<1> hs(soa.Self()); in Class_getPublicFieldRecursive()
455 soa.Self(), DecodeClass(soa, javaThis), name_string)); in Class_getPublicFieldRecursive()
456 if (field.Get() == nullptr || ShouldDenyAccessToMember(field->GetArtField(), soa.Self())) { in Class_getPublicFieldRecursive()
464 StackHandleScope<3> hs(soa.Self()); in Class_getDeclaredField()
472 hs.NewHandle(GetDeclaredField(soa.Self(), h_klass.Get(), h_string.Get())); in Class_getDeclaredField()
473 if (result == nullptr || ShouldDenyAccessToMember(result->GetArtField(), soa.Self())) { in Class_getDeclaredField()
485 if (!soa.Self()->IsExceptionPending()) { in Class_getDeclaredField()
499 StackHandleScope<1> hs(soa.Self()); in Class_getDeclaredConstructorInternal()
502 soa.Self(), in Class_getDeclaredConstructorInternal()
505 if (result == nullptr || ShouldDenyAccessToMember(result->GetArtMethod(), soa.Self())) { in Class_getDeclaredConstructorInternal()
524 StackHandleScope<2> hs(soa.Self()); in Class_getDeclaredConstructorsInternal()
526 hiddenapi::AccessContext hiddenapi_context = GetReflectionCaller(soa.Self()); in Class_getDeclaredConstructorsInternal()
534 soa.Self(), GetClassRoot<mirror::ObjectArray<mirror::Constructor>>(), constructor_count)); in Class_getDeclaredConstructorsInternal()
536 soa.Self()->AssertPendingException(); in Class_getDeclaredConstructorsInternal()
545 mirror::Constructor::CreateFromArtMethod<kRuntimePointerSize, false>(soa.Self(), &m); in Class_getDeclaredConstructorsInternal()
547 soa.Self()->AssertPendingOOMException(); in Class_getDeclaredConstructorsInternal()
559 StackHandleScope<1> hs(soa.Self()); in Class_getDeclaredMethodInternal()
564 soa.Self(), in Class_getDeclaredMethodInternal()
568 GetHiddenapiAccessContextFunction(soa.Self()))); in Class_getDeclaredMethodInternal()
569 if (result == nullptr || ShouldDenyAccessToMember(result->GetArtMethod(), soa.Self())) { in Class_getDeclaredMethodInternal()
578 StackHandleScope<2> hs(soa.Self()); in Class_getDeclaredMethodsUnchecked()
580 hiddenapi::AccessContext hiddenapi_context = GetReflectionCaller(soa.Self()); in Class_getDeclaredMethodsUnchecked()
594 soa.Self(), GetClassRoot<mirror::ObjectArray<mirror::Method>>(), num_methods)); in Class_getDeclaredMethodsUnchecked()
596 soa.Self()->AssertPendingOOMException(); in Class_getDeclaredMethodsUnchecked()
607 mirror::Method::CreateFromArtMethod<kRuntimePointerSize, false>(soa.Self(), &m); in Class_getDeclaredMethodsUnchecked()
609 soa.Self()->AssertPendingException(); in Class_getDeclaredMethodsUnchecked()
620 StackHandleScope<2> hs(soa.Self()); in Class_getDeclaredAnnotation()
639 StackHandleScope<1> hs(soa.Self()); in Class_getDeclaredAnnotations()
646 mirror::ObjectArray<mirror::Object>::Alloc(soa.Self(), in Class_getDeclaredAnnotations()
656 StackHandleScope<1> hs(soa.Self()); in Class_getDeclaredClasses()
664 if (soa.Self()->IsExceptionPending()) { in Class_getDeclaredClasses()
671 mirror::ObjectArray<mirror::Class>::Alloc(soa.Self(), class_array_class, 0); in Class_getDeclaredClasses()
679 StackHandleScope<1> hs(soa.Self()); in Class_getEnclosingClass()
689 StackHandleScope<1> hs(soa.Self()); in Class_getEnclosingConstructorNative()
705 StackHandleScope<1> hs(soa.Self()); in Class_getEnclosingMethodNative()
721 StackHandleScope<1> hs(soa.Self()); in Class_getInnerClassFlags()
728 StackHandleScope<1> hs(soa.Self()); in Class_getInnerClassName()
742 StackHandleScope<1> hs(soa.Self()); in Class_getSignatureAnnotation()
753 StackHandleScope<1> hs(soa.Self()); in Class_isAnonymousClass()
768 StackHandleScope<2> hs(soa.Self()); in Class_isDeclaredAnnotationPresent()
779 StackHandleScope<1> hs(soa.Self()); in Class_getDeclaringClass()
793 StackHandleScope<4> hs(soa.Self()); in Class_newInstance()
797 soa.Self()->ThrowNewExceptionF("Ljava/lang/InstantiationException;", in Class_newInstance()
805 caller.Assign(GetCallingClass(soa.Self(), 1)); in Class_newInstance()
807 soa.Self()->ThrowNewExceptionF( in Class_newInstance()
814 soa.Self(), in Class_newInstance()
817 if (UNLIKELY(constructor == nullptr) || ShouldDenyAccessToMember(constructor, soa.Self())) { in Class_newInstance()
818 soa.Self()->ThrowNewExceptionF("Ljava/lang/InstantiationException;", in Class_newInstance()
826 ObjPtr<mirror::Object> obj = mirror::String::AllocEmptyString<true>(soa.Self(), allocator_type); in Class_newInstance()
827 if (UNLIKELY(soa.Self()->IsExceptionPending())) { in Class_newInstance()
833 auto receiver = hs.NewHandle(klass->AllocObject(soa.Self())); in Class_newInstance()
835 soa.Self()->AssertPendingOOMException(); in Class_newInstance()
842 caller.Assign(GetCallingClass(soa.Self(), 1)); in Class_newInstance()
848 soa.Self()->ThrowNewExceptionF( in Class_newInstance()
857 soa.Self(), hs.NewHandle(declaring_class), true, true)) { in Class_newInstance()
858 soa.Self()->AssertPendingException(); in Class_newInstance()
865 constructor->Invoke(soa.Self(), args, sizeof(args), &result, "V"); in Class_newInstance()
866 if (UNLIKELY(soa.Self()->IsExceptionPending())) { in Class_newInstance()