Home
last modified time | relevance | path

Searched refs:isStatic (Results 1 – 12 of 12) 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.java140 for (boolean isStatic : booleanValues) { in runTest()
141 String suffix = (isStatic ? "Static" : "") + hiddenness.name(); in runTest()
147 checkField(klass, "field" + baseName, isStatic, visibility, expected, in runTest()
149 checkMethod(klass, "method" + baseName, isStatic, visibility, expected, in runTest()
222 private static void checkField(Class<?> klass, String name, boolean isStatic, in checkField() argument
229 if (klass.isInterface() && (!isStatic || !isPublic)) { in checkField()
254 if (JNI.canDiscoverField(klass, name, isStatic) != canDiscover) { in checkField()
321 if (!JNI.canGetField(klass, name, isStatic)) { in checkField()
324 if (!JNI.canSetField(klass, name, isStatic)) { in checkField()
333 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()