/external/r8/src/main/java/com/android/tools/r8/shaking/ |
D | RootSetBuilder.java | 14 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 …]
|
D | ReasonPrinter.java | 10 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()
|
D | DiscardedChecker.java | 8 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()
|
D | KeepReason.java | 7 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()
|
D | Enqueuer.java | 18 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/ |
D | DexItem.java | 10 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()
|
D | AppInfo.java | 183 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()
|
D | DexMemberAnnotation.java | 9 public class DexMemberAnnotation<T extends Descriptor, S extends DexItem> extends DexItem {
|
D | DexMethodHandle.java | 120 public Descriptor<? extends DexItem, ? extends Descriptor> fieldOrMethod; 123 MethodHandleType type, Descriptor<? extends DexItem, ? extends Descriptor> fieldOrMethod) { in DexMethodHandle() argument
|
D | Descriptor.java | 6 public abstract class Descriptor<T extends DexItem, S extends Descriptor>
|
D | KeyedDexItem.java | 6 public abstract class KeyedDexItem<T extends PresortedComparable<T>> extends DexItem {
|
D | DexClass.java | 16 public abstract class DexClass extends DexItem { 134 private <T extends DexItem, S extends Descriptor<T, S>> T findTarget(T[] items, S descriptor) { in findTarget()
|
D | CanonicalizedDexItem.java | 9 public abstract class CanonicalizedDexItem extends DexItem {
|
D | DexEncodedArray.java | 10 public class DexEncodedArray extends DexItem {
|
D | DexAnnotationElement.java | 9 public class DexAnnotationElement extends DexItem {
|
D | DexAnnotationSetRefList.java | 10 public class DexAnnotationSetRefList extends DexItem {
|
D | ProgramClassVisitor.java | 30 private final Set<DexItem> visited = new HashSet<>();
|
D | DexCode.java | 305 public static class Try extends DexItem { 368 public static class TryHandler extends DexItem { 427 public static class TypeAddrPair extends DexItem {
|
D | DexEncodedAnnotation.java | 10 public class DexEncodedAnnotation extends DexItem {
|
D | DexAnnotationSet.java | 10 public class DexAnnotationSet extends DexItem {
|
/external/r8/src/test/java/com/android/tools/r8/dex/ |
D | DexItemFactoryTest.java | 10 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/ |
D | Minifier.java | 11 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/ |
D | Invoke.java | 13 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/ |
D | MixedSectionCollection.java | 13 import com.android.tools.r8.graph.DexItem;
|
D | IndexedItemCollection.java | 8 import com.android.tools.r8.graph.DexItem;
|