/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/ |
AndroidInterceptorsTest.java | 10 import org.robolectric.internal.bytecode.MethodRef; 17 new MethodRef("java.util.LinkedHashMap", "eldest"), 18 new MethodRef("java.lang.System", "loadLibrary"), 19 new MethodRef("android.os.StrictMode", "trackActivity"), 20 new MethodRef("android.os.StrictMode", "incrementExpectedActivityCount"), 21 new MethodRef("java.lang.AutoCloseable", "*"), 22 new MethodRef("android.util.LocaleUtil", "getLayoutDirectionFromLocale"), 23 new MethodRef("com.android.internal.policy.PolicyManager", "makeNewWindow"), 24 new MethodRef("com.android.internal.policy.PolicyManager", "*"), 25 new MethodRef("android.view.FallbackEventHandler", "*") [all...] |
/dalvik/tools/dexdeps/src/com/android/dexdeps/ |
ClassRef.java | 24 private ArrayList<MethodRef> mMethodRefs; 32 mMethodRefs = new ArrayList<MethodRef>(); 52 public void addMethod(MethodRef mref) { 59 public MethodRef[] getMethodArray() { 60 return mMethodRefs.toArray(new MethodRef[mMethodRefs.size()]);
|
MethodRef.java | 19 public class MethodRef { 26 public MethodRef(String declClass, String[] argTypes, String returnType,
|
Output.java | 134 MethodRef[] methods = classes[i].getMethodArray(); 137 MethodRef ref = methods[j]; 207 MethodRef[] methods = cref.getMethodArray(); 209 MethodRef mref = methods[i];
|
DexData.java | 415 MethodRef newMethodRef = new MethodRef(
|
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/ |
MethodRef.java | 6 public class MethodRef { 10 public MethodRef(Class<?> clazz, String methodName) { 14 public MethodRef(String className, String methodName) { 24 MethodRef methodRef = (MethodRef) o; 26 return className.equals(methodRef.className) && methodName.equals(methodRef.methodName); 37 return "MethodRef{" +
|
Interceptors.java | 11 private final Map<MethodRef, Interceptor> interceptors = new HashMap<>(); 19 for (MethodRef methodRef : interceptor.getMethodRefs()) { 20 this.interceptors.put(methodRef, interceptor); 25 public Collection<MethodRef> getAllMethodRefs() { 40 Interceptor mh = interceptors.get(new MethodRef(className, methodName)); 42 mh = interceptors.get(new MethodRef(className, "*"));
|
Interceptor.java | 10 private MethodRef[] methodRefs; 12 public Interceptor(MethodRef... methodRefs) { 16 public MethodRef[] getMethodRefs() {
|
InstrumentationConfiguration.java | 43 private final Set<MethodRef> interceptedMethods; 51 Collection<MethodRef> interceptedMethods, 131 public Set<MethodRef> methodsToIntercept() { 202 private final Collection<MethodRef> interceptedMethods = new HashSet<>(); 244 public Builder addInterceptedMethod(MethodRef methodReference) {
|
SandboxClassLoader.java | 68 private final Set<MethodRef> methodsToIntercept; 294 private Set<MethodRef> convertToSlashes(Set<MethodRef> methodRefs) { 295 HashSet<MethodRef> transformed = new HashSet<>(); 296 for (MethodRef methodRef : methodRefs) { 297 transformed.add(new MethodRef(internalize(methodRef.className), methodRef.methodName)); 354 return methodsToIntercept.contains(new MethodRef(targetMethod.owner, targetMethod.name) [all...] |
/art/compiler/linker/x86/ |
relative_patcher_x86_test.cc | 33 auto result = method_offset_map_.FindMethodOffset(MethodRef(method_idx)); 49 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches)); 55 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code))); 62 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(method1_patches)); 66 AddCompiledMethod(MethodRef(2u), kCallCode, ArrayRef<const LinkerPatch>(method2_patches)); 79 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(method1_expected_code))); 88 EXPECT_TRUE(CheckLinkedMethod(MethodRef(2u), ArrayRef<const uint8_t>(method2_expected_code))); 95 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches)); 98 auto result = method_offset_map_.FindMethodOffset(MethodRef(1)); 108 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code))) [all...] |
/art/compiler/linker/x86_64/ |
relative_patcher_x86_64_test.cc | 37 auto result = method_offset_map_.FindMethodOffset(MethodRef(method_idx)); 69 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches)); 75 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code))); 82 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(method1_patches)); 86 AddCompiledMethod(MethodRef(2u), kCallCode, ArrayRef<const LinkerPatch>(method2_patches)); 99 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(method1_expected_code))); 108 EXPECT_TRUE(CheckLinkedMethod(MethodRef(2u), ArrayRef<const uint8_t>(method2_expected_code))); 115 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches)); 118 auto result = method_offset_map_.FindMethodOffset(MethodRef(1u)); 128 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code))) [all...] |
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/ |
AndroidInterceptors.java | 17 import org.robolectric.internal.bytecode.MethodRef; 42 super(new MethodRef(LinkedHashMap.class, "eldest")); 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")); 201 super(new MethodRef(System.class.getName(), "logE")); 233 new MethodRef("java.lang.System", "loadLibrary"), 234 new MethodRef("android.os.StrictMode", "trackActivity") [all...] |
/art/compiler/linker/mips64/ |
relative_patcher_mips64_test.cc | 38 auto result = method_offset_map_.FindMethodOffset(MethodRef(method_idx)); 62 AddCompiledMethod(MethodRef(1u), kUnpatchedPcRelativeCode, ArrayRef<const LinkerPatch>(patches)); 65 auto result = method_offset_map_.FindMethodOffset(MethodRef(1u)); 76 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code)));
|
/art/compiler/linker/arm/ |
relative_patcher_thumb2_test.cc | 147 AddCompiledMethod(MethodRef(1u), method1_code, method1_patches); 160 AddCompiledMethod(MethodRef(2u), method2_code); 162 AddCompiledMethod(MethodRef(3u), method3_code, method3_patches); 169 auto result3 = method_offset_map_.FindMethodOffset(MethodRef(3)); 186 auto result = method_offset_map_.FindMethodOffset(MethodRef(method_idx)); 319 AddCompiledMethod(MethodRef(1u), kUnpatchedPcRelativeCode, ArrayRef<const LinkerPatch>(patches)); 345 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code))); 352 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches)); 358 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code))); 365 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(method1_patches)) [all...] |
/art/compiler/linker/arm64/ |
relative_patcher_arm64_test.cc | 114 AddCompiledMethod(MethodRef(1u), method1_code, method1_patches); 138 AddCompiledMethod(MethodRef(method_idx), ArrayRef<const uint8_t>(gap_code)); 146 AddCompiledMethod(MethodRef(method_idx), last_method_code, last_method_patches); 151 auto last_result = method_offset_map_.FindMethodOffset(MethodRef(method_idx)); 165 auto result = method_offset_map_.FindMethodOffset(MethodRef(method_idx)); 263 AddCompiledMethod(MethodRef(1u), 271 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code))); 288 AddCompiledMethod(MethodRef(1u), 295 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code))); 311 AddCompiledMethod(MethodRef(1u) [all...] |
/art/compiler/linker/mips/ |
relative_patcher_mips32r6_test.cc | 36 auto result = method_offset_map_.FindMethodOffset(MethodRef(method_idx)); 60 AddCompiledMethod(MethodRef(1u), kUnpatchedPcRelativeCode, ArrayRef<const LinkerPatch>(patches)); 63 auto result = method_offset_map_.FindMethodOffset(MethodRef(1u)); 74 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code)));
|
relative_patcher_mips_test.cc | 37 auto result = method_offset_map_.FindMethodOffset(MethodRef(method_idx)); 63 AddCompiledMethod(MethodRef(1u), kUnpatchedPcRelativeCode, ArrayRef<const LinkerPatch>(patches)); 66 auto result = method_offset_map_.FindMethodOffset(MethodRef(1u)); 79 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code)));
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/ |
AndroidConfigurer.java | 14 import org.robolectric.internal.bytecode.MethodRef; 43 for (MethodRef methodRef : interceptors.getAllMethodRefs()) { 44 builder.addInterceptedMethod(methodRef);
|
/cts/hostsidetests/api/src/com/android/cts/api/ |
DexAnalyzer.java | 153 // common parent class for MethodRef and FieldRef 200 public static class MethodRef extends MemberRef { 203 MethodRef(DexBackedMethodReference ref, String from) { 244 private final Map<String, MethodRef> methodReferences = new HashMap<>(); 356 .map(m -> new MethodRef((DexBackedMethodReference) m, file.pathInDevice)) 410 Function<DefinedClass, Collection<String>> getMembers = ref instanceof MethodRef 503 public Stream<MethodRef> collectUndefinedMethodReferences() {
|
/external/robolectric-shadows/sandbox/src/test/java/org/robolectric/ |
SandboxClassLoaderTest.java | 48 import org.robolectric.internal.bytecode.MethodRef; 472 .addInterceptedMethod(new MethodRef(AClassToForget.class, "forgettableMethod")) 484 .addInterceptedMethod(new MethodRef(AClassToForget.class, "forgettableStaticMethod")) 586 .addInterceptedMethod(new MethodRef(AClassToForget.class, "*")) 612 .addInterceptedMethod(new MethodRef(AClassToForget.class, "*")) 627 .addInterceptedMethod(new MethodRef(AClassThatCallsAMethodReturningAForgettableClass.class, "getAForgettableClass")) [all...] |
/art/compiler/linker/ |
relative_patcher_test.h | 72 MethodReference MethodRef(uint32_t method_idx) {
|
/prebuilts/misc/common/robolectric/3.4.2/lib/ |
sandbox-3.4.2.jar | |
/prebuilts/misc/common/robolectric/3.5.1/lib/ |
sandbox-3.5.1.jar | |
/prebuilts/misc/common/robolectric/3.6.1/lib/ |
sandbox-3.6.1.jar | |