Home
last modified time | relevance | path

Searched refs:isStatic (Results 1 – 11 of 11) 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.java133 for (boolean isStatic : booleanValues) { in runTest()
134 String suffix = (isStatic ? "Static" : "") + hiddenness.name(); in runTest()
140 checkField(klass, "field" + baseName, isStatic, visibility, expected, in runTest()
142 checkMethod(klass, "method" + baseName, isStatic, visibility, expected, in runTest()
214 private static void checkField(Class<?> klass, String name, boolean isStatic, in checkField() argument
220 if (klass.isInterface() && (!isStatic || !isPublic)) { in checkField()
245 if (JNI.canDiscoverField(klass, name, isStatic) != canDiscover) { in checkField()
295 if (!JNI.canGetField(klass, name, isStatic)) { in checkField()
298 if (!JNI.canSetField(klass, name, isStatic)) { in checkField()
307 private static void checkMethod(Class<?> klass, String name, boolean isStatic, in checkMethod() argument
[all …]
DReflection.java64 f.getInt(Modifier.isStatic(f.getModifiers()) ? null : klass.newInstance()); in canGetField()
76 f.setInt(Modifier.isStatic(f.getModifiers()) ? null : klass.newInstance(), 42); in canSetField()
/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/800-smali/src/
DMain.java235 if (Modifier.isStatic(method.getModifiers())) { in runTest()
/art/runtime/jni/
Dcheck_jni.cc1917 static jobject ToReflectedMethod(JNIEnv* env, jclass cls, jmethodID mid, jboolean isStatic) { in ToReflectedMethod() argument
1921 JniValueType args[4] = {{.E = env}, {.c = cls}, {.m = mid}, {.I = isStatic}}; in ToReflectedMethod()
1924 result.L = baseEnv(env)->ToReflectedMethod(env, cls, mid, isStatic); in ToReflectedMethod()
1933 static jobject ToReflectedField(JNIEnv* env, jclass cls, jfieldID fid, jboolean isStatic) { in ToReflectedField() argument
1937 JniValueType args[4] = {{.E = env}, {.c = cls}, {.f = fid}, {.I = isStatic}}; in ToReflectedField()
1940 result.L = baseEnv(env)->ToReflectedField(env, cls, fid, isStatic); in ToReflectedField()