Home
last modified time | relevance | path

Searched refs:MethodRef (Results 1 – 9 of 9) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
DAndroidInterceptorsTest.java9 import org.robolectric.internal.bytecode.MethodRef;
16 new MethodRef("java.util.LinkedHashMap", "eldest"), in allMethodRefs()
17 new MethodRef("java.lang.System", "loadLibrary"), in allMethodRefs()
18 new MethodRef("android.os.StrictMode", "trackActivity"), in allMethodRefs()
19 new MethodRef("android.os.StrictMode", "incrementExpectedActivityCount"), in allMethodRefs()
20 new MethodRef("android.util.LocaleUtil", "getLayoutDirectionFromLocale"), in allMethodRefs()
21 new MethodRef("com.android.internal.policy.PolicyManager", "makeNewWindow"), in allMethodRefs()
22 new MethodRef("android.view.FallbackEventHandler", "*"), in allMethodRefs()
23 new MethodRef("android.view.IWindowSession", "*"), in allMethodRefs()
24 new MethodRef("java.lang.System", "nanoTime"), in allMethodRefs()
[all …]
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/
DAndroidInterceptors.java17 import org.robolectric.internal.bytecode.MethodRef;
42 super(new MethodRef(LinkedHashMap.class, "eldest")); in LinkedHashMapEldestInterceptor()
69 super(new MethodRef("com.android.internal.policy.PolicyManager", "makeNewWindow"));
105 … super(new MethodRef(System.class, "nanoTime"), new MethodRef(System.class, "currentTimeMillis"));
140 super(new MethodRef(System.class, "arraycopy"));
164 super(new MethodRef(Locale.class, "adjustLanguageCode"));
203 new MethodRef(System.class.getName(), "logE"),
204 new MethodRef(System.class.getName(), "logW"));
244 new MethodRef("java.lang.System", "loadLibrary"),
245 new MethodRef("android.os.StrictMode", "trackActivity"),
[all …]
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DMethodRef.java6 public class MethodRef { class
10 public MethodRef(Class<?> clazz, String methodName) { in MethodRef() method in MethodRef
14 public MethodRef(String className, String methodName) { in MethodRef() method in MethodRef
24 MethodRef methodRef = (MethodRef) o; in equals()
DInstrumentationConfiguration.java44 private final Set<MethodRef> interceptedMethods;
51 private final Set<MethodRef> methodsToIntercept;
55 Collection<MethodRef> interceptedMethods, in InstrumentationConfiguration()
138 public Set<MethodRef> methodsToIntercept() { in methodsToIntercept()
219 return methodsToIntercept.contains(new MethodRef(targetMethod.owner, targetMethod.name)) in shouldIntercept()
220 || methodsToIntercept.contains(new MethodRef(targetMethod.owner, "*")); in shouldIntercept()
223 private static Set<MethodRef> convertToSlashes(Set<MethodRef> methodRefs) { in convertToSlashes()
224 HashSet<MethodRef> transformed = new HashSet<>(); in convertToSlashes()
225 for (MethodRef methodRef : methodRefs) { in convertToSlashes()
226 transformed.add(new MethodRef(internalize(methodRef.className), methodRef.methodName)); in convertToSlashes()
[all …]
DInterceptors.java11 private final Map<MethodRef, Interceptor> interceptors = new HashMap<>();
19 for (MethodRef methodRef : interceptor.getMethodRefs()) { in Interceptors()
25 public Collection<MethodRef> getAllMethodRefs() { in getAllMethodRefs()
40 Interceptor mh = interceptors.get(new MethodRef(className, methodName)); in findInterceptor()
42 mh = interceptors.get(new MethodRef(className, "*")); in findInterceptor()
DInterceptor.java10 private MethodRef[] methodRefs;
12 public Interceptor(MethodRef... methodRefs) { in Interceptor()
16 public MethodRef[] getMethodRefs() { in getMethodRefs()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/
DAndroidConfigurer.java15 import org.robolectric.internal.bytecode.MethodRef;
45 for (MethodRef methodRef : interceptors.getAllMethodRefs()) { in configure()
/external/robolectric-shadows/sandbox/src/test/java/org/robolectric/
DSandboxClassLoaderTest.java47 import org.robolectric.internal.bytecode.MethodRef;
441 .addInterceptedMethod(new MethodRef(AClassToForget.class, "forgettableMethod")) in shouldInterceptFilteredMethodInvocations()
453 .addInterceptedMethod(new MethodRef(AClassToForget.class, "forgettableStaticMethod")) in shouldInterceptFilteredStaticMethodInvocations()
555 .addInterceptedMethod(new MethodRef(AClassToForget.class, "*")) in invokeInterceptedMethodOnAClassToForget()
581 .addInterceptedMethod(new MethodRef(AClassToForget.class, "*")) in shouldPassArgumentsFromInterceptedMethods()
596 ….addInterceptedMethod(new MethodRef(AClassThatCallsAMethodReturningAForgettableClass.class, "getAF… in shouldRemapClassesWhileInterceptingMethods()
/external/llvm-project/mlir/include/mlir/TableGen/
DOpClass.h359 using MethodRef = const std::unique_ptr<OpMethod> &; in forAllMethods() local
361 llvm::for_each(methods, [&](MethodRef ptr) { func(*ptr); }); in forAllMethods()