Home
last modified time | relevance | path

Searched refs:definitionFor (Results 1 – 25 of 31) sorted by relevance

12

/external/r8/src/main/java/com/android/tools/r8/optimize/
DMemberRebindingAnalysis.java36 DexClass clazz = appInfo.definitionFor(target.getHolder()); in validTargetFor()
52 DexClass clazz = appInfo.definitionFor(target.getHolder()); in validTargetFor()
68 DexClass clazz = appInfo.definitionFor(current); in firstLibraryClassForInterfaceTarget()
92 assert appInfo.definitionFor(top).isLibraryClass(); in firstLibraryClass()
93 DexClass searchClass = appInfo.definitionFor(bottom); in firstLibraryClass()
95 searchClass = appInfo.definitionFor(searchClass.superType); in firstLibraryClass()
118 DexClass originalClass = appInfo.definitionFor(method.holder); in computeMethodRebinding()
126 DexClass targetClass = appInfo.definitionFor(target.method.holder); in computeMethodRebinding()
160 DexClass superClass = appInfo.definitionFor(originalClass.superType); in findBridgeMethodHolder()
165 DexClass interfaceClass = appInfo.definitionFor(iface); in findBridgeMethodHolder()
[all …]
DVisibilityBridgeRemover.java62 DexClass clazz = appInfo.definitionFor(type); in removeUnneededVisibilityBridges()
/external/r8/src/main/java/com/android/tools/r8/graph/
DAppInfo.java43 DexClass clazz = app.definitionFor(type); in computeDefinitions()
68 public DexClass definitionFor(DexType type) { in definitionFor() method in AppInfo
69 return app.definitionFor(type); in definitionFor()
72 public DexEncodedMethod definitionFor(DexMethod method) { in definitionFor() method in AppInfo
76 public DexEncodedField definitionFor(DexField field) { in definitionFor() method in AppInfo
188 DexClass holder = definitionFor(type); in lookupTargetAlongSuperChain()
197 holder = definitionFor(holder.superType); in lookupTargetAlongSuperChain()
209 DexClass holder = definitionFor(type); in lookupTargetAlongSuperAndInterfaceChain()
259 DexClass holder = definitionFor(type); in lookupTargetAlongInterfaceChain()
327 DexClass clazz = definitionFor(type); in getSuperTypeClasses()
DAppInfoWithSubtyping.java104 DexClass root = definitionFor(method.holder); in lookupVirtualTargets()
124 DexClass clazz = definitionFor(type); in lookupVirtualTargets()
141 DexClass holder = definitionFor(method.holder); in lookupSingleVirtualTarget()
163 DexClass clazz = definitionFor(type); in lookupSingleVirtualTarget()
181 DexClass holder = definitionFor(desc.getHolder()); in holderIsAbstract()
191 DexClass clazz = definitionFor(type); in lookupInterfaceTargets()
205 DexClass holder = definitionFor(method.holder); in lookupSingleInterfaceTarget()
213 DexClass clazz = definitionFor(type); in lookupSingleInterfaceTarget()
DDexEncodedField.java72 DexClass clazz = appInfo.definitionFor(field.getHolder()); in valueAsConstInstruction()
DDexType.java127 DexClass candidateHolder = appInfo.definitionFor(candidate); in isInterfaceSubtypeOf()
143 DexClass holder = appInfo.definitionFor(self); in isSubtypeOfClass()
/external/r8/src/main/java/com/android/tools/r8/naming/
DMinifier.java111 DexClass holder = appInfo.definitionFor(item.holder); in checkTargetCanBeTranslated()
121 staticTarget != null ? appInfo.definitionFor(staticTarget.method.getHolder()) : null; in checkTargetCanBeTranslated()
123 directTarget != null ? appInfo.definitionFor(directTarget.method.getHolder()) : null; in checkTargetCanBeTranslated()
125 virtualTarget != null ? appInfo.definitionFor(virtualTarget.method.getHolder()) : null; in checkTargetCanBeTranslated()
DMethodNameMinifier.java137 DexClass holder = appInfo.definitionFor(type); in assignNamesToClassesMethods()
196 DexClass clazz = appInfo.definitionFor(iface); in assignNamesToInterfaceMethods()
224 DexClass clazz = appInfo.definitionFor(iface); in collectSuperInterfaces()
238 DexClass clazz = appInfo.definitionFor(iface); in collectSubInterfaces()
308 DexClass holder = appInfo.definitionFor(type); in reserveNamesInClasses()
324 DexClass holder = appInfo.definitionFor(type); in reserveNamesInInterfaces()
DFieldNameMinifier.java48 DexClass holder = appInfo.definitionFor(type); in reserveNamesInSubtypes()
69 DexClass clazz = appInfo.definitionFor(type); in renameFieldsInSubtypes()
DClassNameMinifier.java89 DexClass clazz = appInfo.definitionFor(type); in getOutClassForType()
144 DexClass outerClass = appInfo.definitionFor(outer); in getStateForOuterClass()
/external/r8/src/main/java/com/android/tools/r8/shaking/
DRootSetBuilder.java67 DexClass clazz = application.definitionFor(type); in anySuperTypeMatches()
86 DexClass ifaceClass = application.definitionFor(iface); in anyImplementedInterfaceMatches()
100 DexClass superClass = application.definitionFor(clazz.superType); in anyImplementedInterfaceMatches()
216 DexClass clazz = application.definitionFor(type); in run()
251 clazz = application.definitionFor(clazz.superType); in markMatchingVisibleMethods()
422 DexClass definition = appInfo.definitionFor(type); in includeDescriptor()
DEnqueuer.java277 DexClass clazz = appInfo.definitionFor(type); in registerNewInstance()
335 DexClass holder = appInfo.definitionFor(type); in markTypeAsLive()
464 DexClass clazz = appInfo.definitionFor(type); in transitionMethodsForInstantiatedClass()
490 DexClass clazz = appInfo.definitionFor(type); in transitionFieldsForInstantiatedClass()
601 DexClass holder = appInfo.definitionFor(method.holder); in markVirtualMethodAsReachable()
646 DexClass currentHolder = appInfo.definitionFor(current); in markVirtualMethodAsReachable()
791 DexClass holder = appInfo.definitionFor(target.method.holder); in markMethodAsKept()
810 if (appInfo.definitionFor(target.field.clazz) == null) { in markFieldAsKept()
834 DexClass holder = appInfo.definitionFor(method.method.holder); in processNewlyLiveMethod()
1229 DexClass holder = appInfo.definitionFor(field.clazz); in addField()
[all …]
DMainDexListBuilder.java103 DexClass clazz = appInfo.definitionFor(dexType); in isAnnotationWithEnum()
139 DexClass clazz = appInfo.definitionFor(dexType); in isProgramClass()
145 DexClass clazz = appInfo.definitionFor(type); in traceMainDexDirectDependencies()
DAbstractMethodRemover.java35 DexClass holder = appInfo.definitionFor(type); in processClass()
DSimpleClassMerger.java85 DexClass definition = appInfo.definitionFor(method.holder); in addProgramMethods()
111 DexClass clazz = appInfo.definitionFor(type); in isProgramClass()
141 DexClass targetClass = appInfo.definitionFor(clazz.type.getSingleSubtype()); in mergeClasses()
/external/r8/src/main/java/com/android/tools/r8/ir/optimize/
DInliningOracle.java57 || inliner.appInfo.definitionFor(candidate.method.getHolder()).isLibraryClass()) { in validateCandidate()
132 DexClass holder = inliner.appInfo.definitionFor(target.method.getHolder()); in computeForInvokeWithReceiver()
211 DexClass clazz = inliner.appInfo.definitionFor(targetHolder); in canInlineStaticInvoke()
DCodeRewriter.java396 DexClass enumClass = appInfo.definitionFor(ordinalMethod.holder); in removeSwitchMaps()
490 DexClass clazz = appInfo.definitionFor(field.getHolder()); in extractIndexMapFrom()
518 DexClass holder = appInfo.definitionFor(invoke.getInvokedMethod().holder); in extractIndexMapFrom()
528 if (!appInfo.definitionFor(enumField.getHolder()).accessFlags.isEnum()) { in extractIndexMapFrom()
551 DexClass clazz = appInfo.definitionFor(enumClass); in extractOrdinalsMapFor()
702 target = appInfo.definitionFor(invoke.getInvokedMethod()); in rewriteMoveResult()
707 DexEncodedMethod definition = appInfo.definitionFor(invokedMethod); in rewriteMoveResult()
1422 DexClass dexClass = appInfo.definitionFor(type);
/external/r8/src/main/java/com/android/tools/r8/ir/desugar/
DLambdaClass.java387 DexClass definitionFor(DexType type) { in definitionFor() method in LambdaClass.Target
388 return rewriter.converter.appInfo.app.definitionFor(type); in definitionFor()
421 DexClass implMethodHolder = definitionFor(descriptor.implHandle.asMethod().holder); in ensureAccessibility()
442 DexClass implMethodHolder = definitionFor(implMethod.holder); in ensureAccessibility()
DInterfaceMethodRewriter.java150 DexClass clazz = converter.appInfo.definitionFor(type); in findRequiredClass()
/external/r8/src/main/java/com/android/tools/r8/ir/conversion/
DLensCodeRewriter.java210 DexClass clazz = appInfo.definitionFor(actualTarget.holder); in rewriteDexMethodHandle()
234 DexClass newTargetClass = appInfo.definitionFor(actualTarget.holder); in getInvokeType()
238 DexClass originalTargetClass = appInfo.definitionFor(originalTarget.holder); in getInvokeType()
DCallGraph.java356 if (!appInfo.definitionFor(definitionHolder).isLibraryClass()) { in processInvoke()
370 appInfo.definitionFor(possibleTarget.method.getHolder()); in processInvoke()
DIRConverter.java187 DexEncodedMethod definition = appInfo.definitionFor(method); in markReturnsReceiver()
375 } while (application.definitionFor(result) != null); in computeOutlineClassType()
/external/r8/src/main/java/com/android/tools/r8/ir/code/
DInstanceOf.java79 DexClass targetClass = info.definitionFor(type()); in inliningConstraint()
DFieldInstruction.java49 DexClass fieldClass = info.definitionFor(fieldHolder); in inliningConstraint()
/external/r8/src/test/java/com/android/tools/r8/maindexlist/
DMainDexTracingTest.java165 DexClass clazz = result.appInfo.definitionFor(dexType); in isApplicationClass()

12