HomeSort by relevance Sort by last modified time
    Searched refs:DexType (Results 1 - 25 of 135) sorted by null

1 2 3 4 5 6

  /external/r8/src/main/java/com/android/tools/r8/graph/
AppInfoWithSubtyping.java 18 private Set<DexType> missingClasses = Sets.newIdentityHashSet();
20 private final Hashtable<DexType, ImmutableSet<DexType>> subtypeMap = new Hashtable<>();
39 public Set<DexType> getMissingClasses() {
43 public ImmutableSet<DexType> subtypes(DexType type) {
45 ImmutableSet<DexType> subtypes = subtypeMap.get(type);
49 private void populateSuperType(Hashtable<DexType, Set<DexType>> map, DexType superType
    [all...]
GraphLense.java 30 private final Map<DexType, DexType> typeMap = new IdentityHashMap<>();
34 public void map(DexType from, DexType to) {
60 public abstract DexType lookupType(DexType type, DexEncodedMethod context);
79 public DexType lookupType(DexType type, DexEncodedMethod context) {
104 private final Map<DexType, DexType> typeMap
    [all...]
DexItemFactory.java 31 private final Map<DexType, DexType> types = new HashMap<>();
50 public static final DexType catchAllType = new DexType(new DexString("CATCH_ALL"));
103 private DexType charArrayType = createType(charArrayDescriptor);
106 public DexType booleanType = createType(booleanDescriptor);
107 public DexType byteType = createType(byteDescriptor);
108 public DexType charType = createType(charDescriptor);
109 public DexType doubleType = createType(doubleDescriptor);
110 public DexType floatType = createType(floatDescriptor)
    [all...]
Descriptor.java 11 public abstract DexType getHolder();
UseRegistry.java 22 public abstract boolean registerNewInstance(DexType type);
28 public abstract boolean registerTypeReference(DexType type);
DexType.java 20 public class DexType extends IndexedDexItem implements PresortedComparable<DexType> {
28 private final static Set<DexType> NO_DIRECT_SUBTYPE = ImmutableSet.of();
33 private Set<DexType> directSubtypes = NO_DIRECT_SUBTYPE;
35 DexType(DexString descriptor) {
45 if (other instanceof DexType) {
46 return descriptor.equals(((DexType) other).descriptor);
72 public void addDirectSubtype(DexType type) {
88 public void addInterfaceSubtype(DexType type) {
96 static void clearSubtypeInformation(DexType type)
    [all...]
JarApplicationReader.java 34 public DexType getType(Type type) {
38 public DexType getTypeFromName(String name) {
43 public DexType getTypeFromDescriptor(String desc) {
52 DexType[] types = new DexType[names.length];
63 DexType[] types = new DexType[descriptors.length];
74 public DexField getField(DexType owner, String name, String desc) {
82 public DexMethod getMethod(DexType owner, String name, String desc) {
  /external/r8/src/main/java/com/android/tools/r8/code/
FilledNewArrayRange.java 6 import com.android.tools.r8.graph.DexType;
20 public FilledNewArrayRange(int firstContentRegister, int size, DexType type) {
36 public DexType getType() {
37 return (DexType) BBBB;
CheckCast.java 6 import com.android.tools.r8.graph.DexType;
21 public CheckCast(int valueRegister, DexType type) {
42 public DexType getType() {
43 return (DexType) BBBB;
ConstClass.java 6 import com.android.tools.r8.graph.DexType;
21 public ConstClass(int dest, DexType type) {
42 public DexType getType() {
43 return (DexType) BBBB;
FilledNewArray.java 6 import com.android.tools.r8.graph.DexType;
20 public FilledNewArray(int size, DexType type, int v0, int v1, int v2, int v3, int v4) {
36 public DexType getType() {
37 return (DexType) BBBB;
InstanceOf.java 6 import com.android.tools.r8.graph.DexType;
21 public InstanceOf(int dest, int value, DexType type) {
42 public DexType getType() {
43 return (DexType) CCCC;
NewArray.java 6 import com.android.tools.r8.graph.DexType;
21 public NewArray(int dest, int size, DexType type) {
42 public DexType getType() {
43 return (DexType) CCCC;
NewInstance.java 6 import com.android.tools.r8.graph.DexType;
21 public NewInstance(int AA, DexType BBBB) {
42 public DexType getType() {
43 return (DexType) BBBB;
  /external/r8/src/test/java/com/android/tools/r8/shaking/
R8Shaking2LookupTest.java 14 import com.android.tools.r8.graph.DexType;
35 private void validateSubtype(DexType super_type, DexType sub_type) {
43 private void validateSubtypeSize(DexType type, int size) {
49 DexType object_type = dexItemFactory.createType("Ljava/lang/Object;");
51 DexType interface_type = dexItemFactory.createType("Lshaking2/Interface;");
52 DexType superInterface1_type = dexItemFactory.createType("Lshaking2/SuperInterface1;");
53 DexType superInterface2_type = dexItemFactory.createType("Lshaking2/SuperInterface2;");
55 DexType superclass_type = dexItemFactory.createType("Lshaking2/SuperClass;");
56 DexType subClass1_type = dexItemFactory.createType("Lshaking2/SubClass1;")
    [all...]
  /external/r8/src/main/java/com/android/tools/r8/naming/
FieldNameMinifier.java 11 import com.android.tools.r8.graph.DexType;
23 private final Map<DexType, NamingState<DexType>> states = new IdentityHashMap<>();
32 NamingState<DexType> rootState = NamingState.createRoot(appInfo.dexItemFactory, dictionary);
39 DexType.forAllInterfaces(appInfo.dexItemFactory,
43 DexType.forAllInterfaces(appInfo.dexItemFactory, this::renameFieldsInSubtypes);
47 private void reserveNamesInSubtypes(DexType type, NamingState<DexType> state) {
52 NamingState<DexType> newState = states.computeIfAbsent(type, t -> state.createChild());
58 private void reserveFieldNames(NamingState<DexType> state, DexEncodedField[] fields
    [all...]
NamingLens.java 9 import com.android.tools.r8.graph.DexType;
26 public abstract DexString lookupDescriptor(DexType type);
40 abstract void forAllRenamedTypes(Consumer<DexType> consumer);
58 public DexString lookupDescriptor(DexType type) {
73 void forAllRenamedTypes(Consumer<DexType> consumer) {
MethodNameMinifier.java 12 import com.android.tools.r8.graph.DexType;
89 private final Map<DexType, NamingState<DexProto>> states = new IdentityHashMap<>();
106 Map<DexType, DexType> frontierMap = new IdentityHashMap<>();
113 DexType.forAllInterfaces(appInfo.dexItemFactory, iface -> {
135 private void assignNamesToClassesMethods(DexType type, boolean doPrivates,
162 private Set<NamingState<DexProto>> getReachableStates(DexType type,
163 Map<DexType, DexType> frontierMap) {
164 Set<DexType> interfaces = Sets.newIdentityHashSet()
    [all...]
  /external/r8/src/main/java/com/android/tools/r8/ir/desugar/
SynthesizedLambdaSourceCode.java 9 import com.android.tools.r8.graph.DexType;
19 SynthesizedLambdaSourceCode(DexType receiver, LambdaClass lambda, DexMethod currentMethod) {
33 final DexType[] captures() {
43 final int enforceParameterType(int register, DexType paramType, DexType enforcedType) {
LambdaMainMethodSourceCode.java 13 import com.android.tools.r8.graph.DexType;
32 DexType[] captures, DexType[] enforcedParams, DexType enforcedReturnType,
33 List<DexType> implReceiverAndArgs, DexType implReturnType) {
34 List<DexType> capturesAndParams = new ArrayList<>();
56 private DexType getPrimitiveFromBoxed(DexType boxedPrimitive) {
86 private DexType getBoxedForPrimitiveType(DexType primitive)
    [all...]
  /external/r8/src/main/java/com/android/tools/r8/ir/code/
ConstClass.java 8 import com.android.tools.r8.graph.DexType;
14 private final DexType clazz;
16 public ConstClass(Value dest, DexType clazz) {
25 public DexType getValue() {
InstanceOf.java 10 import com.android.tools.r8.graph.DexType;
16 private final DexType type;
18 public InstanceOf(Value dest, Value value, DexType type) {
23 public DexType type() {
78 public Constraint inliningConstraint(AppInfo info, DexType holder) {
  /external/r8/src/main/java/com/android/tools/r8/shaking/
MainDexListBuilder.java 23 import com.android.tools.r8.graph.DexType;
40 private final Set<DexType> baseClasses;
42 private final Set<DexType> mainDexTypes = new HashSet<>();
47 private final Set<DexType> enumTypes;
48 private final Set<DexType> annotationTypes;
49 private final Map<DexType, Boolean> annotationTypeContainEnum;
56 public MainDexListBuilder(Set<DexType> baseClasses, DexApplication application) {
74 public Set<DexType> run() {
82 DexType dexType = clazz.type
    [all...]
  /external/r8/src/main/java/com/android/tools/r8/ir/synthetic/
ForwardMethodSourceCode.java 10 import com.android.tools.r8.graph.DexType;
21 private final DexType targetReceiver;
25 public ForwardMethodSourceCode(DexType receiver, DexProto proto,
26 DexType targetReceiver, DexMethod target, Invoke.Type invokeType) {
47 List<DexType> sourceParams = new ArrayList<>();
53 List<DexType> targetParams = new ArrayList<>();
61 DexType source = sourceParams.get(i);
62 DexType target = targetParams.get(i);
85 DexType[] accessorParams = proto.parameters.values;
  /external/r8/src/main/java/com/android/tools/r8/utils/
ClassProvider.java 13 import com.android.tools.r8.graph.DexType;
51 public abstract void collectClass(DexType type, Consumer<T> classConsumer);
58 public abstract Collection<DexType> collectTypes();
69 ImmutableListMultimap.Builder<DexType, T> builder = ImmutableListMultimap.builder();
96 public void collectClass(DexType type, Consumer<T> classConsumer) {
111 public Collection<DexType> collectTypes() {
112 List<DexType> types = new ArrayList<>();
126 private final Multimap<DexType, T> classes;
128 private PreloadedClassProvider(ClassKind classKind, Multimap<DexType, T> classes) {
134 public void collectClass(DexType type, Consumer<T> classConsumer)
    [all...]

Completed in 540 milliseconds

1 2 3 4 5 6