/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/ |
D | ImmutableClassDef.java | 59 @Nonnull protected final ImmutableSortedSet<? extends ImmutableField> staticFields; field in ImmutableClassDef 85 …this.staticFields = ImmutableField.immutableSetOf(Iterables.filter(fields, FieldUtil.FIELD_IS_STAT… in ImmutableClassDef() 97 @Nullable Iterable<? extends Field> staticFields, in ImmutableClassDef() argument 107 this.staticFields = ImmutableField.immutableSetOf(staticFields); in ImmutableClassDef() 119 @Nullable ImmutableSortedSet<? extends ImmutableField> staticFields, in ImmutableClassDef() argument 129 this.staticFields = ImmutableUtils.nullToEmptySortedSet(staticFields); in ImmutableClassDef() 158 … @Override public ImmutableSet<? extends ImmutableField> getStaticFields() { return staticFields; } in getStaticFields() 170 return Iterators.concat(staticFields.iterator(), instanceFields.iterator()); in getFields() 174 return staticFields.size() + instanceFields.size(); in getFields()
|
/external/r8/src/main/java/com/android/tools/r8/graph/ |
D | DexProgramClass.java | 23 DexEncodedField[] staticFields, in DexProgramClass() argument 27 super(sourceFile, interfaces, accessFlags, superType, type, staticFields, in DexProgramClass() 50 collectAll(indexedItems, staticFields); in collectIndexedItems() 71 collectAll(collector, staticFields); in addDependencies() 104 int numberOfFields = staticFields().length + instanceFields().length; in hasMethodsOrFields() 113 || hasAnnotations(staticFields) in hasAnnotations() 121 && !hasAnnotations(staticFields) in hasInternalizableAnnotation()
|
D | DexClass.java | 27 public DexEncodedField[] staticFields; field in DexClass 35 DexType type, DexEncodedField[] staticFields, DexEncodedField[] instanceFields, in DexClass() argument 44 this.staticFields = staticFields; in DexClass() 98 public DexEncodedField[] staticFields() { in staticFields() method in DexClass 99 return MoreObjects.firstNonNull(staticFields, NO_FIELDS); in staticFields() 117 return findTarget(staticFields(), field); in findStaticTarget()
|
D | ClassKind.java | 17 DexEncodedField[] staticFields, DexEncodedField[] instanceFields, in create() argument 32 DexEncodedField[] staticFields, DexEncodedField[] instanceFields, in create() argument 35 annotations, staticFields, instanceFields, directMethods, virtualMethods); in create()
|
D | DexClasspathClass.java | 16 DexEncodedField[] staticFields, DexEncodedField[] instanceFields, in DexClasspathClass() argument 19 staticFields, instanceFields, directMethods, virtualMethods, annotations, origin); in DexClasspathClass()
|
D | DexLibraryClass.java | 16 DexEncodedField[] staticFields, DexEncodedField[] instanceFields, in DexLibraryClass() argument 19 staticFields, instanceFields, directMethods, virtualMethods, annotations, origin); in DexLibraryClass()
|
D | DexAnnotationDirectory.java | 38 assert isSorted(clazz.staticFields()); in DexAnnotationDirectory() 41 new OrderedMergingIterator<>(clazz.staticFields(), clazz.instanceFields()); in DexAnnotationDirectory()
|
D | ClassAndMemberPublicizer.java | 28 publicizeAllFields(clazz.staticFields()); in run()
|
D | JarClassFileReader.java | 113 private final List<DexEncodedField> staticFields = new ArrayList<>(); field in JarClassFileReader.CreateDexClassVisitor 260 staticFields.toArray(new DexEncodedField[staticFields.size()]), in visitEnd() 337 parent.staticFields.add(field); in visitEnd()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/ |
D | PoolClassDef.java | 47 @Nonnull final ImmutableSortedSet<Field> staticFields; field in PoolClassDef 60 staticFields = ImmutableSortedSet.copyOf(classDef.getStaticFields()); in PoolClassDef() 93 return staticFields; in getStaticFields() 104 ImmutableList.of(staticFields.iterator(), instanceFields.iterator()), in getFields() 109 return staticFields.size() + instanceFields.size(); in getFields()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/ |
D | BuilderClassDef.java | 53 @Nonnull final SortedSet<BuilderField> staticFields; field in BuilderClassDef 83 …this.staticFields = ImmutableSortedSet.copyOf(Iterables.filter(fields, FieldUtil.FIELD_IS_STATIC)); in BuilderClassDef() 94 @Nonnull @Override public SortedSet<BuilderField> getStaticFields() { return staticFields; } in getStaticFields() 108 ImmutableList.of(staticFields.iterator(), instanceFields.iterator()), in getFields() 113 return staticFields.size() + instanceFields.size(); in getFields()
|
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/ |
D | ClassDefinition.java | 109 Set<String> staticFields = writeStaticFields(writer); in writeTo() local 110 writeInstanceFields(writer, staticFields); in writeTo() 180 Iterable<? extends Field> staticFields; in writeStaticFields() local 182 staticFields = ((DexBackedClassDef)classDef).getStaticFields(false); in writeStaticFields() 184 staticFields = classDef.getStaticFields(); in writeStaticFields() 187 for (Field field: staticFields) { in writeStaticFields() 211 …private void writeInstanceFields(IndentingWriter writer, Set<String> staticFields) throws IOExcept… in writeInstanceFields() argument 236 } else if (staticFields.contains(fieldString)) { in writeInstanceFields()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/reflection/ |
D | ReflectionClassDef.java | 107 Iterator<java.lang.reflect.Field> staticFields = Iterators.filter( 115 return Iterators.transform(staticFields, 129 Iterator<java.lang.reflect.Field> staticFields = Iterators.filter( 137 return Iterators.transform(staticFields,
|
/external/r8/src/main/java/com/android/tools/r8/naming/ |
D | FieldNameMinifier.java | 54 reserveFieldNames(newState, holder.staticFields(), holder.isLibraryClass()); in reserveNamesInSubtypes() 76 renameFields(clazz.staticFields(), state); in renameFieldsInSubtypes()
|
D | MinifiedNameMapPrinter.java | 55 clazz.staticFields(), Comparator.comparing(DexEncodedField::toSourceString)), out); in write()
|
/external/r8/src/main/java/com/android/tools/r8/shaking/ |
D | SimpleClassMerger.java | 233 addAll(existingFields, target.staticFields(), FieldSignatureEquivalence.get()); in merge() 235 Iterators.forArray(source.staticFields()), in merge() 236 target.staticFields(), in merge() 264 target.staticFields = mergedStaticFields in merge() 273 source.staticFields = null; in merge() 433 clazz.staticFields = substituteTypesIn(clazz.staticFields); in fixupTypeReferences()
|
D | TreePruner.java | 84 clazz.staticFields = reachableFields(clazz.staticFields()); in getNewProgramClasses()
|
D | DiscardedChecker.java | 32 processSubItems(clazz.staticFields()); in run()
|
D | AnnotationRemover.java | 112 processFields(clazz.staticFields()); in run()
|
D | ReasonPrinter.java | 47 Arrays.stream(clazz.staticFields()).filter(itemsQueried::contains) in run()
|
D | RootSetBuilder.java | 258 markFields(clazz.staticFields(), memberKeepRules, rule, onlyIfClassKept); in markMatchingFields() 318 ruleSatisfiedByFields(rule, clazz.staticFields()) || in ruleSatisfied()
|
D | MainDexListBuilder.java | 156 for (DexEncodedField field : clazz.staticFields()) { in traceMainDexDirectDependencies()
|
/external/r8/src/main/java/com/android/tools/r8/ |
D | PrintClassList.java | 51 printFields(clazz.staticFields(), map); in main()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/ |
D | DexWriter.java | 470 Collection<? extends FieldKey> staticFields = classSection.getSortedStaticFields(key); 474 boolean classHasData = staticFields.size() > 0 || 491 offsetWriter.writeUleb128(staticFields.size()); 496 writeEncodedFields(offsetWriter, staticFields);
|
/external/r8/src/main/java/com/android/tools/r8/dex/ |
D | FileWriter.java | 258 sortEncodedFields(clazz.staticFields); in sortClassData() 640 dest.putUleb128(clazz.staticFields().length); in writeClassData() 644 writeEncodedFields(clazz.staticFields()); in writeClassData() 651 DexEncodedField[] fields = clazz.staticFields(); in addStaticFieldValues()
|