Home
last modified time | relevance | path

Searched refs:encodedMethod (Results 1 – 15 of 15) sorted by relevance

/external/r8/src/main/java/com/android/tools/r8/shaking/
DEnqueuer.java384 DexEncodedMethod encodedMethod = appInfo.lookupStaticTarget(method); in handleInvokeOfStaticTarget() local
385 if (encodedMethod == null) { in handleInvokeOfStaticTarget()
389 markDirectStaticOrConstructorMethodAsLive(encodedMethod, reason); in handleInvokeOfStaticTarget()
393 DexEncodedMethod encodedMethod = appInfo.lookupDirectTarget(method); in handleInvokeOfDirectTarget() local
394 if (encodedMethod == null) { in handleInvokeOfDirectTarget()
398 markDirectStaticOrConstructorMethodAsLive(encodedMethod, reason); in handleInvokeOfDirectTarget()
419 private void markMethodAsTargeted(DexEncodedMethod encodedMethod, KeepReason reason) { in markMethodAsTargeted() argument
420 markTypeAsLive(encodedMethod.method.holder); in markMethodAsTargeted()
422 Log.verbose(getClass(), "Method `%s` is targeted.", encodedMethod.method); in markMethodAsTargeted()
424 targetedMethods.add(encodedMethod, reason); in markMethodAsTargeted()
[all …]
DRootSetBuilder.java272 DexEncodedMethod encodedMethod = (DexEncodedMethod) seed; in writeSeeds() local
273 DexMethod method = encodedMethod.method; in writeSeeds()
275 if (encodedMethod.accessFlags.isConstructor()) { in writeSeeds()
276 if (encodedMethod.accessFlags.isStatic()) { in writeSeeds()
DSimpleClassMerger.java473 DexEncodedMethod encodedMethod = methods[i]; in substituteTypesIn() local
474 DexMethod method = encodedMethod.method; in substituteTypesIn()
479 if (newMethod != encodedMethod.method) { in substituteTypesIn()
480 lense.map(encodedMethod.method, newMethod); in substituteTypesIn()
481 methods[i] = encodedMethod.toTypeSubstitutedMethod(newMethod); in substituteTypesIn()
/external/r8/src/main/java/com/android/tools/r8/optimize/
DDebugStripper.java111 private void processCode(DexEncodedMethod encodedMethod, MemberNaming naming, in processCode() argument
113 if (encodedMethod.getCode() == null) { in processCode()
116 DexCode code = encodedMethod.getCode().asDexCode(); in processCode()
117 DexString name = encodedMethod.method.name; in processCode()
137 processDebugInfo(encodedMethod, originalInfo, naming, startLine); in processCode()
/external/r8/src/main/java/com/android/tools/r8/ir/desugar/
DLambdaClass.java446 DexEncodedMethod encodedMethod = directMethods[i]; in ensureAccessibility() local
447 if (implMethod.match(encodedMethod)) { in ensureAccessibility()
451 callTarget, encodedMethod.accessFlags, encodedMethod.annotations, in ensureAccessibility()
452 encodedMethod.parameterAnnotations, encodedMethod.getCode()); in ensureAccessibility()
454 encodedMethod.accessFlags.setStatic(); in ensureAccessibility()
455 encodedMethod.accessFlags.unsetPrivate(); in ensureAccessibility()
457 encodedMethod.accessFlags.setPublic(); in ensureAccessibility()
DInterfaceMethodRewriter.java86 public void rewriteMethodReferences(DexEncodedMethod encodedMethod, IRCode code) { in rewriteMethodReferences() argument
87 if (forwardingMethods.contains(encodedMethod)) { in rewriteMethodReferences()
DLambdaRewriter.java131 public void desugarLambdas(DexEncodedMethod encodedMethod, IRCode code) { in desugarLambdas() argument
132 DexType currentType = encodedMethod.method.holder; in desugarLambdas()
/external/r8/src/main/java/com/android/tools/r8/graph/
DJarCode.java82 public IRCode buildIR(DexEncodedMethod encodedMethod, InternalOptions options) { in buildIR() argument
85 IRBuilder builder = new IRBuilder(encodedMethod, source, options); in buildIR()
89 public IRCode buildIR(DexEncodedMethod encodedMethod, ValueNumberGenerator generator, in buildIR() argument
93 IRBuilder builder = new IRBuilder(encodedMethod, source, generator, options); in buildIR()
DDexCode.java145 public IRCode buildIR(DexEncodedMethod encodedMethod, InternalOptions options) { in buildIR() argument
146 DexSourceCode source = new DexSourceCode(this, encodedMethod); in buildIR()
147 IRBuilder builder = new IRBuilder(encodedMethod, source, options); in buildIR()
152 DexEncodedMethod encodedMethod, in buildIR() argument
155 DexSourceCode source = new DexSourceCode(this, encodedMethod); in buildIR()
156 IRBuilder builder = new IRBuilder(encodedMethod, source, valueNumberGenerator, options); in buildIR()
DCode.java16 public abstract IRCode buildIR(DexEncodedMethod encodedMethod, InternalOptions options); in buildIR() argument
/external/r8/src/main/java/com/android/tools/r8/ir/synthetic/
DSynthesizedCode.java34 public final IRCode buildIR(DexEncodedMethod encodedMethod, InternalOptions options) { in buildIR() argument
35 return new IRBuilder(encodedMethod, sourceCode, options).build(); in buildIR()
/external/r8/src/main/java/com/android/tools/r8/naming/
DMethodNameMinifier.java150 for (DexEncodedMethod encodedMethod : methods) { in assignNamesToMethods()
151 if (encodedMethod.accessFlags.isPrivate() != doPrivates) { in assignNamesToMethods()
154 DexMethod method = encodedMethod.method; in assignNamesToMethods()
156 && !encodedMethod.accessFlags.isConstructor()) { in assignNamesToMethods()
DMinifiedNameMapPrinter.java88 for (DexEncodedMethod encodedMethod : methods) { in write()
89 DexMethod method = encodedMethod.method; in write()
/external/r8/src/main/java/com/android/tools/r8/
DPrintClassList.java58 for (DexEncodedMethod encodedMethod : methods) { in printMethods()
59 DexMethod method = encodedMethod.method; in printMethods()
/external/r8/src/main/java/com/android/tools/r8/ir/optimize/
DOutliner.java966 public IRCode buildIR(DexEncodedMethod encodedMethod, InternalOptions options) { in buildIR() argument
968 IRBuilder builder = new IRBuilder(encodedMethod, source, options); in buildIR()