Home
last modified time | relevance | path

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

12345678910>>...13

/aosp12/art/test/674-hiddenapi/src-ex/
H A 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()
103 public static boolean canDiscoverWithGetMethod(Class<?> klass, String name) { in canDiscoverWithGetMethod()
112 public static boolean canDiscoverWithGetMethods(Class<?> klass, String name) { in canDiscoverWithGetMethods()
121 public static boolean canInvokeMethod(Class<?> klass, String name) { in canInvokeMethod()
[all …]
H A 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()
H A 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()
H A DChildClass.java33 PrimitiveType(char shorty, Class klass, Object value) { in PrimitiveType()
183 private static void checkMemberCallback(Class<?> klass, String name, in checkMemberCallback()
221 private static void checkField(Class<?> klass, String name, boolean isStatic, in checkField()
332 private static void checkMethod(Class<?> klass, String name, boolean isStatic, in checkMethod()
426 private static void checkConstructor(Class<?> klass, Visibility visibility, Hiddenness hiddenness, in checkConstructor()
514 private static void checkNullaryConstructor(Class<?> klass, Behaviour behaviour) in checkNullaryConstructor()
534 private static void throwDiscoveryException(Class<?> klass, String name, boolean isField, in throwDiscoveryException()
541 private static void throwAccessException(Class<?> klass, String name, boolean isField, in throwAccessException()
547 private static void throwModifiersException(Class<?> klass, String name, boolean isField) { in throwModifiersException()
/aosp12/art/test/989-method-trace-throw/
H A 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()
61 jclass klass) { in Java_art_Test989_throwANative()
67 jclass klass, in Java_art_Test989_acceptValueNative()
/aosp12/art/test/1936-thread-end-events/
H A 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()
61 jclass klass) { in Java_art_Test989_throwANative()
67 jclass klass, in Java_art_Test989_acceptValueNative()
/aosp12/art/test/2038-hiddenapi-jvmti-ext/src/
H A 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()
/aosp12/art/test/674-hiddenapi/
H A Dhiddenapi.cc56 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 …]
/aosp12/frameworks/base/core/java/android/hardware/camera2/marshal/
H A DMarshalHelpers.java86 public static <T> Class<T> checkPrimitiveClass(Class<T> klass) { in checkPrimitiveClass()
112 public static boolean isUnwrappedPrimitiveClass(Class<?> klass) { in isUnwrappedPrimitiveClass()
151 public static <T> boolean isPrimitiveClass(Class<T> klass) { in isPrimitiveClass()
187 public static <T> Class<T> wrapClassIfPrimitive(Class<T> klass) { in wrapClassIfPrimitive()
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DStateManager.java51 public void startState(Class<? extends ActivityState> klass, in startState()
62 top.transitionOnNextPause(top.getClass(), klass, in startState() local
77 public void startStateForResult(Class<? extends ActivityState> klass, in startStateForResult()
92 as.transitionOnNextPause(as.getClass(), klass, in startStateForResult() local
226 Class<? extends ActivityState> klass, Bundle data) { in switchState()
237 oldState.transitionOnNextPause(oldState.getClass(), klass, in switchState() local
273 Class<? extends ActivityState> klass = in restoreFromState() local
315 public boolean hasStateClass(Class<? extends ActivityState> klass) { in hasStateClass()
/aosp12/art/test/999-redefine-hiddenapi/src/
H A 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()
/aosp12/art/runtime/interpreter/
H A Dinterpreter.cc62 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 …]
/aosp12/art/test/690-hiddenapi-same-name-methods/src/
H A 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()
/aosp12/art/runtime/native/
H A Djava_lang_Class.cc239 Handle<mirror::Class> klass = hs.NewHandle(DecodeClass(soa, javaThis)); in Class_getInterfacesInternal() local
285 ObjPtr<mirror::Class> klass, in GetDeclaredFields()
539 ObjPtr<mirror::Class> klass = DecodeClass(soa, javaThis); in Class_getDeclaredConstructorInternal() local
610 ObjPtr<mirror::Class> klass = DecodeClass(soa, javaThis); in Class_getDeclaredMethodInternal() local
678 Handle<mirror::Class> klass(hs.NewHandle(DecodeClass(soa, javaThis))); in Class_getDeclaredAnnotation() local
701 Handle<mirror::Class> klass(hs.NewHandle(DecodeClass(soa, javaThis))); in Class_getDeclaredAnnotations() local
722 Handle<mirror::Class> klass(hs.NewHandle(DecodeClass(soa, javaThis))); in Class_getDeclaredClasses() local
749 Handle<mirror::Class> klass(hs.NewHandle(DecodeClass(soa, javaThis))); in Class_getEnclosingClass() local
763 Handle<mirror::Class> klass(hs.NewHandle(DecodeClass(soa, javaThis))); in Class_getEnclosingConstructorNative() local
783 Handle<mirror::Class> klass(hs.NewHandle(DecodeClass(soa, javaThis))); in Class_getEnclosingMethodNative() local
[all …]
/aosp12/art/runtime/verifier/
H A Dreg_type.cc57 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()
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()
243 const ByteType* ByteType::CreateInstance(ObjPtr<mirror::Class> klass, in CreateInstance()
322 PreciseReferenceType::PreciseReferenceType(ObjPtr<mirror::Class> klass, in PreciseReferenceType()
[all …]
H A Dreg_type.h321 RegType(ObjPtr<mirror::Class> klass, in RegType()
382 ConflictType(ObjPtr<mirror::Class> klass, in ConflictType()
460 IntegerType(ObjPtr<mirror::Class> klass, in IntegerType()
485 BooleanType(ObjPtr<mirror::Class> klass, in BooleanType()
511 ByteType(ObjPtr<mirror::Class> klass, in ByteType()
560 CharType(ObjPtr<mirror::Class> klass, in CharType()
585 FloatType(ObjPtr<mirror::Class> klass, in FloatType()
618 LongLoType(ObjPtr<mirror::Class> klass, in LongLoType()
643 LongHiType(ObjPtr<mirror::Class> klass, in LongHiType()
669 DoubleLoType(ObjPtr<mirror::Class> klass, in DoubleLoType()
[all …]
/aosp12/art/runtime/entrypoints/
H A Dentrypoint_utils-inl.h119 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 …]
/aosp12/art/openjdkjvmti/
H A Dti_field.cc132 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()
H A Dti_class_definition.cc118 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()
/aosp12/frameworks/base/core/java/android/hardware/camera2/utils/
H A DTypeReference.java101 public SpecializedTypeReference(Class<T> klass) { in SpecializedTypeReference()
126 public static <T> TypeReference<T> createSpecializedTypeReference(Class<T> klass) { in createSpecializedTypeReference()
195 Class<?> klass = getRawType(type); in getRawType() local
294 Class<?> klass = (Class<?>)type; in containsTypeVariable() local
381 Class<?> klass = (Class<?>)type; in toString() local
/aosp12/art/test/536-checker-needs-access-check/src/other/
H A DInaccessibleClassProxy.java25 Class<?> klass = InaccessibleClass.$noinline$getReferrersClass(); in testGetReferrersClass() local
32 Class<?> klass = InaccessibleClass.$noinline$getReferrersClassViaAnotherClass(); in testGetReferrersClassViaAnotherClass() local
/aosp12/art/test/918-fields/
H A Dfields.cc32 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()
/aosp12/art/test/912-classes/
H A Dclasses.cc40 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()
300 jclass klass) { in ClassLoadCallback()
322 jclass klass) { in ClassPrepareCallback()
453 jclass klass) { in ClassLoadCallback()
[all …]
/aosp12/art/test/common/
H A 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()
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()
/aosp12/art/test/ti-agent/
H A Dtrace_helper.cc106 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
307 jclass klass) { in classPrepareCB()
447 jclass klass; in Java_art_Trace_watchFieldModification() local
461 jclass klass; in Java_art_Trace_watchFieldAccess() local
472 jclass klass, in Java_art_Trace_enableTracing2()
[all …]

12345678910>>...13