Home
last modified time | relevance | path

Searched refs:klass (Results 1 – 25 of 278) sorted by relevance

12345678910>>...12

/art/test/674-hiddenapi/src-ex/
DReflection.java24 public static boolean canDiscoverWithGetDeclaredField(Class<?> klass, String name) { in canDiscoverWithGetDeclaredField() argument
26 klass.getDeclaredField(name); in canDiscoverWithGetDeclaredField()
33 public static boolean canDiscoverWithGetDeclaredFields(Class<?> klass, String name) { in canDiscoverWithGetDeclaredFields() argument
34 for (Field f : klass.getDeclaredFields()) { in canDiscoverWithGetDeclaredFields()
42 public static boolean canDiscoverWithGetField(Class<?> klass, String name) { in canDiscoverWithGetField() argument
44 klass.getField(name); in canDiscoverWithGetField()
51 public static boolean canDiscoverWithGetFields(Class<?> klass, String name) { in canDiscoverWithGetFields() argument
52 for (Field f : klass.getFields()) { in canDiscoverWithGetFields()
60 public static boolean canGetField(Class<?> klass, String name) { in canGetField() argument
62 Field f = klass.getDeclaredField(name); in canGetField()
[all …]
DChildClass.java33 PrimitiveType(char shorty, Class klass, Object value) { in PrimitiveType() argument
35 mClass = klass; in PrimitiveType()
138 for (Class klass : new Class<?>[] { ParentClass.class, ParentInterface.class }) { in runTest()
140 checkField(klass, "field" + baseName, isStatic, visibility, expected, in runTest()
142 checkMethod(klass, "method" + baseName, isStatic, visibility, expected, in runTest()
176 private static void checkMemberCallback(Class<?> klass, String name, in checkMemberCallback() argument
184 klass.getField(name); in checkMemberCallback()
186 klass.getMethod(name); in checkMemberCallback()
190 klass.getDeclaredField(name); in checkMemberCallback()
192 klass.getDeclaredMethod(name); in checkMemberCallback()
[all …]
DJNI.java18 public static native boolean canDiscoverField(Class<?> klass, String name, boolean isStatic); in canDiscoverField() argument
19 public static native boolean canGetField(Class<?> klass, String name, boolean isStatic); in canGetField() argument
20 public static native boolean canSetField(Class<?> klass, String name, boolean isStatic); in canSetField() argument
22 public static native boolean canDiscoverMethod(Class<?> klass, String name, boolean isStatic); in canDiscoverMethod() argument
23 public static native boolean canInvokeMethodA(Class<?> klass, String name, boolean isStatic); in canInvokeMethodA() argument
24 public static native boolean canInvokeMethodV(Class<?> klass, String name, boolean isStatic); in canInvokeMethodV() argument
26 public static native boolean canDiscoverConstructor(Class<?> klass, String signature); in canDiscoverConstructor() argument
27 public static native boolean canInvokeConstructorA(Class<?> klass, String signature); in canInvokeConstructorA() argument
28 public static native boolean canInvokeConstructorV(Class<?> klass, String signature); in canInvokeConstructorV() argument
DJLI.java23 MethodHandles.Lookup lookup, Class<?> klass, String fieldName, Class<?> fieldType) { in canDiscoverWithLookupFindGetter() argument
25 return lookup.findGetter(klass, fieldName, fieldType) != null; in canDiscoverWithLookupFindGetter()
34 MethodHandles.Lookup lookup, Class<?> klass, String fieldName, Class<?> fieldType) { in canDiscoverWithLookupFindSetter() argument
36 return lookup.findSetter(klass, fieldName, fieldType) != null; in canDiscoverWithLookupFindSetter()
45 MethodHandles.Lookup lookup, Class<?> klass, String fieldName, Class<?> fieldType) { in canDiscoverWithLookupFindStaticGetter() argument
47 return lookup.findStaticGetter(klass, fieldName, fieldType) != null; in canDiscoverWithLookupFindStaticGetter()
56 MethodHandles.Lookup lookup, Class<?> klass, String fieldName, Class<?> fieldType) { in canDiscoverWithLookupFindStaticSetter() argument
58 return lookup.findStaticSetter(klass, fieldName, fieldType) != null; in canDiscoverWithLookupFindStaticSetter()
67 MethodHandles.Lookup lookup, Class<?> klass, MethodType methodType) { in canDiscoverWithLookupFindConstructor() argument
69 return lookup.findConstructor(klass, methodType) != null; in canDiscoverWithLookupFindConstructor()
[all …]
/art/test/989-method-trace-throw/
Dmethod_trace.cc40 jfloat JNICALL Java_art_Test989_returnFloatNative(JNIEnv* env, jclass klass) { in Java_art_Test989_returnFloatNative() argument
41 jmethodID targetMethod = env->GetStaticMethodID(klass, "doGetFloat", "()F"); in Java_art_Test989_returnFloatNative()
42 return env->CallStaticFloatMethod(klass, targetMethod); in Java_art_Test989_returnFloatNative()
45 jdouble JNICALL Java_art_Test989_returnDoubleNative(JNIEnv* env, jclass klass) { in Java_art_Test989_returnDoubleNative() argument
46 jmethodID targetMethod = env->GetStaticMethodID(klass, "doGetDouble", "()D"); in Java_art_Test989_returnDoubleNative()
47 return env->CallStaticDoubleMethod(klass, targetMethod); in Java_art_Test989_returnDoubleNative()
50 extern "C" JNIEXPORT jobject JNICALL Java_art_Test989_returnValueNative(JNIEnv* env, jclass klass) { in Java_art_Test989_returnValueNative() argument
51 jmethodID targetMethod = env->GetStaticMethodID(klass, "mkTestObject", "()Ljava/lang/Object;"); in Java_art_Test989_returnValueNative()
52 return env->CallStaticObjectMethod(klass, targetMethod); in Java_art_Test989_returnValueNative()
56 jclass klass ATTRIBUTE_UNUSED) { in Java_art_Test989_doNothingNative()
[all …]
/art/test/1936-thread-end-events/
Dmethod_trace.cc40 jfloat JNICALL Java_art_Test989_returnFloatNative(JNIEnv* env, jclass klass) { in Java_art_Test989_returnFloatNative() argument
41 jmethodID targetMethod = env->GetStaticMethodID(klass, "doGetFloat", "()F"); in Java_art_Test989_returnFloatNative()
42 return env->CallStaticFloatMethod(klass, targetMethod); in Java_art_Test989_returnFloatNative()
45 jdouble JNICALL Java_art_Test989_returnDoubleNative(JNIEnv* env, jclass klass) { in Java_art_Test989_returnDoubleNative() argument
46 jmethodID targetMethod = env->GetStaticMethodID(klass, "doGetDouble", "()D"); in Java_art_Test989_returnDoubleNative()
47 return env->CallStaticDoubleMethod(klass, targetMethod); in Java_art_Test989_returnDoubleNative()
50 extern "C" JNIEXPORT jobject JNICALL Java_art_Test989_returnValueNative(JNIEnv* env, jclass klass) { in Java_art_Test989_returnValueNative() argument
51 jmethodID targetMethod = env->GetStaticMethodID(klass, "mkTestObject", "()Ljava/lang/Object;"); in Java_art_Test989_returnValueNative()
52 return env->CallStaticObjectMethod(klass, targetMethod); in Java_art_Test989_returnValueNative()
56 jclass klass ATTRIBUTE_UNUSED) { in Java_art_Test989_doNothingNative()
[all …]
/art/runtime/
Dsubtype_check.h237 static SubtypeCheckInfo::State EnsureInitialized(ClassPtr klass) in EnsureInitialized()
240 return InitializeOrAssign(klass, /*assign=*/false).GetState(); in EnsureInitialized()
250 static SubtypeCheckInfo::State EnsureAssigned(ClassPtr klass) in EnsureAssigned()
253 return InitializeOrAssign(klass, /*assign=*/true).GetState(); in EnsureAssigned()
265 static SubtypeCheckInfo::State ForceUninitialize(ClassPtr klass) in ForceUninitialize()
282 WriteSubtypeCheckBits(klass, scb_uninitialized); in ForceUninitialize()
294 static SubtypeCheckInfo::State GetState(ClassPtr klass) in GetState()
297 return GetSubtypeCheckInfo(klass).GetState(); in GetState()
306 static BitString::StorageType GetEncodedPathToRootForSource(ClassPtr klass) in GetEncodedPathToRootForSource()
309 DCHECK_NE(SubtypeCheckInfo::kUninitialized, GetSubtypeCheckInfo(klass).GetState()); in GetEncodedPathToRootForSource()
[all …]
Daot_class_linker.cc36 Handle<mirror::Class> klass, in InitializeClass() argument
42 DCHECK(klass != nullptr); in InitializeClass()
43 if (klass->IsInitialized() || klass->IsInitializing()) { in InitializeClass()
44 return ClassLinker::InitializeClass(self, klass, can_init_statics, can_init_parents); in InitializeClass()
49 if (strict_mode_ && !klass->IsInterface() && klass->HasSuperClass()) { in InitializeClass()
50 if (klass->GetSuperClass()->GetStatus() == ClassStatus::kInitializing) { in InitializeClass()
52 + klass->PrettyTypeOf() + " because it's superclass is not initialized."); in InitializeClass()
58 runtime->EnterTransactionMode(true, klass.Get()->AsClass().Ptr()); in InitializeClass()
60 bool success = ClassLinker::InitializeClass(self, klass, can_init_statics, can_init_parents); in InitializeClass()
77 Handle<mirror::Class> klass, in PerformClassVerification() argument
[all …]
Ddebug_print.cc36 std::string DescribeSpace(ObjPtr<mirror::Class> klass) { in DescribeSpace() argument
40 heap->FindContinuousSpaceFromObject(klass, /* fail_ok= */ true); in DescribeSpace()
53 heap->FindDiscontinuousSpaceFromObject(klass, /* fail_ok= */ true); in DescribeSpace()
86 ObjPtr<mirror::Class> klass = in DescribeLoaders() local
88 if (klass != nullptr) { in DescribeLoaders()
90 oss << "[hit:" << DescribeSpace(klass) << "]"; in DescribeLoaders()
140 auto matcher = [target_descriptor, target_class](ObjPtr<mirror::Class> klass) in DumpB77342775DebugData()
142 if (klass->DescriptorEquals(target_descriptor)) { in DumpB77342775DebugData()
144 << DescribeLoaders(klass->GetClassLoader(), target_descriptor) in DumpB77342775DebugData()
145 << " match? " << std::boolalpha << (klass == target_class); in DumpB77342775DebugData()
[all …]
Dclass_table.cc36 bool ClassTable::Contains(ObjPtr<mirror::Class> klass) { in Contains() argument
38 TableSlot slot(klass); in Contains()
42 return it->Read() == klass; in Contains()
48 mirror::Class* ClassTable::LookupByDescriptor(ObjPtr<mirror::Class> klass) { in LookupByDescriptor() argument
50 TableSlot slot(klass); in LookupByDescriptor()
60 mirror::Class* ClassTable::UpdateClass(const char* descriptor, mirror::Class* klass, size_t hash) { in UpdateClass() argument
74 CHECK_NE(existing, klass) << descriptor; in UpdateClass()
76 CHECK_EQ(klass->GetStatus(), ClassStatus::kResolving) << descriptor; in UpdateClass()
77 CHECK(!klass->IsTemp()) << descriptor; in UpdateClass()
78 VerifyObject(klass); in UpdateClass()
[all …]
Dcha.cc82 void ClassHierarchyAnalysis::ResetSingleImplementationInHierarchy(ObjPtr<mirror::Class> klass, in ResetSingleImplementationInHierarchy() argument
87 DCHECK(klass != nullptr); in ResetSingleImplementationInHierarchy()
91 if (klass->IsInterface()) { in ResetSingleImplementationInHierarchy()
99 if (!alloc->ContainsUnsafe(klass->GetMethodsPtr())) { in ResetSingleImplementationInHierarchy()
104 if (!klass->IsResolved()) { in ResetSingleImplementationInHierarchy()
108 ObjPtr<mirror::Class> super = klass->GetSuperClass<kDefaultVerifyFlags, kWithoutReadBarrier>(); in ResetSingleImplementationInHierarchy()
121 klass->GetClassLoader<kDefaultVerifyFlags, kWithoutReadBarrier>(); in ResetSingleImplementationInHierarchy()
124 klass->GetVTableEntry<kDefaultVerifyFlags, kWithoutReadBarrier>(vtbl_index, pointer_size); in ResetSingleImplementationInHierarchy()
161 ObjPtr<mirror::IfTable> iftable = klass->GetIfTable<kDefaultVerifyFlags, kWithoutReadBarrier>(); in ResetSingleImplementationInHierarchy()
162 const size_t ifcount = klass->GetIfTableCount<kDefaultVerifyFlags>(); in ResetSingleImplementationInHierarchy()
[all …]
/art/runtime/mirror/
Dobject-refvisitor-inl.h37 ObjPtr<Class> klass = GetClass<kVerifyFlags, kReadBarrierOption>(); in VisitReferences() local
38 const uint32_t class_flags = klass->GetClassFlags<kVerifyNone>(); in VisitReferences()
40 DCHECK((!klass->IsVariableSize<kVerifyFlags>())); in VisitReferences()
41 VisitInstanceFieldsReferences<kVerifyFlags, kReadBarrierOption>(klass, visitor); in VisitReferences()
42 DCHECK((!klass->IsClassClass<kVerifyFlags>())); in VisitReferences()
43 DCHECK(!klass->IsStringClass<kVerifyFlags>()); in VisitReferences()
44 DCHECK(!klass->IsClassLoaderClass<kVerifyFlags>()); in VisitReferences()
45 DCHECK((!klass->IsArrayClass<kVerifyFlags>())); in VisitReferences()
48 DCHECK(!klass->IsStringClass<kVerifyFlags>()); in VisitReferences()
50 DCHECK((klass->IsClassClass<kVerifyFlags>())); in VisitReferences()
[all …]
/art/test/999-redefine-hiddenapi/src/
DMain.java33 Class<?> klass = Class.forName("art.Test999", true, BOOT_CLASS_LOADER); in main() local
34 assertFieldIsHidden(klass, "before redefinition"); in main()
35 assertMethodIsHidden(klass, "before redefinition"); in main()
39 art.Redefinition.doCommonClassRedefinition(klass, CLASS_BYTES, DEX_BYTES); in main()
42 assertFieldIsHidden(klass, "after first redefinition"); in main()
43 assertMethodIsHidden(klass, "after first redefinition"); in main()
46 private static void assertMethodIsHidden(Class<?> klass, String msg) { in assertMethodIsHidden() argument
48 klass.getDeclaredMethod("foo"); in assertMethodIsHidden()
55 private static void assertFieldIsHidden(Class<?> klass, String msg) { in assertFieldIsHidden() argument
57 klass.getDeclaredField("bar"); in assertFieldIsHidden()
/art/openjdkjvmti/
Dti_class.h48 jclass klass,
53 jclass klass,
58 jclass klass,
62 static jvmtiError GetClassModifiers(jvmtiEnv* env, jclass klass, jint* modifiers_ptr);
65 jclass klass,
69 static jvmtiError GetClassStatus(jvmtiEnv* env, jclass klass, jint* status_ptr);
71 static jvmtiError GetClassLoader(jvmtiEnv* env, jclass klass, jobject* classloader_ptr);
83 static jvmtiError IsInterface(jvmtiEnv* env, jclass klass, jboolean* is_interface_ptr);
84 static jvmtiError IsArrayClass(jvmtiEnv* env, jclass klass, jboolean* is_array_class_ptr);
87 jclass klass,
[all …]
Dti_field.h45 jclass klass,
52 jclass klass,
57 jclass klass,
62 jclass klass,
66 static jvmtiError SetFieldModificationWatch(jvmtiEnv* env, jclass klass, jfieldID field)
68 static jvmtiError ClearFieldModificationWatch(jvmtiEnv* env, jclass klass, jfieldID field)
70 static jvmtiError SetFieldAccessWatch(jvmtiEnv* env, jclass klass, jfieldID field)
72 static jvmtiError ClearFieldAccessWatch(jvmtiEnv* env, jclass klass, jfieldID field)
Dti_class.cc163 art::Handle<art::mirror::Class> klass, in ClassPreDefine()
215 art::Handle<art::mirror::ClassExt> ext(hs.NewHandle(klass->EnsureExtDataPresent(self))); in ClassPreDefine()
273 void ClassLoad(art::Handle<art::mirror::Class> klass) override in ClassLoad()
278 thread->GetJniEnv()->AddLocalReference<jclass>(klass.Get())); in ClassLoad()
288 if (klass->IsTemp()) { in ClassLoad()
295 art::Handle<art::mirror::Class> klass) in ClassPrepare()
299 if (temp_klass.Get() != klass.Get()) { in ClassPrepare()
302 HandleTempClass(thread, temp_klass, klass); in ClassPrepare()
305 thread->GetJniEnv()->AddLocalReference<jclass>(klass.Get())); in ClassPrepare()
322 void AddTempClass(art::Thread* self, jclass klass) { in AddTempClass()
[all …]
/art/test/674-hiddenapi/
Dhiddenapi.cc53 JNIEnv* env, jclass klass, jstring jpath, jboolean is_core_platform) { in Java_Main_appendToBootClassLoader() argument
75 Java_Main_setDexDomain(env, klass, int_index, is_core_platform); in Java_Main_appendToBootClassLoader()
93 static jobject NewInstance(JNIEnv* env, jclass klass) { in NewInstance() argument
94 jmethodID constructor = env->GetMethodID(klass, "<init>", "()V"); in NewInstance()
98 return env->NewObject(klass, constructor); in NewInstance()
102 JNIEnv* env, jclass, jclass klass, jstring name, jboolean is_static) { in Java_JNI_canDiscoverField() argument
104 jfieldID field = is_static ? env->GetStaticFieldID(klass, utf_name.c_str(), "I") in Java_JNI_canDiscoverField()
105 : env->GetFieldID(klass, utf_name.c_str(), "I"); in Java_JNI_canDiscoverField()
115 JNIEnv* env, jclass, jclass klass, jstring name, jboolean is_static) { in Java_JNI_canGetField() argument
117 jfieldID field = is_static ? env->GetStaticFieldID(klass, utf_name.c_str(), "I") in Java_JNI_canGetField()
[all …]
/art/runtime/entrypoints/quick/
Dquick_alloc_entrypoints.cc39 mirror::Class* klass, in artAllocObjectFromCode() argument
42 DCHECK(klass != nullptr); in artAllocObjectFromCode()
44 if (kInitialized || klass->IsInitialized()) { in artAllocObjectFromCode()
45 if (!kFinalize || !klass->IsFinalizable()) { in artAllocObjectFromCode()
46 size_t byte_count = klass->GetObjectSize(); in artAllocObjectFromCode()
52 obj->SetClass(klass); in artAllocObjectFromCode()
63 return AllocObjectFromCodeInitialized<kInstrumented>(klass, self, allocator_type).Ptr(); in artAllocObjectFromCode()
65 return AllocObjectFromCodeResolved<kInstrumented>(klass, self, allocator_type).Ptr(); in artAllocObjectFromCode()
67 return AllocObjectFromCode<kInstrumented>(klass, self, allocator_type).Ptr(); in artAllocObjectFromCode()
73 mirror::Class* klass, Thread* self) \
[all …]
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h117 ALWAYS_INLINE inline ObjPtr<mirror::Class> CheckObjectAlloc(ObjPtr<mirror::Class> klass, in CheckObjectAlloc() argument
122 if (UNLIKELY(!klass->IsInstantiable())) { in CheckObjectAlloc()
123 self->ThrowNewException("Ljava/lang/InstantiationError;", klass->PrettyDescriptor().c_str()); in CheckObjectAlloc()
127 if (UNLIKELY(klass->IsClassClass())) { in CheckObjectAlloc()
129 klass->PrettyDescriptor().c_str()); in CheckObjectAlloc()
133 if (UNLIKELY(!klass->IsInitialized())) { in CheckObjectAlloc()
135 Handle<mirror::Class> h_klass(hs.NewHandle(klass)); in CheckObjectAlloc()
153 return klass; in CheckObjectAlloc()
157 inline ObjPtr<mirror::Class> CheckClassInitializedForObjectAlloc(ObjPtr<mirror::Class> klass, in CheckClassInitializedForObjectAlloc() argument
162 if (UNLIKELY(!klass->IsInitialized())) { in CheckClassInitializedForObjectAlloc()
[all …]
/art/test/172-app-image-twice/
Ddebug_print_class.cc27 ObjPtr<mirror::Class> klass = soa.Decode<mirror::Class>(cls); in Java_Main_debugPrintClass() local
28 LOG(ERROR) << "klass: " << klass.Ptr() << " dex_file: " << klass->GetDexFile().GetLocation() in Java_Main_debugPrintClass()
29 << "/" << static_cast<const void*>(&klass->GetDexFile()) in Java_Main_debugPrintClass()
30 << " " << DescribeSpace(klass); in Java_Main_debugPrintClass()
/art/test/690-hiddenapi-same-name-methods/src/
DMain.java49 Class<?> klass = Class.forName(className, true, BOOT_CLASS_LOADER); in main() local
50 checkMethodList(klass, /* expectedLength= */ 2); in main()
51 checkMethod(klass); in main()
55 private static void checkMethodList(Class<?> klass, int expectedLength) { in checkMethodList() argument
56 String className = klass.getName(); in checkMethodList()
57 Method[] methods = klass.getDeclaredMethods(); in checkMethodList()
83 private static void checkMethod(Class<?> klass) throws NoSuchMethodException { in checkMethod() argument
84 String className = klass.getName(); in checkMethod()
85 Method method = klass.getDeclaredMethod(METHOD_NAME); in checkMethod()
/art/test/987-agent-bind/
Dagent_bind.cc37 ScopedLocalRef<jclass> klass(env, env->FindClass("art/Test987")); in doUpPrintCall() local
38 jmethodID targetMethod = env->GetStaticMethodID(klass.get(), function, "()V"); in doUpPrintCall()
39 env->CallStaticVoidMethod(klass.get(), targetMethod); in doUpPrintCall()
43 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED) { in Java_art_Test987_00024Transform_sayHi__()
48 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED) { in Java_art_Test987_00024Transform_sayHi2()
/art/compiler/optimizing/
Dsharpening.cc53 ObjPtr<mirror::Class> klass = method->GetDeclaringClass(); in BootImageAOTCanEmbedMethod() local
54 DCHECK(klass != nullptr); in BootImageAOTCanEmbedMethod()
55 const DexFile& dex_file = klass->GetDexFile(); in BootImageAOTCanEmbedMethod()
56 return compiler_options.IsImageClass(dex_file.StringByTypeIdx(klass->GetDexTypeIndex())); in BootImageAOTCanEmbedMethod()
132 Handle<mirror::Class> klass = load_class->GetClass(); in ComputeLoadClassKind() local
161 } else if ((klass != nullptr) && in ComputeLoadClassKind()
171 is_in_boot_image = (klass != nullptr) && in ComputeLoadClassKind()
172 runtime->GetHeap()->ObjectIsInBootImageSpace(klass.Get()); in ComputeLoadClassKind()
177 } else if (klass != nullptr) { in ComputeLoadClassKind()
214 static inline bool CanUseTypeCheckBitstring(ObjPtr<mirror::Class> klass, CodeGenerator* codegen) in CanUseTypeCheckBitstring() argument
[all …]
/art/test/986-native-method-bind/
Dnative_bind.cc37 ScopedLocalRef<jclass> klass(env, env->FindClass("art/Test986")); in doUpPrintCall() local
38 jmethodID targetMethod = env->GetStaticMethodID(klass.get(), function, "()V"); in doUpPrintCall()
39 env->CallStaticVoidMethod(klass.get(), targetMethod); in doUpPrintCall()
43 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED) { in Java_art_Test986_00024Transform_sayHi__()
48 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED) { in Java_art_Test986_00024Transform_sayHi2()
52 extern "C" JNIEXPORT void JNICALL NoReallySayGoodbye(JNIEnv* env, jclass klass ATTRIBUTE_UNUSED) { in NoReallySayGoodbye()
71 ScopedLocalRef<jclass> klass(env, env->FindClass("art/Test986")); in doJvmtiMethodBind() local
73 klass.get(), in doJvmtiMethodBind()
81 env->CallStaticObjectMethod(klass.get(), in doJvmtiMethodBind()
98 JNIEnv* env ATTRIBUTE_UNUSED, jclass klass ATTRIBUTE_UNUSED) { in Java_art_Test986_setupNativeBindNotify()
[all …]
/art/runtime/native/
Djava_lang_Class.cc206 ObjPtr<mirror::Class> klass = mirror::Class::GetPrimitiveClass(soa.Decode<mirror::String>(name)); in Class_getPrimitiveClass() local
207 return soa.AddLocalReference<jclass>(klass); in Class_getPrimitiveClass()
220 Handle<mirror::Class> klass = hs.NewHandle(DecodeClass(soa, javaThis)); in Class_getInterfacesInternal() local
222 if (klass->IsProxyClass()) { in Class_getInterfacesInternal()
223 return soa.AddLocalReference<jobjectArray>(klass->GetProxyInterfaces()->Clone(soa.Self())); in Class_getInterfacesInternal()
226 const dex::TypeList* iface_list = klass->GetInterfaceTypeList(); in Class_getInterfacesInternal()
248 ObjPtr<mirror::Class> interface = linker->LookupResolvedType(type_idx, klass.Get()); in Class_getInterfacesInternal()
258 ObjPtr<mirror::Class> klass, in GetDeclaredFields() argument
262 IterationRange<StrideIterator<ArtField>> ifields = klass->GetIFields(); in GetDeclaredFields()
263 IterationRange<StrideIterator<ArtField>> sfields = klass->GetSFields(); in GetDeclaredFields()
[all …]

12345678910>>...12