Lines Matching refs:Self

189     soa.Self()->ThrowNewExceptionF("Ljava/lang/ClassNotFoundException;",  in Class_classForName()
195 StackHandleScope<2> hs(soa.Self()); in Class_classForName()
200 hs.NewHandle(class_linker->FindClass(soa.Self(), descriptor.c_str(), class_loader))); in Class_classForName()
216 class_linker->EnsureInitialized(soa.Self(), c, true, true); in Class_classForName()
229 StackHandleScope<1> hs(soa.Self()); in Class_getNameNative()
236 StackHandleScope<1> hs(soa.Self()); in Class_getInterfacesInternal()
244 StackHandleScope<1> hs2(soa.Self()); in Class_getInterfacesInternal()
248 mirror::ObjectArray<mirror::Class>::Clone(interfaces, soa.Self())); in Class_getInterfacesInternal()
261 mirror::ObjectArray<mirror::Class>::Alloc(soa.Self(), class_array_class, num_ifaces); in Class_getInterfacesInternal()
263 DCHECK(soa.Self()->IsExceptionPending()); in Class_getInterfacesInternal()
347 GetDeclaredFields(soa.Self(), DecodeClass(soa, javaThis), publicOnly != JNI_FALSE, false)); in Class_getDeclaredFieldsUnchecked()
353 GetDeclaredFields(soa.Self(), DecodeClass(soa, javaThis), false, true)); in Class_getDeclaredFields()
359 GetDeclaredFields(soa.Self(), DecodeClass(soa, javaThis), true, true)); in Class_getPublicDeclaredFields()
490 StackHandleScope<1> hs(soa.Self()); in Class_getPublicFieldRecursive()
492 soa.Self(), DecodeClass(soa, javaThis), name_string)); in Class_getPublicFieldRecursive()
493 if (field.Get() == nullptr || ShouldDenyAccessToMember(field->GetArtField(), soa.Self())) { in Class_getPublicFieldRecursive()
501 StackHandleScope<3> hs(soa.Self()); in Class_getDeclaredField()
509 hs.NewHandle(GetDeclaredField(soa.Self(), h_klass.Get(), h_string.Get())); in Class_getDeclaredField()
510 if (result == nullptr || ShouldDenyAccessToMember(result->GetArtField(), soa.Self())) { in Class_getDeclaredField()
522 if (!soa.Self()->IsExceptionPending()) { in Class_getDeclaredField()
536 StackHandleScope<1> hs(soa.Self()); in Class_getDeclaredConstructorInternal()
544 soa.Self(), in Class_getDeclaredConstructorInternal()
547 if (result == nullptr || ShouldDenyAccessToMember(result->GetArtMethod(), soa.Self())) { in Class_getDeclaredConstructorInternal()
566 StackHandleScope<2> hs(soa.Self()); in Class_getDeclaredConstructorsInternal()
568 hiddenapi::AccessContext hiddenapi_context = GetReflectionCaller(soa.Self()); in Class_getDeclaredConstructorsInternal()
580 soa.Self(), GetClassRoot<mirror::ObjectArray<mirror::Constructor>>(), constructor_count)); in Class_getDeclaredConstructorsInternal()
582 soa.Self()->AssertPendingException(); in Class_getDeclaredConstructorsInternal()
591 mirror::Constructor::CreateFromArtMethod<kRuntimePointerSize>(soa.Self(), &m); in Class_getDeclaredConstructorsInternal()
593 soa.Self()->AssertPendingOOMException(); in Class_getDeclaredConstructorsInternal()
605 StackHandleScope<1> hs(soa.Self()); in Class_getDeclaredMethodInternal()
615 soa.Self(), in Class_getDeclaredMethodInternal()
619 GetHiddenapiAccessContextFunction(soa.Self()))); in Class_getDeclaredMethodInternal()
620 if (result == nullptr || ShouldDenyAccessToMember(result->GetArtMethod(), soa.Self())) { in Class_getDeclaredMethodInternal()
629 StackHandleScope<2> hs(soa.Self()); in Class_getDeclaredMethodsUnchecked()
631 hiddenapi::AccessContext hiddenapi_context = GetReflectionCaller(soa.Self()); in Class_getDeclaredMethodsUnchecked()
649 soa.Self(), GetClassRoot<mirror::ObjectArray<mirror::Method>>(), num_methods)); in Class_getDeclaredMethodsUnchecked()
651 soa.Self()->AssertPendingOOMException(); in Class_getDeclaredMethodsUnchecked()
662 mirror::Method::CreateFromArtMethod<kRuntimePointerSize>(soa.Self(), &m); in Class_getDeclaredMethodsUnchecked()
664 soa.Self()->AssertPendingException(); in Class_getDeclaredMethodsUnchecked()
675 StackHandleScope<2> hs(soa.Self()); in Class_getDeclaredAnnotation()
698 StackHandleScope<1> hs(soa.Self()); in Class_getDeclaredAnnotations()
709 mirror::ObjectArray<mirror::Object>::Alloc(soa.Self(), in Class_getDeclaredAnnotations()
719 StackHandleScope<1> hs(soa.Self()); in Class_getDeclaredClasses()
731 if (soa.Self()->IsExceptionPending()) { in Class_getDeclaredClasses()
738 mirror::ObjectArray<mirror::Class>::Alloc(soa.Self(), class_array_class, 0); in Class_getDeclaredClasses()
746 StackHandleScope<1> hs(soa.Self()); in Class_getEnclosingClass()
760 StackHandleScope<1> hs(soa.Self()); in Class_getEnclosingConstructorNative()
780 StackHandleScope<1> hs(soa.Self()); in Class_getEnclosingMethodNative()
800 StackHandleScope<1> hs(soa.Self()); in Class_getInnerClassFlags()
811 StackHandleScope<1> hs(soa.Self()); in Class_getInnerClassName()
829 StackHandleScope<1> hs(soa.Self()); in Class_getSignatureAnnotation()
844 StackHandleScope<1> hs(soa.Self()); in Class_isAnonymousClass()
863 StackHandleScope<2> hs(soa.Self()); in Class_isDeclaredAnnotationPresent()
878 StackHandleScope<1> hs(soa.Self()); in Class_getDeclaringClass()
896 StackHandleScope<4> hs(soa.Self()); in Class_newInstance()
904 soa.Self()->ThrowNewExceptionF("Ljava/lang/InstantiationException;", in Class_newInstance()
912 caller.Assign(GetCallingClass(soa.Self(), 1)); in Class_newInstance()
914 soa.Self()->ThrowNewExceptionF( in Class_newInstance()
920 StackArtMethodHandleScope<1> mhs(soa.Self()); in Class_newInstance()
922 soa.Self(), ScopedNullHandle<mirror::ObjectArray<mirror::Class>>(), kRuntimePointerSize))); in Class_newInstance()
923 if (UNLIKELY(constructor == nullptr) || ShouldDenyAccessToMember(constructor.Get(), soa.Self())) { in Class_newInstance()
924 soa.Self()->ThrowNewExceptionF("Ljava/lang/InstantiationException;", in Class_newInstance()
932 ObjPtr<mirror::Object> obj = mirror::String::AllocEmptyString(soa.Self(), allocator_type); in Class_newInstance()
933 if (UNLIKELY(soa.Self()->IsExceptionPending())) { in Class_newInstance()
939 auto receiver = hs.NewHandle(klass->AllocObject(soa.Self())); in Class_newInstance()
941 soa.Self()->AssertPendingOOMException(); in Class_newInstance()
948 caller.Assign(GetCallingClass(soa.Self(), 1)); in Class_newInstance()
954 soa.Self()->ThrowNewExceptionF( in Class_newInstance()
962 Thread* self = soa.Self(); in Class_newInstance()
974 constructor->Invoke(soa.Self(), args, sizeof(args), &result, "V"); in Class_newInstance()
975 if (UNLIKELY(soa.Self()->IsExceptionPending())) { in Class_newInstance()