/art/test/674-hiddenapi/src-ex/ |
D | JNI.java | 18 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
|
D | ChildClass.java | 133 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 …]
|
D | Reflection.java | 64 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/ |
D | EncodedMethod.java | 51 public boolean isStatic() { in isStatic() method in EncodedMethod
|
D | CodeItem.java | 41 public boolean isStatic; field in CodeItem.MethodMetaInfo
|
/art/tools/dexfuzz/src/dexfuzz/program/ |
D | MutatableCode.java | 79 public boolean isStatic; field in MutatableCode 357 if (isStatic) { in finishedUsingTemporaryVRegs()
|
D | Program.java | 327 codeItem.meta.isStatic = method.isStatic(); in associateMethod()
|
D | CodeTranslator.java | 61 mutatableCode.isStatic = codeItem.meta.isStatic; in codeItemToMutatableCode()
|
/art/test/088-monitor-verification/src/ |
D | Main.java | 257 } else if (!Modifier.isStatic(method.getModifiers())) { in runTest()
|
/art/test/800-smali/src/ |
D | Main.java | 235 if (Modifier.isStatic(method.getModifiers())) { in runTest()
|
/art/runtime/jni/ |
D | check_jni.cc | 1917 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()
|