/external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Analysis/ |
DexFileClassMap.java | 31 import org.jf.dexlib.ClassDefItem; 41 private final HashMap<String, ClassDefItem> definedClasses = new HashMap<String, ClassDefItem>(); 44 for (ClassDefItem classDefItem: dexFile.ClassDefsSection.getItems()) { 45 definedClasses.put(classDefItem.getClassType().getTypeDescriptor(), classDefItem); 49 public ClassDefItem getClassDefByName(String typeName) { 53 public ClassDefItem getClassDefByType(TypeIdItem typeIdItem) {
|
SyntheticAccessorResolver.java | 61 ClassDefItem classDefItem = classMap.getClassDefByType(methodIdItem.getContainingClass()); 62 if (classDefItem == null) { 66 ClassDataItem classDataItem = classDefItem.getClassData();
|
ClassPath.java | 222 for (ClassDefItem classDefItem: dexFile.ClassDefsSection.getItems()) { 224 UnresolvedClassInfo unresolvedClassInfo = new UnresolvedClassInfo(dexFilePath, classDefItem); 231 classDefItem.getClassType().getTypeDescriptor())); [all...] |
/external/smali/dexlib/src/main/java/org/jf/dexlib/ |
ClassDefItem.java | 42 public class ClassDefItem extends Item<ClassDefItem> { 53 * Creates a new uninitialized <code>ClassDefItem</code> 56 protected ClassDefItem(DexFile dexFile) { 61 * Creates a new <code>ClassDefItem</code> with the given values 76 private ClassDefItem(DexFile dexFile, TypeIdItem classType, int accessFlags, @Nullable TypeIdItem superType, 93 * Returns a <code>ClassDefItem</code> for the given values, and that has been interned into the given 107 * @return a <code>ClassDefItem</code> for the given values, and that has been interned into the given 110 public static ClassDefItem internClassDefItem(DexFile dexFile, TypeIdItem classType, int accessFlags, 122 ClassDefItem classDefItem = new ClassDefItem(dexFile, classType, accessFlags, superType, implementedInterfaces [all...] |
ItemFactory.java | 45 return new ClassDefItem(dexFile);
|
DexFile.java | 764 * The <code>IndexedSection</code> containing <code>ClassDefItem</code> items 766 public final IndexedSection<ClassDefItem> ClassDefsSection = 767 new IndexedSection<ClassDefItem>(this, ItemType.TYPE_CLASS_DEF_ITEM) { 774 int ret = ClassDefItem.placeClassDefItems(this, offset); 783 // Do nothing. Sorting is handled by ClassDefItem.ClassDefPlacer, during placement [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
ClassDefsSection.java | 36 * ClassDefItem} instances that define those classes 38 private final TreeMap<Type, ClassDefItem> classDefs; 41 private ArrayList<ClassDefItem> orderedDefs; 51 classDefs = new TreeMap<Type, ClassDefItem>(); 110 public void add(ClassDefItem clazz) { 135 orderedDefs = new ArrayList<ClassDefItem>(sz); 159 ClassDefItem c = classDefs.get(type);
|
DexFile.java | 141 public void add(ClassDefItem clazz) { 152 public ClassDefItem getClassOrNull(String name) { 155 return (ClassDefItem) classDefs.get(new CstType(type));
|
ClassDefItem.java | 44 public final class ClassDefItem extends IndexedItem { 90 public ClassDefItem(CstType thisClass, int accessFlags,
|
/dalvik/dx/src/com/android/dx/dex/file/ |
ClassDefsSection.java | 35 * ClassDefItem} instances that define those classes 37 private final TreeMap<Type, ClassDefItem> classDefs; 40 private ArrayList<ClassDefItem> orderedDefs; 50 classDefs = new TreeMap<Type, ClassDefItem>(); 109 public void add(ClassDefItem clazz) { 134 orderedDefs = new ArrayList<ClassDefItem>(sz); 158 ClassDefItem c = classDefs.get(type);
|
DexFile.java | 160 public void add(ClassDefItem clazz) { 171 public ClassDefItem getClassOrNull(String name) { 174 return (ClassDefItem) classDefs.get(new CstType(type));
|
ClassDefItem.java | 43 public final class ClassDefItem extends IndexedItem { 87 public ClassDefItem(CstType thisClass, int accessFlags,
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
ClassDefsSection.java | 36 * ClassDefItem} instances that define those classes 38 private final TreeMap<Type, ClassDefItem> classDefs; 41 private ArrayList<ClassDefItem> orderedDefs; 51 classDefs = new TreeMap<Type, ClassDefItem>(); 110 public void add(ClassDefItem clazz) { 135 orderedDefs = new ArrayList<ClassDefItem>(sz); 159 ClassDefItem c = classDefs.get(type);
|
DexFile.java | 162 public void add(ClassDefItem clazz) { 173 public ClassDefItem getClassOrNull(String name) { 176 return (ClassDefItem) classDefs.get(new CstType(type));
|
ClassDefItem.java | 44 public final class ClassDefItem extends IndexedItem { 88 public ClassDefItem(CstType thisClass, int accessFlags,
|
/cts/tools/dex-tools/src/dex/reader/ |
DexFileImpl.java | 19 import dex.reader.DexFileReader.ClassDefItem; 37 private ClassDefItem[] classDefItems; 44 MethodsIdItem[] methodIdItems, ClassDefItem[] classDefItems) {
|
DexFileReader.java | 65 private ClassDefItem[] classDefItems; 243 public static class ClassDefItem { 257 classDefItems = new ClassDefItem[nClassDefs]; 259 ClassDefItem item = null; 261 item = new ClassDefItem();
|
DexClassImpl.java | 28 import dex.reader.DexFileReader.ClassDefItem; 43 private final ClassDefItem classDefItem; 69 public DexClassImpl(DexBuffer buffer, ClassDefItem classDefItem, 73 this.classDefItem = classDefItem; 79 hasClassData = classDefItem.class_data_off != 0; 119 if (classDefItem.annotations_off != 0) { 120 buffer.setPosition(classDefItem.annotations_off) [all...] |
/external/smali/baksmali/src/main/java/org/jf/baksmali/ |
baksmali.java | 32 import org.jf.dexlib.ClassDefItem; 131 ArrayList<ClassDefItem> classDefItems = new ArrayList<ClassDefItem>(dexFile.ClassDefsSection.getItems()); 132 Collections.sort(classDefItems, new Comparator<ClassDefItem>() { 133 public int compare(ClassDefItem classDefItem1, ClassDefItem classDefItem2) { 140 for (ClassDefItem classDefItem: classDefItems) { 149 String classDescriptor = classDefItem.getClassType().getTypeDescriptor(); 161 ClassDefinition classDefinition = new ClassDefinition(classDefItem); [all...] |
/dalvik/dx/src/com/android/dx/dex/cf/ |
CfTranslator.java | 31 import com.android.dx.dex.file.ClassDefItem; 67 * classfiles into {@link ClassDefItem} instances. 82 * translates it into a {@link ClassDefItem}. 91 public static ClassDefItem translate(DirectClassFile cf, byte[] bytes, 113 private static ClassDefItem translate0(DirectClassFile cf, byte[] bytes, 125 ClassDefItem out = 126 new ClassDefItem(thisClass, classAccessFlags, 172 DirectClassFile cf, ClassDefItem out, FieldIdsSection fieldIdsSection) { 255 DexOptions dexOptions, ClassDefItem out, MethodIdsSection methodIds) {
|
/cts/tools/dex-tools/test/dex/reader/util/ |
JavaSourceToDexUtil.java | 35 import com.android.dx.dex.file.ClassDefItem; 78 ClassDefItem classDefItem = CfTranslator.translate(memoryByteCode.getName().replace('.', '/') +".class", memoryByteCode.getBytes(), cfOptions); 79 dexFile.add(classDefItem);
|
/external/dexmaker/src/main/java/com/google/dexmaker/ |
DexMaker.java | 24 import com.android.dx.dex.file.ClassDefItem; 417 ClassDefItem toClassDefItem() { 428 ClassDefItem out = new ClassDefItem(thisType, flags, supertype.constant,
|
/dalvik/tools/dexdeps/src/com/android/dexdeps/ |
DexData.java | 34 private ClassDefItem[] mClassDefs; 266 mClassDefs = new ClassDefItem[count]; 271 mClassDefs[i] = new ClassDefItem(); 599 static class ClassDefItem {
|
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/ |
ClassDefinition.java | 48 private ClassDefItem classDefItem; 56 public ClassDefinition(ClassDefItem classDefItem) { 57 this.classDefItem = classDefItem; 58 this.classDataItem = classDefItem.getClassData(); 123 writer.write(classDefItem.getClassType().getTypeDescriptor()); 128 for (AccessFlags accessFlag: AccessFlags.getAccessFlagsForClass(classDefItem.getAccessFlags())) { 135 TypeIdItem superClass = classDefItem.getSuperclass() [all...] |
/dalvik/dx/src/com/android/dx/command/dexer/ |
Main.java | 38 import com.android.dx.dex.file.ClassDefItem; 682 ClassDefItem clazz = [all...] |