Home
last modified time | relevance | path

Searched refs:DexItem (Results 1 – 25 of 39) sorted by relevance

12

/external/r8/src/main/java/com/android/tools/r8/shaking/
DRootSetBuilder.java14 import com.android.tools.r8.graph.DexItem;
44 private final Map<DexItem, ProguardKeepRule> noShrinking = new IdentityHashMap<>();
45 private final Set<DexItem> noOptimization = Sets.newIdentityHashSet();
46 private final Set<DexItem> noObfuscation = Sets.newIdentityHashSet();
47 private final Set<DexItem> reasonAsked = Sets.newIdentityHashSet();
48 private final Set<DexItem> keepPackageName = Sets.newIdentityHashSet();
51 private final Set<DexItem> checkDiscarded = Sets.newIdentityHashSet();
52 private final Map<DexItem, Map<DexItem, ProguardKeepRule>> dependentNoShrinking =
54 private final Map<DexItem, ProguardMemberRule> noSideEffects = new IdentityHashMap<>();
55 private final Map<DexItem, ProguardMemberRule> assumedValues = new IdentityHashMap<>();
[all …]
DReasonPrinter.java10 import com.android.tools.r8.graph.DexItem;
22 private final Set<DexItem> itemsQueried;
27 private final Map<DexItem, KeepReason> reachablityReasons;
30 ReasonPrinter(Set<DexItem> itemsQueried, Map<DexEncodedField, KeepReason> liveFields, in ReasonPrinter()
31 Map<DexEncodedMethod, KeepReason> liveMethods, Map<DexItem, KeepReason> reachablityReasons, in ReasonPrinter() argument
58 private void printNoIdeaWhy(DexItem item, ReasonFormatter formatter) { in printNoIdeaWhy()
66 private void printOnlyAbstractShell(DexItem item, ReasonFormatter formatter) { in printOnlyAbstractShell()
137 private Set<DexItem> seen = Sets.newIdentityHashSet();
162 void startItem(DexItem item) { in startItem()
DDiscardedChecker.java8 import com.android.tools.r8.graph.DexItem;
16 private final Set<DexItem> checkDiscarded;
40 private void processSubItems(DexItem[] items) { in processSubItems()
44 private void report(DexItem item) { in report()
DKeepReason.java7 import com.android.tools.r8.graph.DexItem;
42 public static KeepReason referencedInAnnotation(DexItem holder) { in referencedInAnnotation()
165 private final DexItem holder;
167 private ReferencedInAnnotation(DexItem holder) { in ReferencedInAnnotation()
DEnqueuer.java18 import com.android.tools.r8.graph.DexItem;
137 private Set<DexItem> reportedMissing = Sets.newIdentityHashSet();
143 private Set<DexItem> pinnedItems = Sets.newIdentityHashSet();
155 private void enqueueRootItems(Map<DexItem, ProguardKeepRule> items) { in enqueueRootItems() argument
166 private <S extends DexItem, T extends Descriptor<S, T>> boolean registerItemWithTarget( in registerItemWithTarget()
694 public ReasonPrinter getReasonPrinter(Set<DexItem> queriedItems) { in getReasonPrinter()
700 Map<DexItem, KeepReason> reachability = new HashMap<>(); in getReasonPrinter()
911 final DexItem target;
912 final DexItem context;
915 private Action(Kind kind, DexItem target, DexItem context, KeepReason reason) { in Action()
[all …]
/external/r8/src/main/java/com/android/tools/r8/graph/
DDexItem.java10 public abstract class DexItem { class
12 static <T extends DexItem> void collectAll(IndexedItemCollection indexedItems, T[] items) { in collectAll()
16 public static <T extends DexItem> void collectAll(MixedSectionCollection mixedItems, T[] items) { in collectAll()
24 private static <T extends DexItem> void consumeArray(T[] items, Consumer<T> consumer) { in consumeArray()
DAppInfo.java183 private <S extends DexItem, T extends Descriptor<S, T>> S lookupTargetAlongSuperChain( in lookupTargetAlongSuperChain()
205 private <S extends DexItem, T extends Descriptor<S, T>> S lookupTargetAlongSuperAndInterfaceChain( in lookupTargetAlongSuperAndInterfaceChain()
232 private boolean isDefaultMethod(DexItem dexItem) { in isDefaultMethod()
238 private void checkIfMethodIsAmbiguous(DexItem previousResult, DexItem newResult) { in checkIfMethodIsAmbiguous()
255 private <S extends DexItem, T extends Descriptor<S, T>> S lookupTargetAlongInterfaceChain( in lookupTargetAlongInterfaceChain()
DDexMemberAnnotation.java9 public class DexMemberAnnotation<T extends Descriptor, S extends DexItem> extends DexItem {
DDexMethodHandle.java120 public Descriptor<? extends DexItem, ? extends Descriptor> fieldOrMethod;
123 MethodHandleType type, Descriptor<? extends DexItem, ? extends Descriptor> fieldOrMethod) { in DexMethodHandle() argument
DDescriptor.java6 public abstract class Descriptor<T extends DexItem, S extends Descriptor>
DKeyedDexItem.java6 public abstract class KeyedDexItem<T extends PresortedComparable<T>> extends DexItem {
DDexClass.java16 public abstract class DexClass extends DexItem {
134 private <T extends DexItem, S extends Descriptor<T, S>> T findTarget(T[] items, S descriptor) { in findTarget()
DCanonicalizedDexItem.java9 public abstract class CanonicalizedDexItem extends DexItem {
DDexEncodedArray.java10 public class DexEncodedArray extends DexItem {
DDexAnnotationElement.java9 public class DexAnnotationElement extends DexItem {
DDexAnnotationSetRefList.java10 public class DexAnnotationSetRefList extends DexItem {
DProgramClassVisitor.java30 private final Set<DexItem> visited = new HashSet<>();
DDexCode.java305 public static class Try extends DexItem {
368 public static class TryHandler extends DexItem {
427 public static class TypeAddrPair extends DexItem {
DDexEncodedAnnotation.java10 public class DexEncodedAnnotation extends DexItem {
DDexAnnotationSet.java10 public class DexAnnotationSet extends DexItem {
/external/r8/src/test/java/com/android/tools/r8/dex/
DDexItemFactoryTest.java10 import com.android.tools.r8.graph.DexItem;
39 DexItem type1 = factory.createType(string1); in commonItems()
40 DexItem type2 = factory.createType(string2); in commonItems()
41 DexItem expectedDexString = (DexString) data[i + 1]; in commonItems()
42 DexItem expectedDexType = (DexType) data[i + 2]; in commonItems()
/external/r8/src/main/java/com/android/tools/r8/naming/
DMinifier.java11 import com.android.tools.r8.graph.DexItem;
64 private final Map<DexItem, DexString> renaming = new IdentityHashMap<>();
/external/r8/src/main/java/com/android/tools/r8/ir/code/
DInvoke.java13 import com.android.tools.r8.graph.DexItem;
38 Type type, DexItem target, DexProto proto, Value result, List<Value> arguments) { in create()
/external/r8/src/main/java/com/android/tools/r8/dex/
DMixedSectionCollection.java13 import com.android.tools.r8.graph.DexItem;
DIndexedItemCollection.java8 import com.android.tools.r8.graph.DexItem;

12