/art/test/674-hiddenapi/src-ex/ |
D | Reflection.java | 25 public static boolean canDiscoverWithGetDeclaredField(Class<?> klass, String name) { in canDiscoverWithGetDeclaredField() 34 public static boolean canDiscoverWithGetDeclaredFields(Class<?> klass, String name) { in canDiscoverWithGetDeclaredFields() 43 public static boolean canDiscoverWithGetField(Class<?> klass, String name) { in canDiscoverWithGetField() 52 public static boolean canDiscoverWithGetFields(Class<?> klass, String name) { in canDiscoverWithGetFields() 61 public static boolean canGetField(Class<?> klass, String name) { in canGetField() 73 public static boolean canSetField(Class<?> klass, String name) { in canSetField() 85 public static boolean canDiscoverWithGetDeclaredMethod(Class<?> klass, String name) { in canDiscoverWithGetDeclaredMethod() 94 public static boolean canDiscoverWithGetDeclaredMethods(Class<?> klass, String name) { in canDiscoverWithGetDeclaredMethods() 103 public static boolean canDiscoverWithGetMethod(Class<?> klass, String name) { in canDiscoverWithGetMethod() 112 public static boolean canDiscoverWithGetMethods(Class<?> klass, String name) { in canDiscoverWithGetMethods() [all …]
|
D | JNI.java | 18 public static native boolean canDiscoverField(Class<?> klass, String name, boolean isStatic); in canDiscoverField() 19 public static native boolean canGetField(Class<?> klass, String name, boolean isStatic); in canGetField() 20 public static native boolean canSetField(Class<?> klass, String name, boolean isStatic); in canSetField() 22 public static native boolean canDiscoverMethod(Class<?> klass, String name, boolean isStatic); in canDiscoverMethod() 23 public static native boolean canInvokeMethodA(Class<?> klass, String name, boolean isStatic); in canInvokeMethodA() 24 public static native boolean canInvokeMethodV(Class<?> klass, String name, boolean isStatic); in canInvokeMethodV() 26 public static native boolean canDiscoverConstructor(Class<?> klass, String signature); in canDiscoverConstructor() 27 public static native boolean canInvokeConstructorA(Class<?> klass, String signature); in canInvokeConstructorA() 28 public static native boolean canInvokeConstructorV(Class<?> klass, String signature); in canInvokeConstructorV()
|
D | JLI.java | 23 MethodHandles.Lookup lookup, Class<?> klass, String fieldName, Class<?> fieldType) { in canDiscoverWithLookupFindGetter() 34 MethodHandles.Lookup lookup, Class<?> klass, String fieldName, Class<?> fieldType) { in canDiscoverWithLookupFindSetter() 45 MethodHandles.Lookup lookup, Class<?> klass, String fieldName, Class<?> fieldType) { in canDiscoverWithLookupFindStaticGetter() 56 MethodHandles.Lookup lookup, Class<?> klass, String fieldName, Class<?> fieldType) { in canDiscoverWithLookupFindStaticSetter() 67 MethodHandles.Lookup lookup, Class<?> klass, MethodType methodType) { in canDiscoverWithLookupFindConstructor() 78 MethodHandles.Lookup lookup, Class<?> klass, String methodName, MethodType methodType) { in canDiscoverWithLookupFindVirtual() 89 MethodHandles.Lookup lookup, Class<?> klass, String methodName, MethodType methodType) { in canDiscoverWithLookupFindStatic()
|
D | ChildClass.java | 33 PrimitiveType(char shorty, Class klass, Object value) { in PrimitiveType() 184 private static void checkMemberCallback(Class<?> klass, String name, in checkMemberCallback() 222 private static void checkField(Class<?> klass, String name, boolean isStatic, in checkField() 333 private static void checkMethod(Class<?> klass, String name, boolean isStatic, in checkMethod() 427 private static void checkConstructor(Class<?> klass, Visibility visibility, Hiddenness hiddenness, in checkConstructor() 515 private static void checkNullaryConstructor(Class<?> klass, Behaviour behaviour) in checkNullaryConstructor() 535 private static void throwDiscoveryException(Class<?> klass, String name, boolean isField, in throwDiscoveryException() 542 private static void throwAccessException(Class<?> klass, String name, boolean isField, in throwAccessException() 548 private static void throwModifiersException(Class<?> klass, String name, boolean isField) { in throwModifiersException()
|
/art/test/1936-thread-end-events/ |
D | method_trace.cc | 40 jfloat JNICALL Java_art_Test989_returnFloatNative(JNIEnv* env, jclass klass) { in Java_art_Test989_returnFloatNative() 45 jdouble JNICALL Java_art_Test989_returnDoubleNative(JNIEnv* env, jclass klass) { in Java_art_Test989_returnDoubleNative() 50 extern "C" JNIEXPORT jobject JNICALL Java_art_Test989_returnValueNative(JNIEnv* env, jclass klass) { in Java_art_Test989_returnValueNative() 61 jclass klass) { in Java_art_Test989_throwANative() 67 jclass klass, in Java_art_Test989_acceptValueNative()
|
/art/test/989-method-trace-throw/ |
D | method_trace.cc | 40 jfloat JNICALL Java_art_Test989_returnFloatNative(JNIEnv* env, jclass klass) { in Java_art_Test989_returnFloatNative() 45 jdouble JNICALL Java_art_Test989_returnDoubleNative(JNIEnv* env, jclass klass) { in Java_art_Test989_returnDoubleNative() 50 extern "C" JNIEXPORT jobject JNICALL Java_art_Test989_returnValueNative(JNIEnv* env, jclass klass) { in Java_art_Test989_returnValueNative() 61 jclass klass) { in Java_art_Test989_throwANative() 67 jclass klass, in Java_art_Test989_acceptValueNative()
|
/art/test/999-redefine-hiddenapi/src/ |
D | Main.java | 33 Class<?> klass = Class.forName("art.Test999", true, BOOT_CLASS_LOADER); in main() local 46 private static void assertMethodIsHidden(Class<?> klass, String msg) { in assertMethodIsHidden() 55 private static void assertFieldIsHidden(Class<?> klass, String msg) { in assertFieldIsHidden()
|
/art/test/674-hiddenapi/ |
D | hiddenapi.cc | 56 JNIEnv* env, jclass klass, jstring jpath, jboolean is_core_platform) { in Java_Main_appendToBootClassLoader() 96 static jobject NewInstance(JNIEnv* env, jclass klass) { in NewInstance() 105 JNIEnv* env, jclass, jclass klass, jstring name, jboolean is_static) { in Java_JNI_canDiscoverField() argument 118 JNIEnv* env, jclass, jclass klass, jstring name, jboolean is_static) { in Java_JNI_canGetField() argument 148 JNIEnv* env, jclass, jclass klass, jstring name, jboolean is_static) { in Java_JNI_canSetField() argument 178 JNIEnv* env, jclass, jclass klass, jstring name, jboolean is_static) { in Java_JNI_canDiscoverMethod() argument 191 JNIEnv* env, jclass, jclass klass, jstring name, jboolean is_static) { in Java_JNI_canInvokeMethodA() argument 222 JNIEnv* env, jclass, jclass klass, jstring name, jboolean is_static) { in Java_JNI_canInvokeMethodV() argument 256 JNIEnv* env, jclass, jclass klass, jstring args) { in Java_JNI_canDiscoverConstructor() argument 268 JNIEnv* env, jclass, jclass klass, jstring args) { in Java_JNI_canInvokeConstructorA() argument [all …]
|
/art/test/690-hiddenapi-same-name-methods/src/ |
D | Main.java | 49 Class<?> klass = Class.forName(className, true, BOOT_CLASS_LOADER); in main() local 55 private static void checkMethodList(Class<?> klass, int expectedLength) { in checkMethodList() 83 private static void checkMethod(Class<?> klass) throws NoSuchMethodException { in checkMethod()
|
/art/runtime/ |
D | class_table.cc | 36 bool ClassTable::Contains(ObjPtr<mirror::Class> klass) { in Contains() 40 ObjPtr<mirror::Class> ClassTable::LookupByDescriptor(ObjPtr<mirror::Class> klass) { in LookupByDescriptor() 53 ObjPtr<mirror::Class> klass, in UpdateClass() 130 ObjPtr<mirror::Class> ClassTable::TryInsert(ObjPtr<mirror::Class> klass) { in TryInsert() 143 void ClassTable::Insert(ObjPtr<mirror::Class> klass) { in Insert() 162 void ClassTable::InsertWithoutLocks(ObjPtr<mirror::Class> klass) { in InsertWithoutLocks() 167 void ClassTable::InsertWithHash(ObjPtr<mirror::Class> klass, size_t hash) { in InsertWithHash() 295 ClassTable::TableSlot::TableSlot(ObjPtr<mirror::Class> klass) in TableSlot() 298 uint32_t ClassTable::TableSlot::HashDescriptor(ObjPtr<mirror::Class> klass) { in HashDescriptor()
|
/art/runtime/interpreter/ |
D | interpreter.cc | 62 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni() local 73 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni() local 80 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni() local 87 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni() local 94 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni() local 101 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni() local 114 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni() local 122 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni() local 132 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni() local 139 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni() local [all …]
|
/art/test/918-fields/ |
D | fields.cc | 32 JNIEnv* env, jclass klass, jobject field) { in Java_art_Test918_getFieldName() 84 JNIEnv* env, jclass klass, jobject field) { in Java_art_Test918_getFieldDeclaringClass() 101 JNIEnv* env, jclass klass, jobject field) { in Java_art_Test918_getFieldModifiers() 118 JNIEnv* env, jclass klass, jobject field) { in Java_art_Test918_isFieldSynthetic()
|
/art/openjdkjvmti/ |
D | ti_field.cc | 132 jclass klass, in GetFieldName() 204 jclass klass, in GetFieldDeclaringClass() 227 jclass klass, in GetFieldModifiers() 250 jclass klass, in IsFieldSynthetic() 271 jvmtiError FieldUtil::SetFieldModificationWatch(jvmtiEnv* jenv, jclass klass, jfieldID field) { in SetFieldModificationWatch() 288 jvmtiError FieldUtil::ClearFieldModificationWatch(jvmtiEnv* jenv, jclass klass, jfieldID field) { in ClearFieldModificationWatch() 305 jvmtiError FieldUtil::SetFieldAccessWatch(jvmtiEnv* jenv, jclass klass, jfieldID field) { in SetFieldAccessWatch() 322 jvmtiError FieldUtil::ClearFieldAccessWatch(jvmtiEnv* jenv, jclass klass, jfieldID field) { in ClearFieldAccessWatch()
|
D | ti_class_definition.cc | 118 jvmtiError ArtClassDefinition::InitCommon(art::Thread* self, jclass klass) { in InitCommon() 146 static void GetDexDataForRetransformation(art::Handle<art::mirror::Class> klass, in GetDexDataForRetransformation() 185 static bool DexNeedsDequickening(art::Handle<art::mirror::Class> klass, in DexNeedsDequickening() 214 static const art::DexFile* GetQuickenedDexFile(art::Handle<art::mirror::Class> klass) in GetQuickenedDexFile() 306 jvmtiError ArtClassDefinition::Init(art::Thread* self, jclass klass) { in Init()
|
/art/runtime/entrypoints/ |
D | entrypoint_utils-inl.h | 119 inline ObjPtr<mirror::Class> CheckClassInitializedForObjectAlloc(ObjPtr<mirror::Class> klass, in CheckClassInitializedForObjectAlloc() 147 ALWAYS_INLINE inline ObjPtr<mirror::Class> CheckObjectAlloc(ObjPtr<mirror::Class> klass, in CheckObjectAlloc() 170 inline ObjPtr<mirror::Object> AllocObjectFromCode(ObjPtr<mirror::Class> klass, in AllocObjectFromCode() 191 inline ObjPtr<mirror::Object> AllocObjectFromCodeResolved(ObjPtr<mirror::Class> klass, in AllocObjectFromCodeResolved() 216 inline ObjPtr<mirror::Object> AllocObjectFromCodeInitialized(ObjPtr<mirror::Class> klass, in AllocObjectFromCodeInitialized() 237 ObjPtr<mirror::Class> klass = method->GetDexCache()->GetResolvedType(type_idx); in CheckArrayAlloc() local 271 ObjPtr<mirror::Class> klass = in AllocArrayFromCode() local 294 inline ObjPtr<mirror::Array> AllocArrayFromCodeResolved(ObjPtr<mirror::Class> klass, in AllocArrayFromCodeResolved() 453 ObjPtr<mirror::Class> klass = (*this_object)->GetClass(); in FindMethodToCall() local 532 ObjPtr<mirror::Class> klass = (*this_object)->GetClass(); in FindMethodToCall() local [all …]
|
/art/runtime/verifier/ |
D | reg_type.cc | 57 PrimitiveType::PrimitiveType(ObjPtr<mirror::Class> klass, in PrimitiveType() 65 Cat1Type::Cat1Type(ObjPtr<mirror::Class> klass, in Cat1Type() 71 Cat2Type::Cat2Type(ObjPtr<mirror::Class> klass, in Cat2Type() 138 const DoubleHiType* DoubleHiType::CreateInstance(ObjPtr<mirror::Class> klass, in CreateInstance() 153 const DoubleLoType* DoubleLoType::CreateInstance(ObjPtr<mirror::Class> klass, in CreateInstance() 168 const LongLoType* LongLoType::CreateInstance(ObjPtr<mirror::Class> klass, in CreateInstance() 176 const LongHiType* LongHiType::CreateInstance(ObjPtr<mirror::Class> klass, in CreateInstance() 198 const FloatType* FloatType::CreateInstance(ObjPtr<mirror::Class> klass, in CreateInstance() 213 const CharType* CharType::CreateInstance(ObjPtr<mirror::Class> klass, in CreateInstance() 228 const ShortType* ShortType::CreateInstance(ObjPtr<mirror::Class> klass, in CreateInstance() [all …]
|
D | reg_type.h | 321 RegType(ObjPtr<mirror::Class> klass, in RegType() 382 ConflictType(ObjPtr<mirror::Class> klass, in ConflictType() 418 UndefinedType(ObjPtr<mirror::Class> klass, in UndefinedType() 460 IntegerType(ObjPtr<mirror::Class> klass, in IntegerType() 485 BooleanType(ObjPtr<mirror::Class> klass, in BooleanType() 511 ByteType(ObjPtr<mirror::Class> klass, in ByteType() 536 ShortType(ObjPtr<mirror::Class> klass, const std::string_view& descriptor, in ShortType() 560 CharType(ObjPtr<mirror::Class> klass, in CharType() 585 FloatType(ObjPtr<mirror::Class> klass, in FloatType() 618 LongLoType(ObjPtr<mirror::Class> klass, in LongLoType() [all …]
|
D | reg_type_cache.cc | 165 ObjPtr<mirror::Class> klass = nullptr; in ResolveClass() local 197 ObjPtr<mirror::Class> klass = ResolveClass(descriptor, loader); in From() local 243 const RegType* RegTypeCache::FindClass(ObjPtr<mirror::Class> klass, bool precise) const { in FindClass() 263 ObjPtr<mirror::Class> klass, in InsertClass() 275 ObjPtr<mirror::Class> klass, in FromClass() 360 ObjPtr<mirror::Class> klass = nullptr; in CreatePrimitiveAndSmallConstantTypes() local 517 ObjPtr<mirror::Class> klass = type.GetClass(); in Uninitialized() local 549 ObjPtr<mirror::Class> klass = uninit_type.GetClass(); in FromUninitialized() local 600 ObjPtr<mirror::Class> klass = type.GetClass(); in UninitializedThisArgument() local 673 ObjPtr<mirror::Class> klass = array.GetClass()->GetComponentType(); in GetComponentType() local
|
/art/runtime/native/ |
D | java_lang_Class.cc | 223 ObjPtr<mirror::Class> klass = mirror::Class::GetPrimitiveClass(soa.Decode<mirror::String>(name)); in Class_getPrimitiveClass() local 237 Handle<mirror::Class> klass = hs.NewHandle(DecodeClass(soa, javaThis)); in Class_getInterfacesInternal() local 283 ObjPtr<mirror::Class> klass, in GetDeclaredFields() 537 ObjPtr<mirror::Class> klass = DecodeClass(soa, javaThis); in Class_getDeclaredConstructorInternal() local 608 ObjPtr<mirror::Class> klass = DecodeClass(soa, javaThis); in Class_getDeclaredMethodInternal() local 634 Handle<mirror::Class> klass = hs.NewHandle(DecodeClass(soa, javaThis)); in Class_getDeclaredMethodsUnchecked() local 676 Handle<mirror::Class> klass(hs.NewHandle(DecodeClass(soa, javaThis))); in Class_getDeclaredAnnotation() local 699 Handle<mirror::Class> klass(hs.NewHandle(DecodeClass(soa, javaThis))); in Class_getDeclaredAnnotations() local 720 Handle<mirror::Class> klass(hs.NewHandle(DecodeClass(soa, javaThis))); in Class_getDeclaredClasses() local 747 Handle<mirror::Class> klass(hs.NewHandle(DecodeClass(soa, javaThis))); in Class_getEnclosingClass() local [all …]
|
/art/test/1970-force-early-return-long/ |
D | force_early_return_long.cc | 48 jclass klass = env->GetObjectClass(thiz); in Java_art_Test1970_00024NativeCalledObject_calledFunction() local 72 jclass klass = env->GetObjectClass(thiz); in Java_art_Test1970_00024NativeCallerObject_run() local
|
/art/test/912-classes/ |
D | classes.cc | 40 JNIEnv* env, jclass Main_klass ATTRIBUTE_UNUSED, jclass klass) { in Java_art_Test912_isModifiableClass() 48 JNIEnv* env, jclass Main_klass ATTRIBUTE_UNUSED, jclass klass) { in Java_art_Test912_getClassSignature() 77 JNIEnv* env, jclass Main_klass ATTRIBUTE_UNUSED, jclass klass) { in Java_art_Test912_isInterface() 85 JNIEnv* env, jclass Main_klass ATTRIBUTE_UNUSED, jclass klass) { in Java_art_Test912_isArrayClass() 93 JNIEnv* env, jclass Main_klass ATTRIBUTE_UNUSED, jclass klass) { in Java_art_Test912_getClassModifiers() 101 JNIEnv* env, jclass Main_klass ATTRIBUTE_UNUSED, jclass klass) { in Java_art_Test912_getClassFields() 126 JNIEnv* env, jclass Main_klass ATTRIBUTE_UNUSED, jclass klass) { in Java_art_Test912_getClassMethods() 151 JNIEnv* env, jclass Main_klass ATTRIBUTE_UNUSED, jclass klass) { in Java_art_Test912_getImplementedInterfaces() 170 JNIEnv* env, jclass Main_klass ATTRIBUTE_UNUSED, jclass klass) { in Java_art_Test912_getClassStatus() 178 JNIEnv* env, jclass Main_klass ATTRIBUTE_UNUSED, jclass klass) { in Java_art_Test912_getClassLoader() [all …]
|
/art/test/1968-force-early-return/ |
D | force_early_return.cc | 48 jclass klass = env->GetObjectClass(thiz); in Java_art_Test1968_00024NativeCalledObject_calledFunction() local 73 jclass klass = env->GetObjectClass(thiz); in Java_art_Test1968_00024NativeCallerObject_run() local
|
/art/test/common/ |
D | stack_inspect.cc | 59 extern "C" JNIEXPORT jboolean JNICALL Java_Main_isInterpreted(JNIEnv* env, jclass klass) { in Java_Main_isInterpreted() 66 jclass klass, in Java_Main_isInterpretedAt() 131 extern "C" JNIEXPORT void JNICALL Java_Main_assertIsInterpreted(JNIEnv* env, jclass klass) { in Java_Main_assertIsInterpreted() 161 extern "C" JNIEXPORT jboolean JNICALL Java_Main_isCallerInterpreted(JNIEnv* env, jclass klass) { in Java_Main_isCallerInterpreted() 167 extern "C" JNIEXPORT void JNICALL Java_Main_assertCallerIsInterpreted(JNIEnv* env, jclass klass) { in Java_Main_assertCallerIsInterpreted()
|
/art/test/ti-agent/ |
D | trace_helper.cc | 106 ScopedLocalRef<jclass> klass(jnienv, data->GetTestClass(jvmti, jnienv)); in threadStartCB() local 121 ScopedLocalRef<jclass> klass(jnienv, data->GetTestClass(jvmti, jnienv)); in threadEndCB() local 142 ScopedLocalRef<jclass> klass(jnienv, data->GetTestClass(jvmti, jnienv)); in singleStepCB() local 174 ScopedLocalRef<jclass> klass(jnienv, data->GetTestClass(jvmti, jnienv)); in fieldAccessCB() local 212 ScopedLocalRef<jclass> klass(jnienv, data->GetTestClass(jvmti, jnienv)); in fieldModificationCB() local 255 ScopedLocalRef<jclass> klass(jnienv, data->GetTestClass(jvmti, jnienv)); in methodExitCB() local 291 ScopedLocalRef<jclass> klass(jnienv, data->GetTestClass(jvmti, jnienv)); in methodEntryCB() local 307 jclass klass) { in classPrepareCB() 447 jclass klass; in Java_art_Trace_watchFieldModification() local 461 jclass klass; in Java_art_Trace_watchFieldAccess() local [all …]
|
/art/runtime/dex/ |
D | dex_file_annotations.cc | 118 ClassData(Handle<mirror::Class> klass, in ClassData() 174 ObjPtr<mirror::Class> klass = field->GetDeclaringClass(); in FindAnnotationSetForField() local 338 static const AnnotationSetItem* FindAnnotationSetForClass(const ClassData& klass) in FindAnnotationSetForClass() 353 ObjPtr<mirror::Object> ProcessEncodedAnnotation(const ClassData& klass, const uint8_t** annotation) in ProcessEncodedAnnotation() 415 bool ProcessAnnotationValue(const ClassData& klass, in ProcessAnnotationValue() 713 ObjPtr<mirror::Object> CreateAnnotationMember(const ClassData& klass, in CreateAnnotationMember() 782 const AnnotationItem* GetAnnotationItemFromAnnotationSet(const ClassData& klass, in GetAnnotationItemFromAnnotationSet() 818 ObjPtr<mirror::Object> GetAnnotationObjectFromAnnotationSet(const ClassData& klass, in GetAnnotationObjectFromAnnotationSet() 832 ObjPtr<mirror::Object> GetAnnotationValue(const ClassData& klass, in GetAnnotationValue() 866 const ClassData& klass, in GetSignatureValue() [all …]
|