Home
last modified time | relevance | path

Searched defs:klass (Results 1 – 25 of 295) sorted by relevance

12345678910>>...12

/art/test/674-hiddenapi/src-ex/
DReflection.java25 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 …]
DJNI.java18 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()
DJLI.java23 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()
/art/test/989-method-trace-throw/
Dmethod_trace.cc40 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()
56 [[maybe_unused]] jclass klass) { in Java_art_Test989_doNothingNative()
61 jclass klass) { in Java_art_Test989_throwANative()
67 [[maybe_unused]] jclass klass) { in Java_art_Test989_doThrowNative()
73 jclass klass, in Java_art_Test989_acceptValueNative()
/art/test/1936-thread-end-events/
Dmethod_trace.cc40 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()
56 [[maybe_unused]] jclass klass) { in Java_art_Test989_doNothingNative()
61 jclass klass) { in Java_art_Test989_throwANative()
67 jclass klass, in Java_art_Test989_acceptValueNative()
/art/test/986-native-method-bind/
Dnative_bind.cc37 ScopedLocalRef<jclass> klass(env, env->FindClass("art/Test986")); in doUpPrintCall() local
43 JNIEnv* env, [[maybe_unused]] jclass klass) { in Java_art_Test986_00024Transform_sayHi__()
48 JNIEnv* env, [[maybe_unused]] jclass klass) { in Java_art_Test986_00024Transform_sayHi2()
52 extern "C" JNIEXPORT void JNICALL NoReallySayGoodbye(JNIEnv* env, [[maybe_unused]] jclass klass) { in NoReallySayGoodbye()
71 ScopedLocalRef<jclass> klass(env, env->FindClass("art/Test986")); in doJvmtiMethodBind() local
98 [[maybe_unused]] JNIEnv* env, [[maybe_unused]] jclass klass) { in Java_art_Test986_setupNativeBindNotify()
106 JNIEnv* env, [[maybe_unused]] jclass klass, jboolean enable) { in Java_art_Test986_setNativeBindNotify()
116 JNIEnv* env, [[maybe_unused]] jclass klass, jclass k) { in Java_art_Test986_rebindTransformClass()
/art/test/2038-hiddenapi-jvmti-ext/src/
DMain.java33 Class<?> klass = Class.forName("art.Test2038", true, BOOT_CLASS_LOADER); in main() local
49 private static void assertMethodNotHidden(Class<?> klass, String msg) { in assertMethodNotHidden()
58 private static void assertFieldNotHidden(Class<?> klass, String msg) { in assertFieldNotHidden()
66 private static void assertMethodIsHidden(Class<?> klass, String msg) { in assertMethodIsHidden()
75 private static void assertFieldIsHidden(Class<?> klass, String msg) { in assertFieldIsHidden()
/art/runtime/gc/
Dverification-inl.h28 bool Verification::IsValidClassUnchecked(mirror::Class* klass) const { in IsValidClassUnchecked()
44 bool Verification::IsValidClass(mirror::Class* klass) const { in IsValidClass()
56 mirror::Class* klass = obj->GetClass<kVerifyNone, kReadBarrierOption>(); in IsValidObject() local
/art/test/910-methods/
Dmethods.cc34 JNIEnv* env, [[maybe_unused]] jclass klass, jobject method) { in Java_art_Test910_getMethodName()
77 JNIEnv* env, [[maybe_unused]] jclass klass, jobject method) { in Java_art_Test910_getMethodDeclaringClass()
90 JNIEnv* env, [[maybe_unused]] jclass klass, jobject method) { in Java_art_Test910_getMethodModifiers()
103 JNIEnv* env, [[maybe_unused]] jclass klass, jobject method) { in Java_art_Test910_getMaxLocals()
116 JNIEnv* env, [[maybe_unused]] jclass klass, jobject method) { in Java_art_Test910_getArgumentsSize()
129 JNIEnv* env, [[maybe_unused]] jclass klass, jobject method) { in Java_art_Test910_getMethodLocationStart()
143 JNIEnv* env, [[maybe_unused]] jclass klass, jobject method) { in Java_art_Test910_getMethodLocationEnd()
157 JNIEnv* env, [[maybe_unused]] jclass klass, jobject method) { in Java_art_Test910_isMethodNative()
170 JNIEnv* env, [[maybe_unused]] jclass klass, jobject method) { in Java_art_Test910_isMethodObsolete()
183 JNIEnv* env, [[maybe_unused]] jclass klass, jobject method) { in Java_art_Test910_isMethodSynthetic()
/art/test/987-agent-bind/
Dagent_bind.cc37 ScopedLocalRef<jclass> klass(env, env->FindClass("art/Test987")); in doUpPrintCall() local
43 JNIEnv* env, [[maybe_unused]] jclass klass) { in Java_art_Test987_00024Transform_sayHi__()
48 JNIEnv* env, [[maybe_unused]] jclass klass) { in Java_art_Test987_00024Transform_sayHi2()
/art/test/993-breakpoints/
Dbreakpoints.cc41 [[maybe_unused]] jclass klass, in Java_art_Test993_constructNative()
53 [[maybe_unused]] jclass klass, in Java_art_Test993_invokeNativeObject()
70 [[maybe_unused]] jclass klass, in Java_art_Test993_invokeNativeBool()
87 [[maybe_unused]] jclass klass, in Java_art_Test993_invokeNativeLong()
104 [[maybe_unused]] jclass klass, in Java_art_Test993_invokeNative()
/art/test/2040-huge-native-alloc/
Dhuge_native_buf.cc29 JNIEnv* env, [[maybe_unused]] jclass klass) { in Java_Main_getHugeNativeBuffer()
35 JNIEnv* env, [[maybe_unused]] jclass klass, jobject jbuffer) { in Java_Main_deleteHugeNativeBuffer()
40 [[maybe_unused]] JNIEnv* env, [[maybe_unused]] jclass klass) { in Java_Main_getGcNum()
/art/test/908-gc-start-finish/
Dgc_callbacks.cc44 JNIEnv* env, [[maybe_unused]] jclass klass) { in Java_art_Test908_setupGcCallback()
55 [[maybe_unused]] jclass klass, in Java_art_Test908_enableGcTracking()
74 [[maybe_unused]] jclass klass) { in Java_art_Test908_getGcStarts()
81 [[maybe_unused]] jclass klass) { in Java_art_Test908_getGcFinishes()
/art/runtime/mirror/
Dobject-refvisitor-inl.h31 static void CheckNoReferenceField(ObjPtr<mirror::Class> klass) in CheckNoReferenceField()
54 static void CheckNormalClass(ObjPtr<mirror::Class> klass) in CheckNormalClass()
71 ObjPtr<Class> klass = GetClass<kVerifyFlags, kReadBarrierOption>(); in VisitReferences() local
140 ObjPtr<Class> klass = GetClass<kVerifyFlags, kReadBarrierOption>(); in VisitRefsForCompaction() local
/art/runtime/native/
Djava_lang_Class.cc151 ObjPtr<mirror::Class> klass = mirror::Class::GetPrimitiveClass(soa.Decode<mirror::String>(name)); in Class_getPrimitiveClass() local
165 Handle<mirror::Class> klass = hs.NewHandle(DecodeClass(soa, javaThis)); in Class_getInterfacesInternal() local
212 ObjPtr<mirror::Class> klass = DecodeClass(soa, javaThis); in Class_getDeclaredFieldsUnchecked() local
221 ObjPtr<mirror::Class> klass = DecodeClass(soa, javaThis); in Class_getDeclaredFields() local
230 ObjPtr<mirror::Class> klass = DecodeClass(soa, javaThis); in Class_getPublicDeclaredFields() local
412 ObjPtr<mirror::Class> klass = DecodeClass(soa, javaThis); in Class_getDeclaredConstructorInternal() local
483 ObjPtr<mirror::Class> klass = DecodeClass(soa, javaThis); in Class_getDeclaredMethodInternal() local
509 Handle<mirror::Class> klass = hs.NewHandle(DecodeClass(soa, javaThis)); in Class_getDeclaredMethodsUnchecked() local
551 Handle<mirror::Class> klass(hs.NewHandle(DecodeClass(soa, javaThis))); in Class_getDeclaredAnnotation() local
574 Handle<mirror::Class> klass(hs.NewHandle(DecodeClass(soa, javaThis))); in Class_getDeclaredAnnotations() local
[all …]
/art/test/999-redefine-hiddenapi/src/
DMain.java33 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/
Dhiddenapi.cc53 JNIEnv* env, jclass klass, jstring jpath, jboolean is_core_platform) { in Java_Main_appendToBootClassLoader()
88 static jobject NewInstance(JNIEnv* env, jclass klass) { in NewInstance()
97 JNIEnv* env, jclass, jclass klass, jstring name, jboolean is_static) { in Java_JNI_canDiscoverField() argument
110 JNIEnv* env, jclass, jclass klass, jstring name, jboolean is_static) { in Java_JNI_canGetField() argument
140 JNIEnv* env, jclass, jclass klass, jstring name, jboolean is_static) { in Java_JNI_canSetField() argument
170 JNIEnv* env, jclass, jclass klass, jstring name, jboolean is_static) { in Java_JNI_canDiscoverMethod() argument
183 JNIEnv* env, jclass, jclass klass, jstring name, jboolean is_static) { in Java_JNI_canInvokeMethodA() argument
214 JNIEnv* env, jclass, jclass klass, jstring name, jboolean is_static) { in Java_JNI_canInvokeMethodV() argument
248 JNIEnv* env, jclass, jclass klass, jstring args) { in Java_JNI_canDiscoverConstructor() argument
260 JNIEnv* env, jclass, jclass klass, jstring args) { in Java_JNI_canInvokeConstructorA() argument
[all …]
/art/test/ti-agent/
Dsuspend_event_helper.cc261 void JNICALL cbClassLoadOrPrepare(jvmtiEnv* jvmti, JNIEnv* env, jthread thr, jclass klass) { in cbClassLoadOrPrepare()
284 [[maybe_unused]] jclass klass) { in Java_art_SuspendEvents_setupTest()
377 [[maybe_unused]] jclass klass, in Java_art_SuspendEvents_setupSuspendClassEvent()
412 JNIEnv* env, [[maybe_unused]] jclass klass, jthread thr) { in Java_art_SuspendEvents_clearSuspendClassEvent()
435 JNIEnv* env, [[maybe_unused]] jclass klass, jobject meth, jlocation loc, jthread thr) { in Java_art_SuspendEvents_setupSuspendSingleStepAt()
456 JNIEnv* env, [[maybe_unused]] jclass klass, jthread thr) { in Java_art_SuspendEvents_clearSuspendSingleStepFor()
473 JNIEnv* env, [[maybe_unused]] jclass klass, jint offset, jobject breakpoint_func, jthread thr) { in Java_art_SuspendEvents_setupSuspendPopFrameEvent()
504 JNIEnv* env, [[maybe_unused]] jclass klass , jthread thr) { in Java_art_SuspendEvents_clearSuspendPopFrameEvent()
531 JNIEnv* env, [[maybe_unused]] jclass klass , jobject meth, jlocation loc, jthread thr) { in Java_art_SuspendEvents_setupSuspendBreakpointFor()
556 JNIEnv* env, [[maybe_unused]] jclass klass , jthread thr) { in Java_art_SuspendEvents_clearSuspendBreakpointFor()
[all …]
/art/test/2009-structural-local-ref/
Dlocal-ref.cc35 JNIEnv* env, [[maybe_unused]] jclass klass, jobject obj, jobject thnk) { in Java_art_Test2009_NativeLocalCallStatic()
49 JNIEnv* env, [[maybe_unused]] jclass klass, jobject obj, jobject thnk) { in Java_art_Test2009_NativeLocalCallVirtual()
61 JNIEnv* env, [[maybe_unused]] jclass klass, jobject obj, jobject thnk) { in Java_art_Test2009_NativeLocalGetIField()
74 JNIEnv* env, [[maybe_unused]] jclass klass, jobject obj, jobject thnk) { in Java_art_Test2009_NativeLocalGetSField()
/art/runtime/interpreter/
Dinterpreter.cc60 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni() local
71 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni() local
78 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni() local
85 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni() local
92 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni() local
99 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni() local
112 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni() local
120 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni() local
130 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni() local
137 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni() local
[all …]
/art/test/905-object-free/
Dtracking_free.cc67 JNIEnv* env, [[maybe_unused]] jclass klass) { in Java_art_Test905_setupObjectFreeCallback()
77 JNIEnv* env, [[maybe_unused]] jclass klass, jboolean enable) { in Java_art_Test905_enableFreeTracking()
93 JNIEnv* env, [[maybe_unused]] jclass klass, jint index) { in Java_art_Test905_getCollectedTags()
108 JNIEnv* env, [[maybe_unused]] jclass klass, jobject obj) { in Java_art_Test905_getTag2()
116 JNIEnv* env, [[maybe_unused]] jclass klass, jobject obj, jlong tag) { in Java_art_Test905_setTag2()
/art/test/536-checker-needs-access-check/src/other/
DInaccessibleClassProxy.java25 Class<?> klass = InaccessibleClass.$noinline$getReferrersClass(); in testGetReferrersClass() local
32 Class<?> klass = InaccessibleClass.$noinline$getReferrersClassViaAnotherClass(); in testGetReferrersClassViaAnotherClass() local
/art/test/690-hiddenapi-same-name-methods/src/
DMain.java49 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/test/common/
Dstack_inspect.cc59 extern "C" JNIEXPORT jboolean JNICALL Java_Main_isInterpreted(JNIEnv* env, jclass klass) { in Java_Main_isInterpreted()
66 jclass klass, in Java_Main_isInterpretedAt()
103 JNIEnv* env, [[maybe_unused]] jclass klass, jobject method, jboolean require_deoptimizable) { in Java_Main_isInterpretedFunction()
133 extern "C" JNIEXPORT void JNICALL Java_Main_assertIsInterpreted(JNIEnv* env, jclass klass) { in Java_Main_assertIsInterpreted()
163 extern "C" JNIEXPORT jboolean JNICALL Java_Main_isCallerInterpreted(JNIEnv* env, jclass klass) { in Java_Main_isCallerInterpreted()
169 extern "C" JNIEXPORT void JNICALL Java_Main_assertCallerIsInterpreted(JNIEnv* env, jclass klass) { in Java_Main_assertCallerIsInterpreted()
/art/test/2035-structural-native-method/
Dstructural-native.cc34 jlong JNICALL TransformNativeMethod([[maybe_unused]] JNIEnv* env, [[maybe_unused]] jclass klass) { in TransformNativeMethod()
39 JNIEnv* env, [[maybe_unused]] jclass klass, jclass target) { in Java_art_Test2035_LinkClassMethods()

12345678910>>...12