/external/r8/src/main/java/com/android/tools/r8/naming/ |
D | NamingState.java | 22 private final DexItemFactory itemFactory; field in NamingState 26 DexItemFactory itemFactory, List<String> dictionary) { in createRoot() argument 27 return new NamingState<>(null, itemFactory, dictionary); in createRoot() 30 private NamingState(NamingState<T> parent, DexItemFactory itemFactory, List<String> dictionary) { in NamingState() argument 32 this.itemFactory = itemFactory; in NamingState() 37 return new NamingState<>(this, itemFactory, dictionary); in createChild() 56 result = new InternalState(itemFactory, null, dictionary); in getOrCreateInternalStateFor() 112 protected final DexItemFactory itemFactory; field in NamingState.InternalState 119 private InternalState(DexItemFactory itemFactory, InternalState parentInternalState, in InternalState() argument 121 this.itemFactory = itemFactory; in InternalState() [all …]
|
/external/r8/src/main/java/com/android/tools/r8/graph/ |
D | JarApplicationReader.java | 27 return options.itemFactory; in getFactory() 31 return options.itemFactory.createString(string); in getString() 45 return options.itemFactory.createType(getString(desc)); in getTypeFromDescriptor() 75 return options.itemFactory.createField(owner, getTypeFromDescriptor(desc), getString(name)); in getField() 83 return options.itemFactory.createMethod(owner, getProto(desc), getString(name)); in getMethod() 88 return options.itemFactory.createCallSite( in getCallSite() 94 return options.itemFactory.createMethodHandle(type, fieldOrMethod); in getMethodHandle() 109 DexProto proto = options.itemFactory.createProto( in getProto()
|
D | DexEncodedMethod.java | 270 public DexEncodedMethod toMethodThatLogsError(DexItemFactory itemFactory) { in toMethodThatLogsError() argument 273 DexString message = itemFactory.createString( in toMethodThatLogsError() 276 DexString tag = itemFactory.createString("TOIGHTNESS"); in toMethodThatLogsError() 277 DexType[] args = {itemFactory.stringType, itemFactory.stringType}; in toMethodThatLogsError() 278 DexProto proto = itemFactory.createProto(itemFactory.intType, args); in toMethodThatLogsError() 279 DexMethod logMethod = itemFactory in toMethodThatLogsError() 280 .createMethod(itemFactory.createType("Landroid/util/Log;"), proto, in toMethodThatLogsError() 281 itemFactory.createString("e")); in toMethodThatLogsError() 282 DexType exceptionType = itemFactory.createType("Ljava/lang/RuntimeException;"); in toMethodThatLogsError() 283 DexMethod exceptionInitMethod = itemFactory in toMethodThatLogsError() [all …]
|
/external/r8/src/main/java/com/android/tools/r8/utils/ |
D | MainDexList.java | 25 public static Set<DexType> parse(Path path, DexItemFactory itemFactory) throws IOException { in parse() argument 27 return parse(closer.register(Files.newInputStream(path)), itemFactory); in parse() 31 public static Set<DexType> parse(InputStream input, DexItemFactory itemFactory) { in parse() argument 46 result.add(itemFactory.createType(descriptor)); in parse()
|
D | InternalOptions.java | 22 public final DexItemFactory itemFactory; field in InternalOptions 25 itemFactory = new DexItemFactory(); in InternalOptions() 30 itemFactory = factory; in InternalOptions()
|
D | ClassProvider.java | 114 types.add(reader.options.itemFactory.createType(descriptor)); in collectTypes()
|
/external/r8/src/main/java/com/android/tools/r8/dex/ |
D | ApplicationReader.java | 52 final DexItemFactory itemFactory; field in ApplicationReader 58 itemFactory = options.itemFactory; in ApplicationReader() 75 final DexApplication.Builder builder = new DexApplication.Builder(itemFactory, timing); in read() 153 builder.addToMainDexList(MainDexList.parse(input, itemFactory)); in readMainDexList() 188 fileReaders.add(new DexFileReader(file, classKind, itemFactory)); in readDexSources()
|
/external/r8/src/test/java/com/android/tools/r8/smali/ |
D | SmaliTestBase.java | 379 options.itemFactory.resetSortedIndices(); in buildApplication()
|
/external/r8/src/test/java/com/android/tools/r8/maindexlist/ |
D | MainDexListTests.java | 399 DexItemFactory factory = options.itemFactory; in generateApplication()
|
/external/r8/src/main/java/com/android/tools/r8/ |
D | R8.java | 71 options.itemFactory.resetSortedIndices(); in R8()
|
/external/r8/src/test/java/com/android/tools/r8/utils/ |
D | DexInspector.java | 121 dexItemFactory = options.itemFactory; in DexInspector()
|