Home
last modified time | relevance | path

Searched refs:isStatic (Results 1 – 14 of 14) sorted by relevance

/art/test/674-hiddenapi/src-ex/
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
DChildClass.java139 for (boolean isStatic : booleanValues) { in runTest()
140 String suffix = (isStatic ? "Static" : "") + hiddenness.name(); in runTest()
146 checkField(klass, "field" + baseName, isStatic, visibility, expected, in runTest()
148 checkMethod(klass, "method" + baseName, isStatic, visibility, expected, in runTest()
221 private static void checkField(Class<?> klass, String name, boolean isStatic, in checkField() argument
228 if (klass.isInterface() && (!isStatic || !isPublic)) { in checkField()
253 if (JNI.canDiscoverField(klass, name, isStatic) != canDiscover) { in checkField()
320 if (!JNI.canGetField(klass, name, isStatic)) { in checkField()
323 if (!JNI.canSetField(klass, name, isStatic)) { in checkField()
332 private static void checkMethod(Class<?> klass, String name, boolean isStatic, in checkMethod() argument
[all …]
DReflection.java65 f.getInt(Modifier.isStatic(f.getModifiers()) ? null : klass.newInstance()); in canGetField()
77 f.setInt(Modifier.isStatic(f.getModifiers()) ? null : klass.newInstance(), 42); in canSetField()
/art/test/1976-hello-structural-static-methods/src/art/
DTest1976.java119 if (!Modifier.isStatic(m.getModifiers())) { in getMethodHandles()
151 if (Modifier.isStatic(m.getModifiers())) { in doTest()
173 if (Modifier.isStatic(m.getModifiers())) { in doTest()
182 if (Modifier.isStatic(m.getModifiers())) { in doTest()
/art/tools/dexfuzz/src/dexfuzz/rawdex/
DEncodedMethod.java51 public boolean isStatic() { in isStatic() method in EncodedMethod
DCodeItem.java41 public boolean isStatic; field in CodeItem.MethodMetaInfo
/art/tools/dexfuzz/src/dexfuzz/program/
DMutatableCode.java79 public boolean isStatic; field in MutatableCode
357 if (isStatic) { in finishedUsingTemporaryVRegs()
DProgram.java327 codeItem.meta.isStatic = method.isStatic(); in associateMethod()
DCodeTranslator.java61 mutatableCode.isStatic = codeItem.meta.isStatic; in codeItemToMutatableCode()
/art/test/088-monitor-verification/src/
DMain.java257 } else if (!Modifier.isStatic(method.getModifiers())) { in runTest()
/art/test/1980-obsolete-object-cleared/src/
DMain.java150 if (Modifier.isPublic(m.getModifiers()) && !Modifier.isStatic(m.getModifiers())) { in main()
/art/test/800-smali/src/
DMain.java247 if (Modifier.isStatic(method.getModifiers())) { in runTest()
/art/runtime/jni/
Dcheck_jni.cc1967 static jobject ToReflectedMethod(JNIEnv* env, jclass cls, jmethodID mid, jboolean isStatic) { in ToReflectedMethod() argument
1971 JniValueType args[4] = {{.E = env}, {.c = cls}, {.m = mid}, {.I = isStatic}}; in ToReflectedMethod()
1974 result.L = baseEnv(env)->ToReflectedMethod(env, cls, mid, isStatic); in ToReflectedMethod()
1983 static jobject ToReflectedField(JNIEnv* env, jclass cls, jfieldID fid, jboolean isStatic) { in ToReflectedField() argument
1987 JniValueType args[4] = {{.E = env}, {.c = cls}, {.f = fid}, {.I = isStatic}}; in ToReflectedField()
1990 result.L = baseEnv(env)->ToReflectedField(env, cls, fid, isStatic); in ToReflectedField()
/art/build/boot/
Dboot-image-profile.txt2789 HSPLjava/lang/reflect/Modifier;->isStatic(I)Z