/art/runtime/mirror/ |
D | field.cc | 47 ObjPtr<mirror::Class> declaring_class = GetDeclaringClass(); in GetArtField() local 49 IsStatic() ? declaring_class->NumStaticFields() : declaring_class->NumInstanceFields()); in GetArtField() 51 return declaring_class->GetStaticField(GetArtFieldIndex()); in GetArtField() 53 return declaring_class->GetInstanceField(GetArtFieldIndex()); in GetArtField()
|
D | stack_trace_element.cc | 31 Handle<String> declaring_class, in Alloc() argument 39 trace->Init<true>(declaring_class.Get(), method_name.Get(), file_name.Get(), line_number); in Alloc() 41 trace->Init<false>(declaring_class.Get(), method_name.Get(), file_name.Get(), line_number); in Alloc() 48 void StackTraceElement::Init(ObjPtr<String> declaring_class, in Init() argument 53 declaring_class); in Init()
|
D | stack_trace_element.h | 43 Handle<String> declaring_class, 57 void Init(ObjPtr<String> declaring_class,
|
D | class.cc | 626 ObjPtr<mirror::Class> declaring_class) in IsValidInheritanceCheck() argument 629 return declaring_class->IsObjectClass(); in IsValidInheritanceCheck() 631 return declaring_class->IsObjectClass() || declaring_class == klass; in IsValidInheritanceCheck() 633 return klass->IsSubClass(declaring_class); in IsValidInheritanceCheck() 638 ObjPtr<mirror::Class> declaring_class, in IsInheritedMethod() argument 641 DCHECK_EQ(declaring_class, method.GetDeclaringClass()); in IsInheritedMethod() 642 DCHECK_NE(klass, declaring_class); in IsInheritedMethod() 643 DCHECK(IsValidInheritanceCheck(klass, declaring_class)); in IsInheritedMethod() 651 for (; klass != declaring_class; klass = klass->GetSuperClass()) { in IsInheritedMethod() 652 if (!klass->IsInSamePackage(declaring_class)) { in IsInheritedMethod()
|
D | class-inl.h | 619 ObjPtr<Class> declaring_class = method->GetDeclaringClass(); in FindVirtualMethodForInterface() local 620 DCHECK(declaring_class != nullptr) << PrettyClass(); in FindVirtualMethodForInterface() 621 if (UNLIKELY(!declaring_class->IsInterface())) { in FindVirtualMethodForInterface() 622 DCHECK(declaring_class->IsObjectClass()) << method->PrettyMethod(); in FindVirtualMethodForInterface() 631 if (iftable->GetInterface(i) == declaring_class) { in FindVirtualMethodForInterface()
|
/art/runtime/native/ |
D | java_lang_reflect_Parameter.cc | 74 Handle<mirror::Class> declaring_class = hs.NewHandle(method->GetDeclaringClass()); in Parameter_getAnnotationNative() local 75 if (annotations::GetEnclosingMethod(declaring_class) == nullptr && !declaring_class->IsEnum()) { in Parameter_getAnnotationNative()
|
D | java_lang_Class.cc | 87 ObjPtr<mirror::Class> declaring_class = m->GetDeclaringClass(); in GetReflectionCaller() local 88 if (declaring_class->IsBootStrapClassLoaded()) { in GetReflectionCaller() 89 if (declaring_class->IsClassClass()) { in GetReflectionCaller() 98 if ((declaring_class == lookup_class || declaring_class->IsInSamePackage(lookup_class)) in GetReflectionCaller() 107 if (declaring_class->IsInSamePackage(proxy_class) && declaring_class != proxy_class) { in GetReflectionCaller() 945 ObjPtr<mirror::Class> declaring_class = constructor->GetDeclaringClass(); in Class_newInstance() local 951 declaring_class, in Class_newInstance() 961 if (UNLIKELY(!declaring_class->IsVisiblyInitialized())) { in Class_newInstance() 963 Handle<mirror::Class> h_class = hs.NewHandle(declaring_class); in Class_newInstance()
|
D | java_lang_reflect_Field.cc | 130 ObjPtr<mirror::Class> declaring_class = (*f)->GetDeclaringClass(); in CheckReceiver() local 132 if (UNLIKELY(!declaring_class->IsVisiblyInitialized())) { in CheckReceiver() 136 HandleWrapperObjPtr<mirror::Class> h_klass(hs.NewHandleWrapper(&declaring_class)); in CheckReceiver() 144 *class_or_rcvr = declaring_class; in CheckReceiver() 148 if (!VerifyObjectIsClass(*class_or_rcvr, declaring_class)) { in CheckReceiver()
|
D | java_lang_reflect_Executable.cc | 107 Handle<mirror::Class> declaring_class = hs.NewHandle(method->GetDeclaringClass()); in Executable_getParameterAnnotationsNative() local 108 if (annotations::GetEnclosingMethod(declaring_class) != nullptr || in Executable_getParameterAnnotationsNative() 109 declaring_class->IsEnum()) { in Executable_getParameterAnnotationsNative()
|
/art/test/918-fields/ |
D | fields.cc | 87 jclass declaring_class; in Java_art_Test918_getFieldDeclaringClass() local 88 jvmtiError result = jvmti_env->GetFieldDeclaringClass(klass, id, &declaring_class); in Java_art_Test918_getFieldDeclaringClass() 97 return declaring_class; in Java_art_Test918_getFieldDeclaringClass()
|
/art/runtime/ |
D | reflection.cc | 701 ObjPtr<mirror::Class> declaring_class = m->GetDeclaringClass(); in InvokeMethod() local 702 if (UNLIKELY(!declaring_class->IsVisiblyInitialized())) { in InvokeMethod() 705 HandleWrapperObjPtr<mirror::Class> h_class(hs.NewHandleWrapper(&declaring_class)); in InvokeMethod() 717 if (declaring_class->IsStringClass() && m->IsConstructor()) { in InvokeMethod() 723 if (!VerifyObjectIsClass(receiver, declaring_class)) { in InvokeMethod() 744 declaring_class, in InvokeMethod() 782 ObjPtr<mirror::Class> declaring_class = constructor->GetDeclaringClass(); in InvokeConstructor() local 783 CHECK(declaring_class->IsInitializing()); in InvokeConstructor() 786 CHECK(!declaring_class->IsStringClass()); in InvokeConstructor() 790 CHECK(VerifyObjectIsClass(receiver, declaring_class)); in InvokeConstructor() [all …]
|
D | art_method.cc | 74 ObjPtr<mirror::Class> declaring_class = GetDeclaringClass(); in GetCanonicalMethod() local 75 DCHECK(declaring_class->IsInterface()); in GetCanonicalMethod() 76 ArtMethod* ret = declaring_class->FindInterfaceMethod(GetDexCache(), in GetCanonicalMethod() 210 ObjPtr<mirror::Class> declaring_class = GetDeclaringClass(); in FindOverriddenMethod() local 211 ObjPtr<mirror::Class> super_class = declaring_class->GetSuperClass(); in FindOverriddenMethod() 497 ObjPtr<mirror::Class> declaring_class = method->GetDeclaringClass(); in FindOatMethodFor() local 504 oat_method_index = declaring_class->NumDirectMethods(); in FindOatMethodFor() 506 for (ArtMethod& art_method : declaring_class->GetVirtualMethods(pointer_size)) { in FindOatMethodFor() 518 GetOatMethodIndexFromMethodIndex(declaring_class->GetDexFile(), in FindOatMethodFor() 521 OatFile::OatClass oat_class = OatFile::FindOatClass(declaring_class->GetDexFile(), in FindOatMethodFor() [all …]
|
D | aot_class_linker.cc | 191 ObjPtr<mirror::Class> declaring_class = m.GetDeclaringClass(); in CanReferenceInBootImageExtension() local 192 CHECK(heap->ObjectIsInBootImageSpace(declaring_class) || in CanReferenceInBootImageExtension() 193 !heap->ObjectIsInBootImageSpace(declaring_class->GetDexCache())); in CanReferenceInBootImageExtension()
|
D | hidden_api.cc | 388 ObjPtr<mirror::Class> declaring_class = member->GetDeclaringClass(); in GetDexFlags() local 389 DCHECK(!declaring_class.IsNull()) << "Attempting to access a runtime method"; in GetDexFlags() 397 ObjPtr<mirror::ClassExt> ext(declaring_class->GetExtData()); in GetDexFlags() 402 const dex::ClassDef* class_def = declaring_class->GetClassDef(); in GetDexFlags() 405 DCHECK(declaring_class->IsProxyClass()) in GetDexFlags() 417 VisitMembers(declaring_class->GetDexFile(), *class_def, fn_visit); in GetDexFlags()
|
D | reflection.h | 120 ObjPtr<mirror::Class> declaring_class, 128 ObjPtr<mirror::Class> declaring_class,
|
D | stack.cc | 718 ObjPtr<mirror::Class> declaring_class = method->GetDeclaringClass(); in SanityCheckFrame() local 721 CHECK(declaring_class != nullptr); in SanityCheckFrame() 722 CHECK_EQ(declaring_class->GetClass(), declaring_class->GetClass()->GetClass()) in SanityCheckFrame() 723 << declaring_class; in SanityCheckFrame() 725 CHECK(declaring_class == nullptr); in SanityCheckFrame()
|
D | art_field-inl.h | 48 ObjPtr<mirror::Class> declaring_class(GetDeclaringClass()); in CanBeChangedBy() 50 return !IsFinal() || (declaring_class == referring_class) || in CanBeChangedBy() 51 UNLIKELY(referring_class->IsObsoleteVersionOf(declaring_class)); in CanBeChangedBy()
|
D | method_handles.cc | 667 ObjPtr<mirror::Class> declaring_class(target_method->GetDeclaringClass()); in RefineTargetMethod() local 668 if (receiver == nullptr || receiver->GetClass() != declaring_class) { in RefineTargetMethod() 671 if (!VerifyObjectIsClass(receiver, declaring_class)) { in RefineTargetMethod() 691 ObjPtr<mirror::Class> declaring_class = target_method->GetDeclaringClass(); in RefineTargetMethod() local 692 if (referrer_class == declaring_class) { in RefineTargetMethod() 695 if (declaring_class->IsInterface()) { in RefineTargetMethod()
|
D | class_linker-inl.h | 360 ObjPtr<mirror::Class> declaring_class = referrer->GetDeclaringClass(); in ResolveMethod() local 363 Handle<mirror::ClassLoader> h_class_loader(hs.NewHandle(declaring_class->GetClassLoader())); in ResolveMethod()
|
/art/test/910-methods/ |
D | methods.cc | 80 jclass declaring_class; in Java_art_Test910_getMethodDeclaringClass() local 81 jvmtiError result = jvmti_env->GetMethodDeclaringClass(id, &declaring_class); in Java_art_Test910_getMethodDeclaringClass() 86 return declaring_class; in Java_art_Test910_getMethodDeclaringClass()
|
/art/runtime/interpreter/ |
D | interpreter.cc | 494 ObjPtr<mirror::Class> declaring_class = method->GetDeclaringClass(); in EnterInterpreterFromInvoke() local 495 if (UNLIKELY(!declaring_class->IsVisiblyInitialized())) { in EnterInterpreterFromInvoke() 497 Handle<mirror::Class> h_class(hs.NewHandle(declaring_class)); in EnterInterpreterFromInvoke() 676 ObjPtr<mirror::Class> declaring_class = method->GetDeclaringClass(); in ArtInterpreterToInterpreterBridge() local 677 if (UNLIKELY(!declaring_class->IsVisiblyInitialized())) { in ArtInterpreterToInterpreterBridge() 679 Handle<mirror::Class> h_class(hs.NewHandle(declaring_class)); in ArtInterpreterToInterpreterBridge()
|
/art/imgdiag/ |
D | imgdiag.cc | 819 ObjPtr<mirror::Class> declaring_class = in DumpDirtyEntries() local 823 DumpOneArtMethod(art_method, declaring_class, remote_declaring_class); in DumpDirtyEntries() 832 ObjPtr<mirror::Class> declaring_class = method->GetDeclaringClass(); in DumpFalseDirtyEntries() local 833 DumpOneArtMethod(method, declaring_class, nullptr); in DumpFalseDirtyEntries() 920 ObjPtr<mirror::Class> declaring_class, in DumpOneArtMethod() argument 933 if (declaring_class != nullptr) { in DumpOneArtMethod() 934 os_ << " class_status (local): " << declaring_class->GetStatus(); in DumpOneArtMethod()
|
/art/dexdump/ |
D | dexdump.cc | 1630 const char* declaring_class; in dumpMethodHandle() local 1636 declaring_class = pDexFile->GetMethodDeclaringClassDescriptor(method_id); in dumpMethodHandle() 1641 declaring_class = pDexFile->GetFieldDeclaringClassDescriptor(field_id); in dumpMethodHandle() 1646 member_type = android::base::StringPrintf("(%s%s", declaring_class, member_type.c_str() + 1); in dumpMethodHandle() 1650 declaring_class = "?"; in dumpMethodHandle() 1658 fprintf(gOutFile, " target : %s %s\n", declaring_class, member); in dumpMethodHandle() 1663 fprintf(gOutFile, " target_class=\"%s\"\n", declaring_class); in dumpMethodHandle()
|
/art/compiler/optimizing/ |
D | reference_type_propagation.cc | 566 ObjPtr<mirror::Class> declaring_class = method->GetDeclaringClass(); in SetClassAsTypeInfo() local 567 DCHECK(declaring_class != nullptr); in SetClassAsTypeInfo() 568 DCHECK(declaring_class->IsStringClass()) in SetClassAsTypeInfo() 569 << "Expected String class: " << declaring_class->PrettyDescriptor(); in SetClassAsTypeInfo()
|
/art/test/004-JniTest/ |
D | jni_test.cc | 707 void TestCalls(const char* declaring_class, const std::vector<const char*>& methods) { in TestCalls() argument 712 jclass decl_class = env_->FindClass(declaring_class); in TestCalls() 718 printf("Calling method %s->%s on object of type ConcreteClass\n", declaring_class, method); in TestCalls()
|