Home
last modified time | relevance | path

Searched refs:DexMethod (Results 1 – 25 of 94) sorted by relevance

1234

/external/r8/src/main/java/com/android/tools/r8/graph/
DGraphLense.java31 private final Map<DexMethod, DexMethod> methodMap = new IdentityHashMap<>();
38 public void map(DexMethod from, DexMethod to) { in map()
62 public abstract DexMethod lookupMethod(DexMethod method, DexEncodedMethod context); in lookupMethod()
84 public DexMethod lookupMethod(DexMethod method, DexEncodedMethod context) { in lookupMethod()
106 private final Map<DexMethod, DexMethod> methodMap;
109 private NestedGraphLense(Map<DexType, DexType> typeMap, Map<DexMethod, DexMethod> methodMap, in NestedGraphLense() argument
139 public DexMethod lookupMethod(DexMethod method, DexEncodedMethod context) { in lookupMethod()
140 DexMethod previous = previousLense.lookupMethod(method, context); in lookupMethod()
DDexItemFactory.java34 private final Map<DexMethod, DexMethod> methods = new HashMap<>();
164 public DexMethod compare;
174 public final DexMethod addSuppressed;
175 public final DexMethod getSuppressed;
187 public DexMethod getClass;
197 public DexMethod requireNonNull;
207 public DexMethod desiredAssertionStatus;
218 public DexMethod appendBoolean;
219 public DexMethod appendChar;
220 public DexMethod appendCharArray;
[all …]
DDexMethod.java10 public class DexMethod extends Descriptor<DexEncodedMethod, DexMethod> class
11 implements PresortedComparable<DexMethod> {
20 DexMethod(DexType holder, DexProto proto, DexString name) { in DexMethod() method in DexMethod
56 if (other instanceof DexMethod) { in computeEquals()
57 DexMethod o = (DexMethod) other; in computeEquals()
66 public int compareTo(DexMethod other) { in compareTo()
71 public int slowCompareTo(DexMethod other) { in slowCompareTo()
84 public int slowCompareTo(DexMethod other, NamingLens namingLens) { in slowCompareTo()
97 public int layeredCompareTo(DexMethod other, NamingLens namingLens) { in layeredCompareTo()
DUseRegistry.java8 public abstract boolean registerInvokeVirtual(DexMethod method); in registerInvokeVirtual()
10 public abstract boolean registerInvokeDirect(DexMethod method); in registerInvokeDirect()
12 public abstract boolean registerInvokeStatic(DexMethod method); in registerInvokeStatic()
14 public abstract boolean registerInvokeInterface(DexMethod method); in registerInvokeInterface()
16 public abstract boolean registerInvokeSuper(DexMethod method); in registerInvokeSuper()
DDexMemberAnnotation.java54 public static class DexMethodAnnotation extends DexMemberAnnotation<DexMethod, DexAnnotationSet> {
56 public DexMethodAnnotation(DexMethod item, DexAnnotationSet annotations) { in DexMethodAnnotation()
62 DexMemberAnnotation<DexMethod, DexAnnotationSetRefList> {
64 public DexParameterAnnotation(DexMethod item, DexAnnotationSetRefList annotations) { in DexParameterAnnotation()
/external/r8/src/main/java/com/android/tools/r8/optimize/
DInvokeSingleTargetExtractor.java7 import com.android.tools.r8.graph.DexMethod;
13 private DexMethod target;
18 private boolean setTarget(DexMethod target, InvokeKind kind) { in setTarget()
35 public DexMethod getTarget() { in getTarget()
44 public boolean registerInvokeVirtual(DexMethod method) { in registerInvokeVirtual()
49 public boolean registerInvokeDirect(DexMethod method) { in registerInvokeDirect()
54 public boolean registerInvokeStatic(DexMethod method) { in registerInvokeStatic()
59 public boolean registerInvokeInterface(DexMethod method) { in registerInvokeInterface()
64 public boolean registerInvokeSuper(DexMethod method) { in registerInvokeSuper()
DBridgeMethodAnalysis.java10 import com.android.tools.r8.graph.DexMethod;
22 private final Map<DexMethod, DexMethod> bridgeTargetToBridgeMap = new IdentityHashMap<>();
42 DexMethod target = targetExtractor.getTarget(); in identifyBridgeMethods()
82 private final Map<DexMethod, DexMethod> bridgeTargetToBridgeMap;
85 Map<DexMethod, DexMethod> bridgeTargetToBridgeMap) { in BridgeLense() argument
96 public DexMethod lookupMethod(DexMethod method, DexEncodedMethod context) { in lookupMethod()
97 DexMethod previous = previousLense.lookupMethod(method, context); in lookupMethod()
98 DexMethod target = bridgeTargetToBridgeMap.get(previous); in lookupMethod()
DMemberRebindingAnalysis.java11 import com.android.tools.r8.graph.DexMethod;
34 private DexMethod validTargetFor(DexMethod target, DexMethod original, in validTargetFor() argument
35 BiFunction<DexClass, DexMethod, DexEncodedMethod> lookup) { in validTargetFor()
100 private DexEncodedMethod virtualLookup(DexMethod method) { in virtualLookup()
104 private DexEncodedMethod superLookup(DexMethod method) { in superLookup()
108 private void computeMethodRebinding(Set<DexMethod> methods, in computeMethodRebinding() argument
109 Function<DexMethod, DexEncodedMethod> lookupTarget, in computeMethodRebinding() argument
110 BiFunction<DexClass, DexMethod, DexEncodedMethod> lookupTargetOnClass, in computeMethodRebinding()
112 for (DexMethod method : methods) { in computeMethodRebinding()
/external/r8/src/main/java/com/android/tools/r8/naming/
DMethodNameMinifier.java9 import com.android.tools.r8.graph.DexMethod;
102 public Map<DexMethod, DexString> computeRenaming(Timing timing) { in computeRenaming()
120 Map<DexMethod, DexString> renaming = new IdentityHashMap<>(); in computeRenaming()
136 Map<DexMethod, DexString> renaming) { in assignNamesToClassesMethods() argument
149 NamingState<DexProto> state, boolean doPrivates, Map<DexMethod, DexString> renaming) { in assignNamesToMethods() argument
154 DexMethod method = encodedMethod.method; in assignNamesToMethods()
183 Map<DexMethod, DexString> renaming, Timing timing) { in assignNamesToInterfaceMethods() argument
189 Map<Wrapper<DexMethod>, Set<NamingState<DexProto>>> globalStateMap = new HashMap<>(); in assignNamesToInterfaceMethods()
191 Map<Wrapper<DexMethod>, Set<DexMethod>> sourceMethodsMap = new HashMap<>(); in assignNamesToInterfaceMethods()
193 Map<Wrapper<DexMethod>, NamingState<DexProto>> originStates = new HashMap<>(); in assignNamesToInterfaceMethods()
[all …]
DNamingLens.java7 import com.android.tools.r8.graph.DexMethod;
28 public abstract DexString lookupName(DexMethod method); in lookupName()
49 public abstract boolean checkTargetCanBeTranslated(DexMethod item); in checkTargetCanBeTranslated()
63 public DexString lookupName(DexMethod method) { in lookupName()
77 public boolean checkTargetCanBeTranslated(DexMethod item) { in checkTargetCanBeTranslated()
/external/r8/src/main/java/com/android/tools/r8/utils/
DMethodSignatureEquivalence.java6 import com.android.tools.r8.graph.DexMethod;
14 public class MethodSignatureEquivalence extends Equivalence<DexMethod> {
26 protected boolean doEquivalent(DexMethod a, DexMethod b) { in doEquivalent()
31 protected int doHash(DexMethod method) { in doHash()
DMethodJavaSignatureEquivalence.java6 import com.android.tools.r8.graph.DexMethod;
15 public class MethodJavaSignatureEquivalence extends Equivalence<DexMethod> {
28 protected boolean doEquivalent(DexMethod a, DexMethod b) { in doEquivalent()
33 protected int doHash(DexMethod method) { in doHash()
/external/r8/src/main/java/com/android/tools/r8/shaking/
DAbstractMethodRemover.java9 import com.android.tools.r8.graph.DexMethod;
72 private static Equivalence<DexMethod> METHOD_EQUIVALENCE = MethodSignatureEquivalence.get();
75 private final Set<Wrapper<DexMethod>> items = new HashSet<>();
85 private boolean contains(Wrapper<DexMethod> item) { in contains()
90 boolean addMethod(DexMethod method) { in addMethod()
91 Wrapper<DexMethod> wrapped = METHOD_EQUIVALENCE.wrap(method); in addMethod()
DEnqueuer.java20 import com.android.tools.r8.graph.DexMethod;
69 private Map<DexType, Set<DexMethod>> virtualInvokes = Maps.newIdentityHashMap();
70 private Map<DexType, Set<DexMethod>> superInvokes = Maps.newIdentityHashMap();
71 private Map<DexType, Set<DexMethod>> directInvokes = Maps.newIdentityHashMap();
72 private Map<DexType, Set<DexMethod>> staticInvokes = Maps.newIdentityHashMap();
132 private Set<DexMethod> virtualTargetsMarkedAsReachable = Sets.newIdentityHashSet();
188 public boolean registerInvokeVirtual(DexMethod method) { in registerInvokeVirtual()
200 public boolean registerInvokeDirect(DexMethod method) { in registerInvokeDirect()
212 public boolean registerInvokeStatic(DexMethod method) { in registerInvokeStatic()
224 public boolean registerInvokeInterface(DexMethod method) { in registerInvokeInterface()
[all …]
/external/r8/src/main/java/com/android/tools/r8/ir/desugar/
DLambdaClass.java19 import com.android.tools.r8.graph.DexMethod;
55 final DexMethod constructor;
56 final DexMethod classConstructor;
143 DexMethod mainMethod = rewriter.factory in synthesizeVirtualMethods()
154 DexMethod bridgeMethod = rewriter.factory.createMethod(type, bridgeProto, descriptor.name); in synthesizeVirtualMethods()
260 DexMethod implMethod = implHandle.asMethod(); in createLambdaImplMethodTarget()
299 DexMethod implMethod = descriptor.implHandle.asMethod(); in createInstanceMethodTarget()
310 DexMethod accessorMethod = rewriter.factory.createMethod( in createInstanceMethodTarget()
328 DexMethod accessorMethod = rewriter.factory.createMethod(accessedFrom, in createStaticMethodTarget()
348 DexMethod implMethod = implHandle.asMethod(); in createConstructorTarget()
[all …]
DSynthesizedLambdaSourceCode.java8 import com.android.tools.r8.graph.DexMethod;
16 final DexMethod currentMethod;
19 SynthesizedLambdaSourceCode(DexType receiver, LambdaClass lambda, DexMethod currentMethod) { in SynthesizedLambdaSourceCode()
25 SynthesizedLambdaSourceCode(LambdaClass lambda, DexMethod currentMethod) { in SynthesizedLambdaSourceCode()
/external/r8/src/main/java/com/android/tools/r8/ir/code/
DInvokeMethod.java6 import com.android.tools.r8.graph.DexMethod;
13 private DexMethod method;
15 public InvokeMethod(DexMethod target, Value result, List<Value> arguments) { in InvokeMethod()
20 public DexMethod getInvokedMethod() { in getInvokedMethod()
/external/r8/src/main/java/com/android/tools/r8/code/
DInvokeSuperRange.java6 import com.android.tools.r8.graph.DexMethod;
22 public InvokeSuperRange(int firstArgumentRegister, int argumentCount, DexMethod method) { in InvokeSuperRange()
44 public DexMethod getMethod() { in getMethod()
45 return (DexMethod) BBBB; in getMethod()
DInvokeStaticRange.java6 import com.android.tools.r8.graph.DexMethod;
22 public InvokeStaticRange(int firstArgumentRegister, int argumentCount, DexMethod method) { in InvokeStaticRange()
44 public DexMethod getMethod() { in getMethod()
45 return (DexMethod) BBBB; in getMethod()
DInvokeDirectRange.java6 import com.android.tools.r8.graph.DexMethod;
22 public InvokeDirectRange(int firstArgumentRegister, int argumentCount, DexMethod method) { in InvokeDirectRange()
38 public DexMethod getMethod() { in getMethod()
39 return (DexMethod) BBBB; in getMethod()
DInvokeInterfaceRange.java6 import com.android.tools.r8.graph.DexMethod;
22 public InvokeInterfaceRange(int firstArgumentRegister, int argumentCount, DexMethod method) { in InvokeInterfaceRange()
44 public DexMethod getMethod() { in getMethod()
45 return (DexMethod) BBBB; in getMethod()
DInvokeVirtualRange.java6 import com.android.tools.r8.graph.DexMethod;
22 public InvokeVirtualRange(int firstArgumentRegister, int argumentCount, DexMethod method) { in InvokeVirtualRange()
44 public DexMethod getMethod() { in getMethod()
45 return (DexMethod) BBBB; in getMethod()
DInvokeStatic.java6 import com.android.tools.r8.graph.DexMethod;
22 public InvokeStatic(int A, DexMethod BBBB, int C, int D, int E, int F, int G) { in InvokeStatic()
44 public DexMethod getMethod() { in getMethod()
45 return (DexMethod) BBBB; in getMethod()
DInvokeVirtual.java6 import com.android.tools.r8.graph.DexMethod;
22 public InvokeVirtual(int A, DexMethod BBBB, int C, int D, int E, int F, int G) { in InvokeVirtual()
44 public DexMethod getMethod() { in getMethod()
45 return (DexMethod) BBBB; in getMethod()
DInvokePolymorphicRange.java6 import com.android.tools.r8.graph.DexMethod;
25 int firstArgumentRegister, int argumentCount, DexMethod method, DexProto proto) { in InvokePolymorphicRange()
41 public DexMethod getMethod() { in getMethod()
42 return (DexMethod) BBBB; in getMethod()

1234